Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2023-08-30 13:46:07 -04:00
parent 4afb99b6d1
commit 56b71651c5
No known key found for this signature in database
GPG Key ID: B286E9F57A07424B
3 changed files with 9 additions and 5 deletions

View File

@ -29,7 +29,7 @@ index ff8d96dd23f2..97027ebbca2d 100644
+ </install-in-user-type>
</config>
diff --git a/services/core/java/com/android/server/ext/PackageManagerHooks.java b/services/core/java/com/android/server/ext/PackageManagerHooks.java
index 007b65349e55..890d5a37a53b 100644
index 007b65349e55..415a4d033e38 100644
--- a/services/core/java/com/android/server/ext/PackageManagerHooks.java
+++ b/services/core/java/com/android/server/ext/PackageManagerHooks.java
@@ -6,6 +6,7 @@ import android.annotation.UserIdInt;
@ -82,7 +82,7 @@ index 007b65349e55..890d5a37a53b 100644
+ // this is the same as android:enabled="false" in <application> AndroidManifest tag,
+ // it makes the package disabled by default on first boot, when there's no
+ // serialized package state
+ pkg.setEnabled(false);
+ pkg.setEnabled(SystemProperties.getBoolean(OPENEUICC_TOGGLE, false));
+ return;
default:
return;

View File

@ -48,7 +48,7 @@ index 604e8720e6..de90cec5bc 100644
<Preference
diff --git a/src/com/android/settings/security/OpenEuiccPreferenceController.java b/src/com/android/settings/security/OpenEuiccPreferenceController.java
new file mode 100644
index 0000000000..026d92b7d2
index 0000000000..9ecfa96bfd
--- /dev/null
+++ b/src/com/android/settings/security/OpenEuiccPreferenceController.java
@@ -0,0 +1,106 @@

View File

@ -299,8 +299,12 @@ echo "Deblobbing...";
fi;
fi;
#Google Camera
blobs=$blobs"|com.google.android.camera.*|PixelCameraServices.*.apk";
#Google Camera (app)
blobs=$blobs"|com.google.android.camera.experimental.*";
#Google Camera (system) Extensions
blobs=$blobs"|PixelCameraServices.*.apk";
blobs=$blobs"|com.google.android.camera.extensions.*";
#Google NFC
blobs=$blobs"|PixelNfc.apk";