DivestOS/Patches/CyanogenMod-13.0/android_frameworks_base/Remove_Analytics.patch
2016-12-21 19:30:02 -05:00

27 lines
1.1 KiB
Diff

From 367e1be44a79ed50b95c78f06ede4532294e96f6 Mon Sep 17 00:00:00 2001
From: Tad <tad@spotco.us>
Date: Wed, 24 Feb 2016 08:53:20 -0500
Subject: [PATCH] Remove analytics
Change-Id: Icbf1deb4fd0cd6696f3fa8e2edab2c30960b121b
---
.../src/com/android/providers/settings/DatabaseHelper.java | 2 --
1 file changed, 2 deletions(-)
diff --git a/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java b/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java
index 2b5c14f..0b094a0 100644
--- a/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java
+++ b/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java
@@ -1917,8 +1917,6 @@ class DatabaseHelper extends SQLiteOpenHelper {
}
if (upgradeVersion < 115) {
- moveSettingsToNewTable(db, TABLE_SYSTEM, TABLE_SECURE,
- new String[] { CMSettings.Secure.STATS_COLLECTION }, true);
if (mUserHandle == UserHandle.USER_OWNER) {
db.beginTransaction();
SQLiteStatement stmt = null;
--
2.7.1