Skip to content

Commit

Permalink
do not allow disabling GmsCompat app
Browse files Browse the repository at this point in the history
Apps will break if it's disabled, handling this case in code increases
complexity unnecessarily.
  • Loading branch information
muhomorr authored and thestinger committed Jun 2, 2022
1 parent 550842c commit 7036f71
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@ boolean handleDisableable() {
if (mHomePackages.contains(mAppEntry.info.packageName)
|| mAppEntry.info.packageName.equals("com.android.inputmethod.latin")
|| mAppEntry.info.packageName.equals("app.vanadium.webview")
|| mAppEntry.info.packageName.equals("app.grapheneos.gmscompat")
|| isSystemPackage(mActivity.getResources(), mPm, mPackageInfo)) {
// Disable button for core system applications.
mButtonsPref.setButton2Text(R.string.disable_text)
Expand Down

0 comments on commit 7036f71

Please sign in to comment.