commit | d49ae6d82a3bb454a29d09d403dfdd38691db05a | [log] [tgz] |
---|---|---|
author | Alexander Martinz <amartinz@shiftphones.com> | Mon Oct 17 16:45:55 2022 +0200 |
committer | Alexander Martinz <amartinz@shiftphones.com> | Tue Jul 23 17:29:52 2024 +0200 |
tree | 1ec9f5829c1adb20a15d23e82829aa78561374e1 | |
parent | a45c6600793779c772c74fde17015913bab2cf4a [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 ce155c6..f3c3610 100644 --- a/src/org/lineageos/lineageparts/lineagestats/Utilities.java +++ b/src/org/lineageos/lineageparts/lineagestats/Utilities.java
@@ -85,8 +85,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; } /**