File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
play-services-base/core/src/main/java/org/microg/gms/common Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -36,14 +36,12 @@ public static Intent getDkmaIntent(String slug) {
3636 return new Intent (Intent .ACTION_VIEW , Uri .parse (url ));
3737 }
3838
39- /// Temporary fix: [#112](https://github.com/MorpheApp/MicroG-RE/issues/112)
40-
4139 public static boolean isXiaomi () {
4240 return Build .MANUFACTURER .toLowerCase (Locale .ROOT ).contains ("xiaomi" );
4341 }
4442
45- @ android .annotation .SuppressLint ("BatteryLife" )
4643 public static Intent getBatteryOptimizationIntent (Context context ) {
44+ // Temporary fix issues: https://github.com/MorpheApp/MicroG-RE/issues/112
4745 if (isXiaomi ()) {
4846 return new Intent (Settings .ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS );
4947 } else {
You can’t perform that action at this time.
0 commit comments