(SHIFT) Adjust package name for SettingsProvider

Change-Id: Ia6c9b2224d4cf84785aeeea4781ba4baaa698718
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/packages/LineageSettingsProvider/Android.bp b/packages/LineageSettingsProvider/Android.bp
index bf95f07..199e769 100644
--- a/packages/LineageSettingsProvider/Android.bp
+++ b/packages/LineageSettingsProvider/Android.bp
@@ -32,14 +32,19 @@
     ],
 
     required: [
-        "privapp_whitelist_org.lineageos.lineagesettings",
+        "privapp_allowlist_eco.shift.settingsstorage",
+    ],
+
+    aaptflags: [
+        "--rename-manifest-package",
+        "eco.shift.settingsstorage",
     ],
 }
 
 prebuilt_etc {
-    name: "privapp_whitelist_org.lineageos.lineagesettings",
+    name: "privapp_allowlist_eco.shift.settingsstorage",
     sub_dir: "permissions",
-    src: "privapp_whitelist_org.lineageos.lineagesettings.xml",
+    src: "privapp_allowlist_eco.shift.settingsstorage.xml",
     filename_from_src: true,
     system_ext_specific: true,
 }
diff --git a/packages/LineageSettingsProvider/privapp_whitelist_org.lineageos.lineagesettings.xml b/packages/LineageSettingsProvider/privapp_allowlist_eco.shift.settingsstorage.xml
similarity index 73%
rename from packages/LineageSettingsProvider/privapp_whitelist_org.lineageos.lineagesettings.xml
rename to packages/LineageSettingsProvider/privapp_allowlist_eco.shift.settingsstorage.xml
index e994c15..9d5caf1 100644
--- a/packages/LineageSettingsProvider/privapp_whitelist_org.lineageos.lineagesettings.xml
+++ b/packages/LineageSettingsProvider/privapp_allowlist_eco.shift.settingsstorage.xml
@@ -15,11 +15,7 @@
      limitations under the License.
 -->
 <permissions>
-    <!-- Compatibility for upgrades from old package name -->
-    <privapp-permissions package="org.cyanogenmod.cmsettings">
-        <permission name="android.permission.MANAGE_USERS"/>
-    </privapp-permissions>
-    <privapp-permissions package="org.lineageos.lineagesettings">
+    <privapp-permissions package="eco.shift.settingsstorage">
         <permission name="android.permission.MANAGE_USERS"/>
     </privapp-permissions>
 </permissions>