mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-24 06:59:27 -05:00
Remove SetupWizard
This commit is contained in:
parent
d62784e648
commit
e27470ebb8
@ -13,6 +13,7 @@
|
||||
<remove-project name="LineageOS/android_external_ant-wireless_ant_service" />
|
||||
<remove-project name="LineageOS/android_external_gello_build" />
|
||||
<remove-project name="LineageOS/android_external_unrar" />
|
||||
<remove-project name="LineageOS/android_frameworks_opt_setupwizard" />
|
||||
<remove-project name="LineageOS/android_hardware_intel_common_libmix" />
|
||||
<remove-project name="LineageOS/android_hardware_intel_common_libva" />
|
||||
<remove-project name="LineageOS/android_hardware_intel_common_libwsbm" />
|
||||
|
39
Patches/LineageOS-14.1/cm_platform_sdk/0001-Provision.patch
Normal file
39
Patches/LineageOS-14.1/cm_platform_sdk/0001-Provision.patch
Normal file
@ -0,0 +1,39 @@
|
||||
From dc758da1d79c1717610564e6cb9258a2dc4a755f Mon Sep 17 00:00:00 2001
|
||||
From: Tad <tad@spotco.us>
|
||||
Date: Wed, 25 Jan 2017 04:09:31 -0500
|
||||
Subject: [PATCH] Provision
|
||||
|
||||
Change-Id: I67ffa548835499c063cc9e6349b06ddcc3e48494
|
||||
---
|
||||
.../src/org/cyanogenmod/cmsettings/CMDatabaseHelper.java | 8 ++------
|
||||
1 file changed, 2 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMDatabaseHelper.java b/packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMDatabaseHelper.java
|
||||
index 9b46847..606d2b9 100644
|
||||
--- a/packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMDatabaseHelper.java
|
||||
+++ b/packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMDatabaseHelper.java
|
||||
@@ -193,9 +193,7 @@ public class CMDatabaseHelper extends SQLiteOpenHelper{
|
||||
try {
|
||||
stmt = db.compileStatement("INSERT INTO secure(name,value)"
|
||||
+ " VALUES(?,?);");
|
||||
- final String provisionedFlag = Settings.Global.getString(
|
||||
- mContext.getContentResolver(), Settings.Global.DEVICE_PROVISIONED);
|
||||
- loadSetting(stmt, CMSettings.Secure.CM_SETUP_WIZARD_COMPLETED, provisionedFlag);
|
||||
+ loadSetting(stmt, CMSettings.Secure.CM_SETUP_WIZARD_COMPLETED, "1");
|
||||
db.setTransactionSuccessful();
|
||||
} finally {
|
||||
if (stmt != null) stmt.close();
|
||||
@@ -378,9 +376,7 @@ public class CMDatabaseHelper extends SQLiteOpenHelper{
|
||||
CMSettings.Secure.ENABLED_EVENT_LIVE_LOCKS_KEY,
|
||||
R.string.def_enabled_event_lls_components);
|
||||
|
||||
- final String provisionedFlag = Settings.Global.getString(mContext.getContentResolver(),
|
||||
- Settings.Global.DEVICE_PROVISIONED);
|
||||
- loadSetting(stmt, CMSettings.Secure.CM_SETUP_WIZARD_COMPLETED, provisionedFlag);
|
||||
+ loadSetting(stmt, CMSettings.Secure.CM_SETUP_WIZARD_COMPLETED, "1");
|
||||
} finally {
|
||||
if (stmt != null) stmt.close();
|
||||
}
|
||||
--
|
||||
2.9.3
|
||||
|
@ -95,6 +95,7 @@ patch -p1 < $patches"android_packages_apps_FDroidPrivilegedExtension/0003-Test_K
|
||||
|
||||
enter "vendor/cmsdk"
|
||||
git fetch https://review.lineageos.org/LineageOS/cm_platform_sdk refs/changes/21/148321/4 && git cherry-pick FETCH_HEAD #Network Traffic
|
||||
patch -p1 < $patches"cm_platform_sdk/0001-Provision.patch"
|
||||
|
||||
enter "vendor/cm"
|
||||
git fetch https://review.lineageos.org/LineageOS/android_vendor_cm refs/changes/01/156601/8 && git cherry-pick FETCH_HEAD #CustomTiles
|
||||
|
Loading…
Reference in New Issue
Block a user