Created
May 15, 2020 16:39
-
-
Save StephenVinouze/6a3bd1a90b14cf4d4dfd9fed00ea86ce to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun Context.isDontKeepActivitiesEnabled(): Boolean = | |
Settings.Global.getInt(contentResolver, Settings.Global.ALWAYS_FINISH_ACTIVITIES, 0) == 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment