[Android Apps and Games] Flyview:
HUGE UPDATE!

Please try out the beta on Google Play Beta channel or through XDA Labs. Please report any errors on your phone and post about any issues here!

5.2.0 - Beta 1

-New lockout option to lock only in specific locations

-Allow entry into app during lockouts

-Ability to start multiple one-time lockouts

-Reset averages on Mondays

-Fixed rotating during purchase not ending lockout [It was consuming the purchase the next time it opened without ending the lockout. Now it doesn’t even need to open again]

-Fixed apps rarely getting stuck detected on Android Q

-Fixed scheduled lockouts master switch preventing changes without [prevent changes] setting selected

-Fixed scheduled lockouts master switch cancelling scheduled one-time lockout

-Fixed silent mode not being set when DND on

[-Added confirmation dialog to delete a lockout]

[-Fixed lockout names possibly overlapping icons]

[-Fixed changing usage rule type, num times apps launched, or num times device unlocked not counting as daily change]

[-Fixed usage reminder messaging when enforced 24h]

[-Fixed numUnlocks usage rules resetting at midnight when enforced 24h]

[-Also prevent changes to DND and silent ringer]

[-Don’t show blocked apps icon if list empty]

[-Fixed silent mode icon in status bar not showing when setting silent mode on Q+]

[-Fixed silent mode icon not showing on Android M]

[-Added info buttons to mode/lockout in one-time lockout section]

[-Fixed centering of one-time lockout mode/options layout]

[-Linked usage lockout started notifications to usage statistics]

[-Hide time of day for all day scheduled lockouts too]

[-Save expanded states for Mode/Options in onSaveInstanceState]

[-Don’t require notification policy access until Q for silent ringer]

[-Use startActivityForResult when requesting DND access so checkbox doesn’t have to be clicked again]

[-Stop starting service from LOA onStop and instead restrictAccess from setLOAShowing to make it more efficient]

[-Decreased DELAY_CHECK_LOA showing from 2s to 500ms bc it no longer interferes with anything]

[-Fixed leaving during countdown on lock until not resetting itself]

[-Made show detected app work even with app monitoring paused]

[-Don't finish LOA if screen off or rotating]

[-Moved one-time lockout to bottom]

[-Fixed screen locking while restrict access called multiple times b/c of delay in showing]

[-Fixed all activities so they disappear from task switcher / recent apps during lockouts]

[-Fixed crashes from permission screens not found in Settings]

[-Don’t show seconds in notification/LOA unless less than 1min, and don’t abbreviate.]

[-Only block settings app during emergency access if it’s already a blocked app]

[-Updated all writeToSharedPrefs methods to send message if bound instead of if monitorUsage (since it could be bound if there’s active lockouts)]

[-Fixed DND time monitoring not resetting when usage monitoring disabled]

[-Don’t save changes for duration/time/location/chooseapps/numberpicker dialogs if values are the same]

[-Changed wording for device admin option to say use device admin permission]

[-Fixed margin too big on lockout name cardView]

[-Send message to service whenever we change lockouts since activities can change them during lockouts now]

[-Allow entrance into EditLockoutActivity to see everything but don’t allow changes]

[-Removed hide launcher icon option for Android 10]

[-Removed prevent changes once a day to usage based lockouts. Bundled it with prevent changes to scheduled lockouts]

[-Show change not allowed message instead of hiding DND switch/settings button]

[-Added warning dialog for non-Google phones pointing to dontkillmyapp.com]

[-Made check for number free lockouts better]

[-Reduced number of allowed apps to 3 for free version]

[-Centered text in LOA card buttons]

[-Made usage stats permission dialog not cancelable]

***[-Fixed getTimeDurationString for counting down and added singular time units]***

***[-Disabled ok button until list of apps is ready to prevent concurrent modification exception]***

***[-Fixed onPostExecute crash in ChooseAppsDialog if pressing cancel before app loading finishes, or if rotating before it finishes…]***

***[-Changed to a new method in hasUsageStats method so that it works right after screen on (getPackageNameLastInForeground doesn’t work for about 2s after screen on)]***

***[-Put queryPurchases in onResume for all activities so that it’s properly recognized if rotated during purchase]***