Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val constraints = Constraints.Builder()
- .setRequiresCharging(true)
- .setRequiresBatteryNotLow(true)
- .setRequiresStorageNotLow(true)
- .setRequiredNetworkType(NetworkType.CONNECTED)
- .setRequiresDeviceIdle(true)
- .build()
Add Comment
Please, Sign In to add comment