File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/org/futo/inputmethod/latin/xlm Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 27
27
<uses-permission android : name =" android.permission.FOREGROUND_SERVICE" />
28
28
<uses-permission android : name =" android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
29
29
30
+ <uses-permission android : name =" android.permission.ACCESS_NETWORK_STATE" tools : node =" remove" />
31
+
30
32
<application android : label =" @string/english_ime_name"
31
33
android : icon =" @mipmap/ic_launcher"
32
34
android : roundIcon =" @mipmap/ic_launcher_round"
Original file line number Diff line number Diff line change @@ -298,8 +298,8 @@ public fun scheduleTrainingWorkerBackground(context: Context) {
298
298
val constraints = Constraints .Builder ()
299
299
.setRequiresBatteryNotLow(true )
300
300
.setRequiresCharging(true )
301
- .setRequiredNetworkType( NetworkType . UNMETERED ) // If device is on a metered network, the user may be travelling
302
- // .setRequiresDeviceIdle(true)
301
+ .setRequiresDeviceIdle( true )
302
+ // .setRequiredNetworkType(NetworkType.UNMETERED) // If device is on a metered network, the user may be travelling
303
303
.build()
304
304
305
305
val request = PeriodicWorkRequest .Builder (
You can’t perform that action at this time.
0 commit comments