Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
gmscompat: hide preinstalled Google eUICC LPA package from Play Store
Browse files Browse the repository at this point in the history
Play Store is unable to update it due to the fs-verity requirement.
  • Loading branch information
muhomorr authored and thestinger committed Sep 18, 2023
1 parent df5b9be commit e5bb142
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
import com.android.internal.gmscompat.GmsHooks;
import com.android.internal.gmscompat.GmsInfo;
import com.android.internal.gmscompat.PlayStoreHooks;
import com.android.internal.util.GoogleEuicc;

import java.util.ArrayList;
import java.util.List;
Expand All @@ -59,6 +60,9 @@ public GmcPackageManager(Context context, IPackageManager pm) {
public static void init(Context ctx) {
initPseudoDisabledPackages();
initForceDisabledComponents(ctx);
if (GmsCompat.isPlayStore()) {
HIDDEN_PACKAGES.add(GoogleEuicc.LPA_PKG_NAME);
}
}

public static void maybeAdjustPackageInfo(PackageInfo pi) {
Expand Down

0 comments on commit e5bb142

Please sign in to comment.