commit | 8ee685c8b223d4a0bb56311b51734423cde00f7b | [log] [tgz] |
---|---|---|
author | Alexander Martinz <amartinz@shiftphones.com> | Mon Oct 17 16:45:55 2022 +0200 |
committer | Alexander Martinz <amartinz@shiftphones.com> | Mon Oct 17 16:45:55 2022 +0200 |
tree | 61f0d6e8276443cd9d7d9afdb582b7433d1ce05f | |
parent | 169361114b47db9f9569056816cc6db7ad7d7194 [diff] |
(SHIFT) lineagestats: disable stats collection Change-Id: I262406fcddbe4e45fa565e9a8620493bdae92f79 Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/src/org/lineageos/lineageparts/lineagestats/Utilities.java b/src/org/lineageos/lineageparts/lineagestats/Utilities.java index 9757367..6a10a64 100644 --- a/src/org/lineageos/lineageparts/lineagestats/Utilities.java +++ b/src/org/lineageos/lineageparts/lineagestats/Utilities.java
@@ -96,8 +96,7 @@ * @return Whether or not stats collection is enabled. */ public static boolean isStatsCollectionEnabled(Context context) { - return LineageSettings.Secure.getInt(context.getContentResolver(), - LineageSettings.Secure.STATS_COLLECTION, 1) != 0; + return false; } /**