commit | 61b74eddc9d5dc5542ca5a0752cf95d4e4e5e5a8 | [log] [tgz] |
---|---|---|
author | Alexander Martinz <amartinz@shiftphones.com> | Mon Oct 17 16:45:55 2022 +0200 |
committer | Alexander Martinz <alex@amartinz.at> | Mon Nov 18 08:35:55 2024 +0100 |
tree | 5e911e7f0c375c874e1365bbd23ea6a67950cc9c | |
parent | f68493651ad1e9af448410fd0ef661ec0448069e [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; } /**