SetupWizard GMS patch no longer needed

This commit is contained in:
Tad 2017-02-24 20:19:41 -05:00
parent 9d843a231d
commit 3fd7449523
2 changed files with 0 additions and 38 deletions

View File

@ -1,35 +0,0 @@
From bc2634952ca1c7b1d422941ac5738e91ca64b79c Mon Sep 17 00:00:00 2001
From: Tad <tad@spotco.us>
Date: Wed, 15 Feb 2017 20:49:06 -0500
Subject: [PATCH] Fucking no
Change-Id: I44ba18bf4efabfcc1807df89098ee4f2cee72d02
---
src/com/cyanogenmod/setupwizard/util/SetupWizardUtils.java | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/src/com/cyanogenmod/setupwizard/util/SetupWizardUtils.java b/src/com/cyanogenmod/setupwizard/util/SetupWizardUtils.java
index 5571630..f1fb6a9 100644
--- a/src/com/cyanogenmod/setupwizard/util/SetupWizardUtils.java
+++ b/src/com/cyanogenmod/setupwizard/util/SetupWizardUtils.java
@@ -166,17 +166,6 @@ public class SetupWizardUtils {
}
public static boolean hasGMS(Context context) {
- if (PackageManagerUtils
- .isAppInstalled(context, "com.google.android.gms")) {
- PackageManager packageManager = context.getPackageManager();
- if (LOGV) {
- Log.v(TAG, "com.google.android.setupwizard state =" + packageManager
- .getApplicationEnabledSetting("com.google.android.setupwizard"));
- }
- return packageManager
- .getApplicationEnabledSetting("com.google.android.setupwizard") !=
- COMPONENT_ENABLED_STATE_DISABLED;
- }
return false;
}
--
2.9.3

View File

@ -93,9 +93,6 @@ enter "packages/apps/CMParts"
rm -rf src/org/cyanogenmod/cmparts/cmstats/ res/xml/anonymous_stats.xml res/xml/preview_data.xml #Nuke part of CMStats rm -rf src/org/cyanogenmod/cmparts/cmstats/ res/xml/anonymous_stats.xml res/xml/preview_data.xml #Nuke part of CMStats
patch -p1 < $patches"android_packages_apps_CMParts/0001-Remove_Analytics.patch" #Remove the rest of CMStats patch -p1 < $patches"android_packages_apps_CMParts/0001-Remove_Analytics.patch" #Remove the rest of CMStats
enter "packages/apps/SetupWizard"
patch -p1 < $patches"android_packages_apps_SetupWizard/0001-No_GMS.patch" #Disable GMS pages
enter "frameworks/base" enter "frameworks/base"
git revert 2aaa0472da8d254da1f07aa65a664012b52410f4 #re-enable doze on devices without gms git revert 2aaa0472da8d254da1f07aa65a664012b52410f4 #re-enable doze on devices without gms
patch -p1 < $patches"android_frameworks_base/0003-Signature_Spoofing.patch" #Allow packages to spoof their signature (MicroG) patch -p1 < $patches"android_frameworks_base/0003-Signature_Spoofing.patch" #Allow packages to spoof their signature (MicroG)