doze: Fix not working sensors on mtk platform

Remove sensorsEnabled check as it breaks doze on mtk
This commit is contained in:
Dinolek 2017-12-31 01:12:10 +01:00 committed by Sebastian "Oyster" T
parent d09ba4bf0a
commit 15e730949e
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public final class Utils {
}
protected static void checkDozeService(Context context) {
if (isDozeEnabled(context) && sensorsEnabled(context)) {
if (isDozeEnabled(context)) {
startService(context);
} else {
stopService(context);