fix: Request IGNORE_BATTERY_OPTIMIZATIONS on boot

This commit is contained in:
Alberto Ponces 2022-09-15 00:57:54 +01:00
parent 34e67d396f
commit a82b0cd74d

View File

@ -25,6 +25,7 @@ class NavigationViewModel extends IndexTrackingViewModel {
}
RootAPI().hasRootPermissions();
Permission.requestInstallPackages.request();
Permission.ignoreBatteryOptimizations.request();
}
Widget getViewForIndex(int index) {