• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[APP][TEQTIC][4.1+] Lock Me Out - Freedom from phone addiction

Search This thread

Flyview

Senior Member
May 17, 2010
2,473
1,641
Toronto/San Diego
[APP][TEQTIC][4.3+] Lock Me Out - Freedom from phone addiction




Introducing Lock Me Out:
Can't put your phone down? Are you addicted to your smartphone? Lock Me Out is a simple but powerful application that will lock you out of your phone when you would rather be doing something else.

Please check www.dontkillmyapp.com to make sure Lock Me Out is running unrestricted on your device!


Brief overview (detailed overview below)
• Block specific apps, allow specific apps, or allow lockscreen only
• Automatic lockouts based on usage: app time, app opens, device unlocks
• Regularly scheduled lockouts
• Only lock while at specific locations
• Turn on DND/silent ringer during lockouts
• Prevent changes during or before lockouts
• Password protection for entry and uninstall
• Temporary emergency access
• Pay a penalty to end lockouts early
• Usage statistics for time spent in apps, with DND on, in lockouts
• Notifications to warn you about your usage

Lock Me Out has helped thousands of people reduce their phone usage, including many students that want to focus on studying. It is continually being improved based on user feedback and feature requests.

Lock Me Out has helped thousands of people reduce their phone usage, including many students that want to focus on studying. It is continually being improved based on user feedback and feature requests.

Customer service is a top priority at TEQTIC. If you experience an issue, please use the "Contact support" menu option inside the app or email [email protected] before leaving a negative review! We usually reply to all emails within 48 hours, and often much quicker.

Install now and enjoy some organic time, free of distractions!

Detailed overview
Lockout mode

Each lockout has a lockout mode associated with it. The blocked apps mode allows you to choose a list of apps you want blocked during the lockout. The allowed apps mode allows you to choose a list of apps you want to allow during the lockout. The most strict is the lockscreen-only mode, which only allows use of the lockscreen. You can still answer calls or call emergency numbers in lockscreen-only mode.

Usage based lockouts
Configure rules that will trigger an automatic lockout based on your device usage. With usage based lockouts enabled, total screen time, usage of apps, and number of unlocks will be monitored. You can set up usage rules that trigger a lockout based on total screen time, time spent in specific apps, number of times specific apps are opened, or number of device unlocks. Usage rules can be scheduled to only be enforced at certain times.

Scheduled lockouts
Set up lockouts that repeat regularly on a schedule. You can choose the start and end time, the days of the week, the lockout mode, and additional options for each scheduled lockout.

One-time lockout
Quickly start a one-time lockout for today. You can set a custom duration, lock until a certain clock time, or schedule a lockout for later on.

Lockout options
Each lockout has its own configurable options. They can be configure to turn on Do Not Disturb (DND), silence the ringer, or only begin the lockout at chosen physical locations. DND is important to helps us eliminate frequent interruptions, which is vital for our focus, productivity, and mental health. Having lockouts limited to specific physical locations can improve focus while at school, the gym, or anywhere else apps can be a distraction.

Additional settings
Configure additional options on the settings screen. You can choose a list of apps to exclude from total screen time, prevent changes to lockouts, show an emergency allowance button, show a paid exit button to end a lockout early, set up a password to enter the app, and much more.

More information
Premium version

The premium version allows an unlimited number of lockouts, limited to 3 in the free version. Please consider upgrading to premium to support future development!

Beta testing program
Would you like to receive more frequent Beta updates? You can opt in and out at this link: https://play.google.com/apps/testing/com.teqtic.lockmeout

Translators
Turkish - Fatih
Russian - Gaich

Download:
Google Play
TEQTIC website (scroll to the bottom)
 
Last edited:

Flyview

Senior Member
May 17, 2010
2,473
1,641
Toronto/San Diego
CHANGELOG

6.4.3 (2021.08.19)

-Fixed being able to change language, and remove accessibility and display over other apps permissions on Samsung phones with tamper protection on
-Fixed restart protection on some phones
-Fixed disabling “turn off screen when blocking” still asking for password even when it’s already been entered
-Changed icon of usage statistics notification to timer icon and timer icon with line through it when app usage monitoring paused
-Changed icon of lockout started due to usage notification to padlock icon
-Tapping on usage reminder takes you to edit lockout instead of usage statistics
-Tapping on locked out due to usage notifications takes you to active lockouts instead of usage statistics
-Un-pause usage monitoring when turning off usage monitoring so that it can’t unpause itself and trigger the usage statistics notification
-Fixed rare crash
-Updated to Play Billing library 4.0.0

6.4.2 (2021.08.03)
-Fixed app blocking not working for scheduled lockouts if usage monitoring is disabled
-Fixed prevent changes time not working when duration of lockout less than prevent changes time
-Fixed not also navigating home when dismissing blocked PIP app
-Fixed crash when entering * characters to website blocking
-Updated to appcompat 1.3.1

6.4.1 (2021.07.19)
-New option to prevent restarting, under prevent uninstallation and tampering
-Only block restart menu on Pixel devices so Google Pay isn’t blocked
-Fixed usage being recorded as too high under rare conditions
-Fixed a rare crash
-Do not count prevent changes time if greater than the gap between end and start time
-More efficient tamper protection checks
-Added Romanian and Hungarian support to tamper protection
-Remove password as entered after disabling allow any change with a password
-Added close button to Paid Exit activity
-Show Locked Out screen after paid exit even if remaining lockouts don't have paid exits enabled

6.4.0 (2021.06.12)
-Greatly improved accessibility service efficiency for decreased battery consumption
-Added option to lock screen when blocking
-Prevent rebooting during active lockouts as part of tamper protection
-Better website detection in split screen [started checking nodeInfoRoot of all application windows]
-Block user switching during active lockouts
-Added support for Adblock Browser
-Fixed being able to get into blocked Google Play by opening LMO from Locked Out screen then navigating back
-Fixed navigating home not always working when blocking Google Play
-Fixed not being asked for password during tamper protection if another LMO page already open
-Fixed usage statistics notification disappearing if LMO started during an active lockout
-Fixed time change backwards breaking app detection [Switched DAS away from System.currentTimeMilis]
-Fixed split screen not being dismissed before showing Locked Out Screen
-Ignore detected “work profile” apps because they do not show up as installed and cannot be selected
-Fixed finding URLs in blocks of other text when searching entire page for blocked URL keyword (should be on its own without spaces)
-Don’t block URLs on Vivaldi’s choose search engine page
-Don’t block URLs when composing emails in Outlook
-Show Locked Out Screen after paying to end lockout from LOS but there are more lockouts
-Ignore case for detected text when checking for keywords in URL
-Removed limit on number of locations in free version
-Updated upgrade advantages text
-Added simplified Chinese translation, thanks Dwhite!
-Added Hungarian translation, thanks Stefi!
-Updated to Maps 17.0.1
-Reordered menu options
-Updated master password
-Updated to appcompat 1.3.0
-Updated to gson 2.8.6
-Updated to BillingClient 4.0.0

6.3.4 (2021.05.16)
-Fixed missing apps when getting installed apps
-Fixed website blocking in Opera Touch
-Fixed 12:00AM - 12:00AM lockouts not showing the time label
-Only allow disabling paid lockout ends in premium version

6.3.3 (2021.05.15)
-Fixed home and recents button not removing Locked Out screen
-Show more system apps
-Faster loading time for installed apps
-Keep asking for Accessibility Service permission if service is enabled but not running due to being killed or force stopped [hopefully they decide to disable and re-enable it]
-Fixed app usage monitoring resuming after screen off/on
-Fixed usage under a minute until screen off not being counted after unlocking or resuming app usage monitoring
-Don’t show emergency access when showing Locked Out screen because unable to detect apps
-Updated translations

6.3.2 (2021.05.02)
-Fixed emergency access becoming available after rotating when emergency interval is over a minute
-Fixed emergency access countdown not resetting when reaching 0s
-Fixed lag when switching lists while apps are still loading
-Fixed loading icon disappearing when switching lists while apps are still loading

6.3.1 (2021.04.28)
-Fixed getting around Locked Out screen by double tapping on recents
-Improved efficiency
-Fixed rare crash when choosing apps
-Updated Japanese translation

6.3.0 (2021.04.26)
-Quicker, more accurate, and more efficient app detection using Accessibility Service permission
-Detect and block picture-in-picture windows like YouTube (requires Accessibility Service permission)
-Detect and block “Dual Messenger” (Samsung) / “Parallel Apps” (OnePlus) / “App Twin” (Huawei) apps (requires Accessibility Service permission)
-Minimize blocked pop-up views on Samsung (requires Accessibility Service permission)
-Block websites opened through “Preview page” in Chrome
-Added support for website blocking within KakaoTalk’s integrated browser
-Added support for website blocking within Outlook’s integrated browser
-Allow blocking chrome://flags
-Allow switching lists without waiting for list of installed apps to load
-Paying to end lockouts early configurable for each lockout
-Added more early end payment options
-Fixed flashing loop to get permissions when both draw over other apps and usage access removed
-Fixed lockouts starting or ending at the wrong time if scheduled for the skipped hour of daylight savings time change
-Only use final best location so don’t go in and out of lockout as accuracy gets better
-Added tamper protection for Motorola’s performance optimization page
-Allow setting any changes password if trying to enable tamper protection since could just decide to uninstall
-Hide keyboard when checking apps
-Added button to clear text boxes
-Clear current Google Play page when Google Play is getting blocked
-Don’t offer to end lockout early if changes denied due to starting soon
-Changed master password
-Fixed time remaining not being set on lockouts that were not visible until scrolled to
-Update usage rule start / end alarms with time change or time zone change
-Fixed animations possibly not working correctly if time changed
-Updated add URL button to be filled with color
-Fixed lock screen usage reminder wording
-Align checkbox drawable with checkbox if goes to multiple lines
-Increased minSDK to 23 (Android 6.0)
-Fixed rare crash when trying to rate app if don’t have Google Play installed
-Fixed email formatting

6.2.3 (2021.03.08)
-Improved app detection algorithm
-Fixed rare instances of high CPU usage when handlers that update time left in overlay or notification weren’t stopped
-Fixed rare crashes
-Moved dialog checkbox (I agree) out of scrollView so it’s always visible
-Link donate button straight to PayPal instead of showing DonateDialog

6.2.2 (2021.02.22)
-Improved app detection algorithm accuracy and efficiency
-Fixed crash when entering just http:// or https:// or www.
-Fixed being able to add duplicate websites
-Fixed usage enforcement time not animating and progress not appearing if usage rule starts while app already open
-Fixed usage up until pause not being counted unless it hit minute check
-Fixed last detected app racking up usage if screen left on while on the lock screen
-Fixed missing blocked apps icon on active lockout cards
-Fixed progress bar not updating after enabling usage rules until next minute check
-Fixed screen time related progress bars not updating when unlocking screen until next minute check
-Added blocked app icon to Locked Out screen
-Only allow Google Play for purchases while LMO open if it’s the only detected app, so that Play can’t be opened up in “pop-up” view over LMO
-Show more than 2 detected apps in pop-up toast
-Added multiple lockout names to Locked Out notification title
-Added cannot afford dialog
-Check for usage access when enabling usage monitoring or show detected app
-Changed snackbar color to darker red for better visibility
-Added Czech translation
-Updated Japanese translation
***-Added Lock Me Out item name to PayPal donation link***

6.2.1 (2021.02.08)
-Fixed crash when selecting apps excluded from monitoring
-Fixed rare crash when leaving choose location dialog before map is ready

6.2.0 (2021.02.07)
-Allow otherwise prohibited changes with a password
-Added new welcome dialog
-Added progress indicator to usage rules
-Long press individual settings for more info
-Pause usage monitoring until app changes instead of until screen turns off
-Fixed locations not being saved properly for usage monitoring at specific locations
-Fixed various bugs with modifying lists of the same name for other lockouts
-Fixed being asked for a entry password right after setting it
-Fixed locked out screen opening last open EditLockoutActivity instead of the lockout requested
-Fixed blocking URL when a lockout starts even after browser has been closed
-Fixed locked out screen possibly not taking up full screen after rotation on some devices
-Only prevent adding excluded apps if there are active total screen time usage lockouts
-Prevent changes during usage enforcement by default
-Default to emergency wait time of 2 min
-Do not block settings as a blocked app or for tamper protection if getting missing permissions (overlay and usage access)
-Don’t fill width when showing locked out screen in landscape mode
-Added FireFox Nightly browser
-Request usage access and overlay permission when enabling lockouts instead of right away
-Require usage access if there are current usage rules
-Open app in addition to showing toasts when overlay/usage access (for usage rules) permissions missing. In case notifications are disabled, toasts won’t show. Missing usage access during lockouts still shows locked out screen with the messaging there.
-Block changing language for tamper protection
-Added Swedish to tamper protection checks
-Update service with fresh location from ChooseLocationsDialog
-Only look for blocked websites if a lockout is starting soon or active
-Moved password fields in dialogs above message so you don’t have to scroll to get to them
-Fixed not being able to remove hide from recents during active lockouts even with tamper protection password
-Stop removing overlay automatically when un-blocked app opened behind overlay. It was causing issues with LOS being removed when it shouldn’t, like after blocking YouTube and getting minimized into overlay window
-Clear timeLastLocked when changing usage rule type. That way any previously set timeLastLocked won’t unnecessarily apply to the new usage rule type, but will still be set by service if it were to cause an immediate lockout
-Made tapping on highlighted words easier
-Added messaging to early exit page
-Removed enforce lockout’s DND setting option
-Automatically remove last slash from entered URLs
-Added hint text for URL keyword blocking
-Fixed ending lockout early not working from EditLockoutActivity while hide from recents checked (PEA disappearing)
-Fixed not hiding from recents when PaidExitActivity opened from LOS
-Fixed multiple starts of payment flow if resuming PEA
-Fixed service stopping itself after activity unbinds due to a previous call to stopSelf even though a one-time lockout was just started
-Don't allow unchecking hide from recents during lockout’s usage enforcement, or if tamper protection is on
-Only lock and turn screen off if no prohibited password changes set (already required emergency access and paid exits to be off)
-Fixed possible crash if no default launcher set
-Allow all launchers if no default set
-Don’t look through listLockouts for blocked URLs until after we know we’re in a browser instead of the other way around
-Don’t allow turning off usage based lockouts if it has triggered a lockout so it can be ended early with payment or turned off with password
-Fixed usage enforcement time not animating if usage rule starts while app already open
-Show lockout title in Locked Out notification title
-Update lockout list summaries when list names are changed or removed through the one-time lockout choose apps dialog
-Update app lists on ELA when updated by pending change when lockout ends
-Don’t show I understand checkbox when asking for accessibility permission
-Added Japanese translation (Thanks ?!)
-Removed French, Czech translations
***-Updated to newest BetterLinkMovementMethod and modified the touch area***

6.1.0 (2020.12.18)
-Only count toward usage limit at chosen locations
-Limit duration of usage based lockouts to the end time of usage enforcement
-Fixed entering without entry password by tapping on lockout card followed by header icon very quickly
-Fixed not detecting time change or force stop settings pages in Arabic
-Added support for Via Browser, Free Adblocker Browser, and LineageOS Jelly Browser
-Allow non-current launcher to be blocked
-Only resort to checking whole page for URL if don’t have a previously detected URL
-Fixed background location checking not working on Android 11 without accessibility service enabled. Ask for background location access as foreground location service no longer enough to get updates when service started from the background
-Added simplified Chinese translation, thanks Dwhite!
-Show blocked website and not keyword when blocking keyword in URL
-Added End Early button to changes not allowed snackbar message on Edit Lockout page, if paid exits enabled
-Tapping on black background closes the locked out screen
-Only show animating padlocks if lockout is at lockout location
-Check location when changes made to lockout’s locations
-Fixed not checking for location for out of location lockouts if keep opening locked out screen
-Fixed leaving lockout as location specific when removing location specificity during active in-location lockout
-Added required explanation dialog when requesting background location permission on Android 11
-Check location permissions from service
-Changed ideal location freshness from 1 minute to 30 seconds
-Added description to scheduled lockout card
-Close locked out screen when there are no more active lockouts due to a lockout going out of location
-Don’t navigate home when blocking websites
-Don’t count launcher open when navigating home right before showing locked out screen
-Removed brackets from usage percentage in pop-up
-Updated master password
-Updated to play-services-location:17.1.0
-Updated to billing library 3.0.2 3.0.1 Fixes a bug with app being killed during purchase flow
-Updated BillingManager (2020.12.11) to notify billing listener when there’s an error in querySkuDetailsAsync or consumeAsync
-Moved initialization of BillingManager to onStart and destroying to onStop to prevent multiple activities that are still in memory getting callbacks

6.0.9 (2020.09.24)

-Fixed crash on Android 11 before device unlocked for the first time

6.0.8 (2020.09.21)
-Fixed rare bug causing very high usage after system time changes
-Fixed long lockout title overlapping lockout icons
-Update time last auto locked for usage rules after time change so that changing time doesn’t start another lockout
-Update pending app lists after time change
-Reset reset alarm after time change
-Made default lockout mode for new lockouts blocked apps mode
-Made default usage rule for new lockouts time spent in apps
-Restored compileSdkVersion to 30 (Android 11)

6.0.7 (2020.09.09)
-Fixed a bug where duration based lockouts were rescheduled into the future after reboot instead of continuing

6.0.6 (2020.09.02)

-Added Arabic translation (Thanks Ammar!)
-Added support for RTL layouts
-Updated website blocking for Firefox
-Fixed missing apps in app lists on Android 11: added QUERY_ALL_APPS permission
-Increased margins on About dialog to match other dialogs
-Fixed not unregistering receiver in DetectionAccessibilityService on Android < N
-Updated translations

6.0.5 (2020.08.26)
-Fixed loading selection not working on first try
-Fixed permission required dialog for accessibility when it's already on
-Don’t ask for accessibility permission when opening choose urls dialog without checkbox checked
-Don’t ask for entry password when rotating
-Don’t show close button on locked out screen if unable to detect apps
-Don’t show change not allowed messaging when disabling blocking websites after pressing cancel on accessibility required dialog
-Moved add lockout buttons to top of lists
-Added Romanian translation (Thanks LMG!)
-Built for Android 11

6.0.4 (2020.08.22)
-Animate appearance / disappearance of lockouts on locked out screen
-Added close button to locked out screen unless lock screen only lockout
-Fixed possibly corrupted usage statistics from 6.0.3 update
-Fixed crashes due to index out of bounds in updatePendingListsForLockoutsAndUsageRulesOrSetAlarmsTo
-Updated French translation

6.0.3 (2020.08.19)
-Added French translation (thanks ppp!)
-Fixed apps getting stuck as detected on some devices after split screen
-Prevent pop-out windows showing over LMO on Samsung devices
-Fixed app being killed while getting permissions when hide from recent apps selected
-Navigate home when blocking so background video/audio stops
-Animate appearance / disappearance of locked out screen
-Animated time range if enforcement active, and lock icons if lockout is active
-Fixed tamper protection showing when “time zone” detected outside of settings
-Faded out colors for icons/text for disabled lockouts
-Fixed showing locked out screen when adding or starting lockout, or when emergency allowance ends, or when unlocking screen while in LMO with lock screen only lockout
-Restart Settings if blocked on all Android versions instead of just 8+
-Removed extend button
-Red snackbar background to make them more obvious
-Fixed dragging lockout dropping from drag when lockouts updated by service
-Record full amount of time for each open app when showing multiple apps or else could use it to double usage in split screen
-Show clock time on active lockout card in addition to time remaining
-Colored ockout cards on locked out screen red
-Re-inflate and initialize views every time overlay shown to apply any font changes
-Fixed start receiver not setting alarms on LOCKED_BOOT_COMPLETED
-Added confirmation dialog to uninstall menu item
-Used same resource in nav drawer for icon as in locked out screen as it could have been shaped differently on different devices!
-Register service for TimeZoneChanged and TimeChanged broadcasts as they happen instantaneously that way and could be quite delayed on some devices otherwise
-Update time references and lockout times when time manually changed so it doesn’t mess up statistics and lockout durations
-Increase size of day picker toggle buttons with text size by making the ToggleButton’s layout’s size sp (not changing the size in the shape drawable)
-Updated to appcompat 1.2.0
***-Added links to changelog and translators into about dialog and onto website***

6.0.2 (2020.07.23)
-Improved website blocking
-Added Spanish translation (Thanks Nicolás!)
-Fixed not being able to toggle emergency allowance button back on without restarting
-Fixed uninstall protection on Huawei phones
-Fixed apps possibly getting stuck as detected
-Fixed interrupted but successful paid exit not ending lockout
-Fixed using back button closing app when hide from recents is selected
-Don’t reset averages automatically
-Layout tweaks
[-Fixed large margin on DND switch]
[-Fixed finishing payment not closing payment activity if still have active lockouts]
[-Added Firefox beta, Firefox Focus, Spin browsers, Samsung beta browser]
[-Don’t navigate home when going back from locked out screen after blocking website]
[-Detect whole words for settings protection]
[-Fixed being able to select more than 10 free apps by searching]
[-Improved tamper protection by also going back (faster for slow phones)]
[-Added Spanish store description]
***[-Set all dialog titles to gravity center so that if it goes to 2 lines the text is still centered]***
***[-Updated BillingManager 2020.07.02]***
***[-Updated app detection method with hashMap]***

6.0.1 (2020.06.23)
-Fixed crash when choosing excluded apps for the first time
-Fixed being able to go home during lockscreen only lockout
-Fixed emergency access number of seconds not showing seconds once past a minute
-Hide from recent apps even when not in lockout [ask for tamper protection password if want to change it]
-Fixed not hiding from recent apps when using back button
-Fixed asking for tamper password letting you into settings without entry password
-Added Samsung browser
-Added Russian, Czech and Turkish translations
[-Updated to billing library 3.0.0]
[-Added singular “location”]
[-Made admin receiver show message when trying to disable]

6.0.0 (2020.06.15)
-Start lockout while scheduling even if current, instead of tomorrow
-Allow changes during lockouts if more strict
-Fixed blocking apps in “pop-up" windows and split screen on Samsung devices
-Redesigned Locked Out screen
-Added button to extend active lockout 10m
-Only block URLs found in the browser’s URL bar, not anywhere on the page
-Start immediately after boot before first unlock
-Prevent changes to excluded apps
-Many other fixes and improvements
[-Don’t block cnn.com if blocking nn.com, except if it doesn’t contain . ,and so acting more like a keyword within urls]
[-Fixed being able to clear a list during lockout if not using a named list]
[-Show lockout name for usage-based lockout notifications]
[-Don’t apply change instead of disabling lockout when answering no to warning dialog]
[-Fixed changing saved list not updating the same lockout’s other lists]
[-Pay to end individual lockouts]
[-Fixed being able to change an app list for another lockout using the same list during prevent changes time]
[-Fixed incorrect percentage in pop-up after first unlock]
[-Fine tuned all layout margins]
[-Fixed showing 247 usage rules warning from OptionsActivity even if the usage rule wasn’t enabled]
[-Make sure usage window is longer than screen usage limit by increasing it to the limit +1 min]
[-Allow changes to usage monitoring and preventChangesDuringUsageEnforcement if usage lockouts not enabled]
[-Reordered usage rules in ELA]
[-Allow changes to switchLockRegularly and switchUsageLockouts if originally unchecked]
[-Removed android:gravity=”fill” from RadioButtons with a drawable (lockout mode) so that if it goes to 2 lines the drawable is still centered with the radio button circle. We use fill to have the first line stay in line with the checkbox/radio button but the drawable for the radio button doesn’t seem to follow suit]
[-Stop showing price on end early button]
[-Hide keyboard when picking an app (after searching)]
[-Made toggle buttons’ week letters gray when lockout disabled in miniLockout card]
[-Set LOA as a singleTask so that tapping on notification still brings up LOA instead of main app if app left in memory when originally opened through LOA as root]
[-added Intent.FLAG_ACTIVITY_CLEAR_TOP when launching activities from LOA or notifications so that it removes other activities that might have been on top when the task with the requested activity is brought forward]
[-Capitalized all titles]
[-Go back when blocked website found so you can actually return to the browser and go to a different website]
[-Fixed not getting locked out of website if lockout starts or emergency access ends while on blocked website without touching]
[-Fixed not getting locked out of website if scrolled down past address bar during emergency access]
[-Fixed deleting blocked websites from list messing up]
[-Fixed changing a named list affecting already enabled one-time lockouts]
[-Shortened time pop-up with usage is shown]
[-Fixed overactive accessibility service]
[-Set LOA to not support split screen]
[-Tweaked layout margins/padding for all dialogs to line up with buttons]
[-Go back to clearing saved list name when using the deselect button]
[-Increased max emergency access time to 300s and num unlocks, app launches to 300]
[-Changed wording for option to show emergency access to signify the second number is a wait time]
[-Prevent checking show pause button if changes are denied to usage rules]
[-Expand One-time lockout mode & options at the same time to clean up UI]
[-Show black overlay on older Android versions as well to protect against “app pinning”]
[-Only go to home screen when pressing back from LOA so that emergency and early exit bring you back to blocked app]
[-Fixed check for max number of enabled lockouts to take into account if scheduled lockouts and usage lockouts are enabled overall. Also check the number when switching scheduled lockouts/usage lockouts on and when entering ELA and disable them then]
[-Don’t reset last time auto locked if changes denied to usage rule when removing excluded apps]
[-Sort lists alphabetically in spinners]
[-Fixed changing a list from SA not updating lists for usage rules]
[-Show number of blocked/allowed/monitored apps / websites / locations]
[-Delete named list by saving the selection without the name instead of saving as empty list with name]
[-Fixed uninstalled apps not showing in saved lists]
[-Clear listsToChangeTo whenever making an allowed change]
[-Made title of ELA “Edit Lockout”]
[-Added master password for forgotten passwords]
[-Don’t show one-time lockout locking mode icon if no blocked apps]
[-Removed ACCESS_BACKGROUND_LOCATION permission from manifest since we don’t need it with foregroundServiceType=”location”]
[-Added action buttons back to side menu as well (we already had go premium)]
[-Added a sixth payment level of $99.99 and re-organized choices into 2 columns of 3]
[-Show what’s being blocked / allowed in usage summary/usage reminder/locked out notifications]
[-Show what it’s blocking/allowing in usage rule summary]
[-Added Chrome Beta to blocked browsers]
[-Stop locking out to the lock screen if keep trying]
[-Changed to locked out screen being shown through overlay instead of activity]
[-New icon for location markers]
[-Added white stroke for unselected locations]
[-Fixed z-order: selected marker and circle now on top]
[-Set stroke width according to screen density]
[-Better protect against removing essential permissions during lockout (since we can’t reliably detect usage access and draw over other apps screens with accessibility service)]
[-Show toast message and take them to re-enable when overlay permission missing]
[-Show locked out screen when trying to disable Device Admin or Accessibility Service when caught by Accessibility Service during lockouts]
[-Removed internet permission]
[-Prevent access to LMO’s running services page through accessibility]
[-Prevent changing time through accessibility]
[-Prevent autoBackup by setting android:allowBackup=”false” so that reinstalling doesn’t restore their data. Makes it more annoying to uninstall and may prevent other crashes from updating from really old versions?]
[-Added “com.android.providers.media” media storage app to global whitelist. Needed to pick ringtones on some devices?]
[-Put AccessibilityService in its own process so that activities/IAB can be cleared from memory]
[-Added detection of usage access, display over other apps (overlay) permissions, and app info page]
[-Gave each usage lockout its own notification ids for reminder and locked out]
[-Dismiss usage reminder notifications once their lockout starts or when the usage goes back under]
[-Dismiss usage locked out notifications once their lockout is over]
***[-Changed Upgrade dialog to use drawables instead of unicode so it doesn’t look different on diff devices]***
***[-Show apps without launch intents (without launcher icons) and without blank icon in app lists even if not a system app. Needed for add-on packs like Captcha Pack for Sleep as Android]***
***[-Keep app icons blank for uninstalled apps when scrolling]***
***[-Updated billing library to 2.2.0]***
***[-Fixed Utils.startEmailIntent line breaks not working by switching from \n to <br> https://stackoverflow.com/questions...ne-breaks-in-preset-text-android/47276265]***
***[-Changed app detection method to hopefully prevent apps getting stuck as detected (happened to Teri and Jyotister)]***
***[-Added no thanks button to Upgrade/Donate dialogs (need to show a clear way out of a payment dialog)]***
***[-Capitalized button text for payment options / donate button]***
***[-Link to rate dialog from menu so they get the messaging first. Updated messaging]***
***[-Save last time upgrade dialog shown and use that for auto showing time]***
***[Moved upgrade dialog auto show to onSkuDetailsResponse so that listSkuDetails is ready in SA]***
***[-Changed email to send to [email protected] (“forward” email account on netfirm’s email settings)]***
***[-Made button in DonateDialog link to PayPal donation instead of IAP (donations are listed as not supported by IAP here: https://play.google.com/about/monetization-ads/payments/ )]***
***[-Consolidate method to detect foreground package names depending on Android version into Utils]***
***[-Start in “direct boot mode” before first unlock by adding tag to manifest and moving shared prefs, and adding intent filter for StartReceiver]***
***[-Updated ObscuredSharedPrefs to move shared prefs to device encrypted storage so app can start before unlocking in direct boot mode and PreferencesProvider for change in OSP constructor]***
***[-Updated BillingConstants, IabService and activities to use arrays of skus rather than checking each one]***

5.4.0 (2020.02.22)
-Added ability to block specific websites
-Configurable wait time between emergency allowance
-Show app usage when showing detected app pop-up
-Prevent changes to emergency allowance time during lockouts
-Delete a saved list by saving it empty
-Identify blocked app/website on locked out screen
-Show time left for longest lockout that includes app/website, not necessarily longest lockout
-One-time lockout mode/options expanded by default
-Fixed rare crash
[-Only show you will be locked out to lockscreen if have device admin enabled]
[-Fixed crash when deleting lockout and INTENT_LOCKOUTS_UPDATED fires after the deletion but before onDestroy is called to unregister the receiver]
[-Set messaging to unable to detect apps in LOA instead of showing a toast]
[-Removed FB SDK]
[-Added line spacing multiplier to all checkboxes/radio buttons with clickable spans]
[-Removed delete saved app lists menu option and removed the “more” section in menu, put all items together]
[-Removed Catalan translation]
***[-Added spinnerInitialized back to all spinners as the post only seems to help after onRotate!]***

5.3.4 (2020.01.25)
-Fixed lockout not starting when starting at the same time as another ends while screen on
-Fixed a couple of rare crashes
-Updated look of nav menu title
-Fixed some stats not updating when resuming to statistics from screen off
***[-Aligned “I understand” checkbox on the right]***
***[-Got rid of mapSkuPrices and mapSkuTrialDays]***
[-Fixed rare NullPointerException in TimezoneChangedReceiver]
[-Hopefully fixed missing usage rule crash by removing usage based lockouts without usage rules]

5.3.3 (2020.01.13)
-Fixed service crash when adding a new usage lockout
-Fixed a rare crash
-Don’t check location while screen off if DND / silent ringer does not need to be toggled
[-Check location while screen off even if not already in lockout location if supposed to turn on DND/silent ringer]
[-Tried to fix rare NullPointerException in TimezoneChangedReceiver]

5.3.2 (2020.01.06)
-Track DND status more efficiently, detect changes while screen off
-Lock out if usage access permission removed during lockout
-Don’t let changes to saved app lists affect active lockouts [or during usage enforcement]
-Fixed service not restarting for out of location lockouts if usage monitoring disabled
-Fixed modifying usage lockout app lists not modifying regular lockout app lists and vice versa
-More efficient location checking
-Don’t allow enabling the paid exit option during lockouts [reverted]
[-Fixed not checking for location if usage monitoring turned off]
[-Fixed black overlay sometimes not being removed]
[-Show usage monitoring enabled message when automatically enabled. When showing usage statistics or when enabling usage rules]
[-Fixed DND time miscalculation after disabling usage monitoring with DND on]
[-Update DND switch when toggled externally]
[-Fixed setRingerSilent adjustStreamVolume securityexception if permission not granted on N, O, P]
[-Tried to fix the rare SecurityException for opening usageStats]
[-Tried to fix rare NullPointerException in TimezoneChangedReceiver]
[-Tried to fix rare NullPointerException in Lockout generateFreshStartAndEndTimes]
[-Only updateScreenOnRecords when app changes instead of every time the check for latest foreground app runs]
[-Check usage rules whenever foreground app changes to more quickly detect # times app opened]
[-Don’t check location while screen off when not already in location lockout with dnd/silent ringer, even if awake]
[-Check location again if opening LOA during in-location lockout]
[-Fixed MS checking for lockouts twice when starting one time lockout]
[-Fixed SA not binding to service after starting lockout if not already bound]

5.3.1 (2019.12.16)
-Fixed crash when getting DND permission from usage statistics screen
-Show selected apps first in lists
-Allow enabling paid exit option during lockouts

5.3.0 (2019.12.14)
-Added uninstall protection with password
-Removed option to hide launcher icon
-Include current location in map overview of locations
-Always zoom in when tapping the my location button
-Added Russian translation (Thanks Gaich @ XDA!)
-Fixed rare crash [activity not found exception in UsageStatisticsActivity]
-Default map type changed to satellite
[-Do not show time left in lockouts that have not started yet, even if seamless]
[-Fixed going back from change password dialog not un-checking checkbox]
[-Fixed location change animating map after map loaded callback already set it to the overview of the locations]
[-Fixed location not showing on map if location listener never registered b/c was already ideal]
[-Fixed German translation]
[-Fixed DND/silent not being automatically checked when going back from permission]
[-Fixed going back (or clicking outside it) from permission warning dialogs not unchecking checkboxes]
[-Increased min SDK to 18]

5.2.2 (2019.12.02)
-Block/allow as many apps as you want in free version! Premium version allows more than 3 enabled lockouts
-New option to prevent changes to usage based lockouts during enforcement time
-Fixed a rare crash
-Fixed editing of active lockouts during 24/7 grace period not taking effect right away
-Fixed emergency button not reappearing if resuming to locked out screen after the minute wait
-Grey emergency button while not available
-Fixed German translation (Thanks Stefan!)
[-Always show icons on the right even when there’s no title]
[-Collapsed mode/option for one-time lockout by default]
[-Always kill LOA when leaving it like we used to (other than screen off/rotate) so that if we go to open LMO it doesn't open it, and so that messaging is right when opening from notification after having opened from unallowed app]
[-Shortened dontkillmyapp warning message slightly in English]
[-Updated FB SDK]

5.2.1 (2019.11.08)
-Fixed checking for location once location dependent lockout is over
-Fixed not disappearing from recent apps if lockout started while app in the background
-Added warning to enable lockout if just created and leaving
-Changed default usage rule enforcement time to 8AM - 11PM
-Changed 24/7 usage enforcement times to end one hour earlier. Can be changed back to 24/7 to see warning.
-Update DND switch when lockouts updated
-Added translations for German, French
-Minor fixes
[-Fixed LockoutLocation losing LatLng when switching minifyEnabled]
[-If all lockouts end before alarm comes, don’t check again when alarm comes]
[-Separated updateLists in SettingsActivity into updateListLockouts and updateUsageRules]
[-Stopped most activities from listening for LOCKOUT_ENDED]
[-Fixed “1 times” and changed all strings that had “times” already included in them as well to use the times substring]
[-Changed unlocked over to unlocked more than]
[-Changed “1 time” to once]
[-Fixed issue with not setting end alarm for location based lockouts that never became active]
[-Fixed Turkish translation for unlocks usage rule summary]
[-Show times in MiniLockoutAdapter for lockouts that are 24/7 but don’t start at 12am]

5.2.0 (2019.11.01)
-New option to lock only at specific locations
-Allow entry into app during lockouts
-Start/schedule multiple one-time lockouts
-Added confirmation dialog to delete a lockout
-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 cancelling scheduled one-time lockout
-Fixed silent mode not being set when DND on
-Also prevent changes to DND and silent ringer
[-Fixed scheduled lockouts master switch preventing changes without prevent changes setting selected]
[-Added option to hide LMO from recent apps screen]
[-Fixed settings app not blocked during emergency access for lockscreen only mode]
[-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]
[-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]
[-Put package name on next line for show detected app]
[-Made time zone change adjust start and end times for all “clock-relative” lockouts (one-time until and schedule, and repeating). Remove (one-time)/reschedule (repeating) if already past the clock time, but start if would currently be in the lockout. Leave lockout for the future if clock time went backwards.]
[-Dropped support for Chinese]
***[-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]***
***[-Fixed incorrect # free trial days. Change in onSkuDetailsResponse]***

5.1.1 (2019.08.15)
-Improved app detection and blocking during split screen
-Fixed not being able to modify lockout starting soon while setting times
-Black screen out until Locked Out Screen shows on Android Q
-Fixed app usage detection on Android 5 and older
-Fixed app usage not counting when app opened before enforcement start time
-Fixed long app names overlaying usage metrics
-Don’t grey out the other one-time lockout button, just cancel the countdown if pressed
[-Hide DND option for one-time lockouts on Android 6 and older]
[-Made getTimeScreenOnAppsWithinUsageWindow more efficient]
[-Show dialog to request overlay permission on Android Q]
[-Changed formatting of detected app string]
[-REVERT using Intent.FLAG_ACTIVITY_TASK_ON_HOME Activity flag instead of actually navigating to HOME separately so that it works in split-screen]
[-Updated FB SDK to 5.2.0]
***[-Fixed FB purchase logging by fixing proguard file (adding { *; } to end of “-keep class com.android.vending.billing.**”]***
 
Last edited:

ExSport

Member
Dec 21, 2010
40
3
Yes:)
On Nexus4 it is not possible to use camera, only emergency calls. Also you can see status bar but it is not possible to do anything with it like scroll down etc. e.g. for checking status of notifications like email (maybe intended).
Same with camera, it is possible to swipe to it but picture is black with keypad above it.
For less then 1$ nice app, for more than 1$....who knows...
 

Flyview

Senior Member
May 17, 2010
2,473
1,641
Toronto/San Diego
Yes:)
On Nexus4 it is not possible to use camera, only emergency calls. Also you can see status bar but it is not possible to do anything with it like scroll down etc. e.g. for checking status of notifications like email (maybe intended).
Same with camera, it is possible to swipe to it but picture is black with keypad above it.
For less then 1$ nice app, for more than 1$....who knows...

What you can do from the lockscreen isn't set by the app. That's up to the ROM/lock screen you are using and the widgets available on it while locked.
 

ExSport

Member
Dec 21, 2010
40
3
Problem was non-default camera application. I have more apps so every time camera is started it asks which one should be used.
When phone is locked it is impossible to use camera due this behavior.
Choosing default camera app (use always, not once) fixes it :cool:
 
  • Like
Reactions: Flyview

Flyview

Senior Member
May 17, 2010
2,473
1,641
Toronto/San Diego
New update today!

LMO 1.2.0:
-Made it impossible to lock yourself out forever, even if app is force closed.
-Fixed slide-unlock not being set with empty PIN.
-Added warning against memory cleaners.
-Added confirm PIN dialog.
-Stopped setting chosen password on every boot.
-Added Lollipop styling for pre-Lollipop Android versions!
-Re-set unlock alarm after app update in case locked out during update.
-Added contact menu option.
-Updated action bar unlock icon for Lollipop.
 

Flyview

Senior Member
May 17, 2010
2,473
1,641
Toronto/San Diego
I accidentally locked myself out without setting my pin - please what is the default pin

IMPORTANT - If you updated to 1.2.0, please install the update to 1.2.1. There was a critical bug where on pre-Lollipop devices the device would never reset the PIN to what you chose. If you are locked out on v1.2.0 please use unlock PIN 192458799. This PIN has been changed in v1.2.1.

I have posted an updated version of the app, and am attaching it here if you don't want to wait for it to come through Google Play. I am so sorry about this! Android Studio didn't report that a method I used was only available on API 22. :(
 

Attachments

  • LockMeOut-1.2.1.apk
    627.6 KB · Views: 18

Flyview

Senior Member
May 17, 2010
2,473
1,641
Toronto/San Diego
I just published a long overdue (albeit small) update. It should be available in about an hour on the store, or download it here (attached).

1.2.2
-Dynamically set the minimum password length (will help with some devices that would not actually set blank PINs and remain locked).
-Fixed a rare issue with the recognition of purchases and the purchase system.
-Updated to newest libraries and built with Marshmallow SDK.
 

Attachments

  • LockMeOut-1.2.2.apk
    651.2 KB · Views: 24
  • Like
Reactions: Milan34119

Top Liked Posts

  • There are no posts matching your filters.
  • 17
    [APP][TEQTIC][4.3+] Lock Me Out - Freedom from phone addiction




    Introducing Lock Me Out:
    Can't put your phone down? Are you addicted to your smartphone? Lock Me Out is a simple but powerful application that will lock you out of your phone when you would rather be doing something else.

    Please check www.dontkillmyapp.com to make sure Lock Me Out is running unrestricted on your device!


    Brief overview (detailed overview below)
    • Block specific apps, allow specific apps, or allow lockscreen only
    • Automatic lockouts based on usage: app time, app opens, device unlocks
    • Regularly scheduled lockouts
    • Only lock while at specific locations
    • Turn on DND/silent ringer during lockouts
    • Prevent changes during or before lockouts
    • Password protection for entry and uninstall
    • Temporary emergency access
    • Pay a penalty to end lockouts early
    • Usage statistics for time spent in apps, with DND on, in lockouts
    • Notifications to warn you about your usage

    Lock Me Out has helped thousands of people reduce their phone usage, including many students that want to focus on studying. It is continually being improved based on user feedback and feature requests.

    Lock Me Out has helped thousands of people reduce their phone usage, including many students that want to focus on studying. It is continually being improved based on user feedback and feature requests.

    Customer service is a top priority at TEQTIC. If you experience an issue, please use the "Contact support" menu option inside the app or email [email protected] before leaving a negative review! We usually reply to all emails within 48 hours, and often much quicker.

    Install now and enjoy some organic time, free of distractions!

    Detailed overview
    Lockout mode

    Each lockout has a lockout mode associated with it. The blocked apps mode allows you to choose a list of apps you want blocked during the lockout. The allowed apps mode allows you to choose a list of apps you want to allow during the lockout. The most strict is the lockscreen-only mode, which only allows use of the lockscreen. You can still answer calls or call emergency numbers in lockscreen-only mode.

    Usage based lockouts
    Configure rules that will trigger an automatic lockout based on your device usage. With usage based lockouts enabled, total screen time, usage of apps, and number of unlocks will be monitored. You can set up usage rules that trigger a lockout based on total screen time, time spent in specific apps, number of times specific apps are opened, or number of device unlocks. Usage rules can be scheduled to only be enforced at certain times.

    Scheduled lockouts
    Set up lockouts that repeat regularly on a schedule. You can choose the start and end time, the days of the week, the lockout mode, and additional options for each scheduled lockout.

    One-time lockout
    Quickly start a one-time lockout for today. You can set a custom duration, lock until a certain clock time, or schedule a lockout for later on.

    Lockout options
    Each lockout has its own configurable options. They can be configure to turn on Do Not Disturb (DND), silence the ringer, or only begin the lockout at chosen physical locations. DND is important to helps us eliminate frequent interruptions, which is vital for our focus, productivity, and mental health. Having lockouts limited to specific physical locations can improve focus while at school, the gym, or anywhere else apps can be a distraction.

    Additional settings
    Configure additional options on the settings screen. You can choose a list of apps to exclude from total screen time, prevent changes to lockouts, show an emergency allowance button, show a paid exit button to end a lockout early, set up a password to enter the app, and much more.

    More information
    Premium version

    The premium version allows an unlimited number of lockouts, limited to 3 in the free version. Please consider upgrading to premium to support future development!

    Beta testing program
    Would you like to receive more frequent Beta updates? You can opt in and out at this link: https://play.google.com/apps/testing/com.teqtic.lockmeout

    Translators
    Turkish - Fatih
    Russian - Gaich

    Download:
    Google Play
    TEQTIC website (scroll to the bottom)
    3
    CHANGELOG

    6.4.3 (2021.08.19)

    -Fixed being able to change language, and remove accessibility and display over other apps permissions on Samsung phones with tamper protection on
    -Fixed restart protection on some phones
    -Fixed disabling “turn off screen when blocking” still asking for password even when it’s already been entered
    -Changed icon of usage statistics notification to timer icon and timer icon with line through it when app usage monitoring paused
    -Changed icon of lockout started due to usage notification to padlock icon
    -Tapping on usage reminder takes you to edit lockout instead of usage statistics
    -Tapping on locked out due to usage notifications takes you to active lockouts instead of usage statistics
    -Un-pause usage monitoring when turning off usage monitoring so that it can’t unpause itself and trigger the usage statistics notification
    -Fixed rare crash
    -Updated to Play Billing library 4.0.0

    6.4.2 (2021.08.03)
    -Fixed app blocking not working for scheduled lockouts if usage monitoring is disabled
    -Fixed prevent changes time not working when duration of lockout less than prevent changes time
    -Fixed not also navigating home when dismissing blocked PIP app
    -Fixed crash when entering * characters to website blocking
    -Updated to appcompat 1.3.1

    6.4.1 (2021.07.19)
    -New option to prevent restarting, under prevent uninstallation and tampering
    -Only block restart menu on Pixel devices so Google Pay isn’t blocked
    -Fixed usage being recorded as too high under rare conditions
    -Fixed a rare crash
    -Do not count prevent changes time if greater than the gap between end and start time
    -More efficient tamper protection checks
    -Added Romanian and Hungarian support to tamper protection
    -Remove password as entered after disabling allow any change with a password
    -Added close button to Paid Exit activity
    -Show Locked Out screen after paid exit even if remaining lockouts don't have paid exits enabled

    6.4.0 (2021.06.12)
    -Greatly improved accessibility service efficiency for decreased battery consumption
    -Added option to lock screen when blocking
    -Prevent rebooting during active lockouts as part of tamper protection
    -Better website detection in split screen [started checking nodeInfoRoot of all application windows]
    -Block user switching during active lockouts
    -Added support for Adblock Browser
    -Fixed being able to get into blocked Google Play by opening LMO from Locked Out screen then navigating back
    -Fixed navigating home not always working when blocking Google Play
    -Fixed not being asked for password during tamper protection if another LMO page already open
    -Fixed usage statistics notification disappearing if LMO started during an active lockout
    -Fixed time change backwards breaking app detection [Switched DAS away from System.currentTimeMilis]
    -Fixed split screen not being dismissed before showing Locked Out Screen
    -Ignore detected “work profile” apps because they do not show up as installed and cannot be selected
    -Fixed finding URLs in blocks of other text when searching entire page for blocked URL keyword (should be on its own without spaces)
    -Don’t block URLs on Vivaldi’s choose search engine page
    -Don’t block URLs when composing emails in Outlook
    -Show Locked Out Screen after paying to end lockout from LOS but there are more lockouts
    -Ignore case for detected text when checking for keywords in URL
    -Removed limit on number of locations in free version
    -Updated upgrade advantages text
    -Added simplified Chinese translation, thanks Dwhite!
    -Added Hungarian translation, thanks Stefi!
    -Updated to Maps 17.0.1
    -Reordered menu options
    -Updated master password
    -Updated to appcompat 1.3.0
    -Updated to gson 2.8.6
    -Updated to BillingClient 4.0.0

    6.3.4 (2021.05.16)
    -Fixed missing apps when getting installed apps
    -Fixed website blocking in Opera Touch
    -Fixed 12:00AM - 12:00AM lockouts not showing the time label
    -Only allow disabling paid lockout ends in premium version

    6.3.3 (2021.05.15)
    -Fixed home and recents button not removing Locked Out screen
    -Show more system apps
    -Faster loading time for installed apps
    -Keep asking for Accessibility Service permission if service is enabled but not running due to being killed or force stopped [hopefully they decide to disable and re-enable it]
    -Fixed app usage monitoring resuming after screen off/on
    -Fixed usage under a minute until screen off not being counted after unlocking or resuming app usage monitoring
    -Don’t show emergency access when showing Locked Out screen because unable to detect apps
    -Updated translations

    6.3.2 (2021.05.02)
    -Fixed emergency access becoming available after rotating when emergency interval is over a minute
    -Fixed emergency access countdown not resetting when reaching 0s
    -Fixed lag when switching lists while apps are still loading
    -Fixed loading icon disappearing when switching lists while apps are still loading

    6.3.1 (2021.04.28)
    -Fixed getting around Locked Out screen by double tapping on recents
    -Improved efficiency
    -Fixed rare crash when choosing apps
    -Updated Japanese translation

    6.3.0 (2021.04.26)
    -Quicker, more accurate, and more efficient app detection using Accessibility Service permission
    -Detect and block picture-in-picture windows like YouTube (requires Accessibility Service permission)
    -Detect and block “Dual Messenger” (Samsung) / “Parallel Apps” (OnePlus) / “App Twin” (Huawei) apps (requires Accessibility Service permission)
    -Minimize blocked pop-up views on Samsung (requires Accessibility Service permission)
    -Block websites opened through “Preview page” in Chrome
    -Added support for website blocking within KakaoTalk’s integrated browser
    -Added support for website blocking within Outlook’s integrated browser
    -Allow blocking chrome://flags
    -Allow switching lists without waiting for list of installed apps to load
    -Paying to end lockouts early configurable for each lockout
    -Added more early end payment options
    -Fixed flashing loop to get permissions when both draw over other apps and usage access removed
    -Fixed lockouts starting or ending at the wrong time if scheduled for the skipped hour of daylight savings time change
    -Only use final best location so don’t go in and out of lockout as accuracy gets better
    -Added tamper protection for Motorola’s performance optimization page
    -Allow setting any changes password if trying to enable tamper protection since could just decide to uninstall
    -Hide keyboard when checking apps
    -Added button to clear text boxes
    -Clear current Google Play page when Google Play is getting blocked
    -Don’t offer to end lockout early if changes denied due to starting soon
    -Changed master password
    -Fixed time remaining not being set on lockouts that were not visible until scrolled to
    -Update usage rule start / end alarms with time change or time zone change
    -Fixed animations possibly not working correctly if time changed
    -Updated add URL button to be filled with color
    -Fixed lock screen usage reminder wording
    -Align checkbox drawable with checkbox if goes to multiple lines
    -Increased minSDK to 23 (Android 6.0)
    -Fixed rare crash when trying to rate app if don’t have Google Play installed
    -Fixed email formatting

    6.2.3 (2021.03.08)
    -Improved app detection algorithm
    -Fixed rare instances of high CPU usage when handlers that update time left in overlay or notification weren’t stopped
    -Fixed rare crashes
    -Moved dialog checkbox (I agree) out of scrollView so it’s always visible
    -Link donate button straight to PayPal instead of showing DonateDialog

    6.2.2 (2021.02.22)
    -Improved app detection algorithm accuracy and efficiency
    -Fixed crash when entering just http:// or https:// or www.
    -Fixed being able to add duplicate websites
    -Fixed usage enforcement time not animating and progress not appearing if usage rule starts while app already open
    -Fixed usage up until pause not being counted unless it hit minute check
    -Fixed last detected app racking up usage if screen left on while on the lock screen
    -Fixed missing blocked apps icon on active lockout cards
    -Fixed progress bar not updating after enabling usage rules until next minute check
    -Fixed screen time related progress bars not updating when unlocking screen until next minute check
    -Added blocked app icon to Locked Out screen
    -Only allow Google Play for purchases while LMO open if it’s the only detected app, so that Play can’t be opened up in “pop-up” view over LMO
    -Show more than 2 detected apps in pop-up toast
    -Added multiple lockout names to Locked Out notification title
    -Added cannot afford dialog
    -Check for usage access when enabling usage monitoring or show detected app
    -Changed snackbar color to darker red for better visibility
    -Added Czech translation
    -Updated Japanese translation
    ***-Added Lock Me Out item name to PayPal donation link***

    6.2.1 (2021.02.08)
    -Fixed crash when selecting apps excluded from monitoring
    -Fixed rare crash when leaving choose location dialog before map is ready

    6.2.0 (2021.02.07)
    -Allow otherwise prohibited changes with a password
    -Added new welcome dialog
    -Added progress indicator to usage rules
    -Long press individual settings for more info
    -Pause usage monitoring until app changes instead of until screen turns off
    -Fixed locations not being saved properly for usage monitoring at specific locations
    -Fixed various bugs with modifying lists of the same name for other lockouts
    -Fixed being asked for a entry password right after setting it
    -Fixed locked out screen opening last open EditLockoutActivity instead of the lockout requested
    -Fixed blocking URL when a lockout starts even after browser has been closed
    -Fixed locked out screen possibly not taking up full screen after rotation on some devices
    -Only prevent adding excluded apps if there are active total screen time usage lockouts
    -Prevent changes during usage enforcement by default
    -Default to emergency wait time of 2 min
    -Do not block settings as a blocked app or for tamper protection if getting missing permissions (overlay and usage access)
    -Don’t fill width when showing locked out screen in landscape mode
    -Added FireFox Nightly browser
    -Request usage access and overlay permission when enabling lockouts instead of right away
    -Require usage access if there are current usage rules
    -Open app in addition to showing toasts when overlay/usage access (for usage rules) permissions missing. In case notifications are disabled, toasts won’t show. Missing usage access during lockouts still shows locked out screen with the messaging there.
    -Block changing language for tamper protection
    -Added Swedish to tamper protection checks
    -Update service with fresh location from ChooseLocationsDialog
    -Only look for blocked websites if a lockout is starting soon or active
    -Moved password fields in dialogs above message so you don’t have to scroll to get to them
    -Fixed not being able to remove hide from recents during active lockouts even with tamper protection password
    -Stop removing overlay automatically when un-blocked app opened behind overlay. It was causing issues with LOS being removed when it shouldn’t, like after blocking YouTube and getting minimized into overlay window
    -Clear timeLastLocked when changing usage rule type. That way any previously set timeLastLocked won’t unnecessarily apply to the new usage rule type, but will still be set by service if it were to cause an immediate lockout
    -Made tapping on highlighted words easier
    -Added messaging to early exit page
    -Removed enforce lockout’s DND setting option
    -Automatically remove last slash from entered URLs
    -Added hint text for URL keyword blocking
    -Fixed ending lockout early not working from EditLockoutActivity while hide from recents checked (PEA disappearing)
    -Fixed not hiding from recents when PaidExitActivity opened from LOS
    -Fixed multiple starts of payment flow if resuming PEA
    -Fixed service stopping itself after activity unbinds due to a previous call to stopSelf even though a one-time lockout was just started
    -Don't allow unchecking hide from recents during lockout’s usage enforcement, or if tamper protection is on
    -Only lock and turn screen off if no prohibited password changes set (already required emergency access and paid exits to be off)
    -Fixed possible crash if no default launcher set
    -Allow all launchers if no default set
    -Don’t look through listLockouts for blocked URLs until after we know we’re in a browser instead of the other way around
    -Don’t allow turning off usage based lockouts if it has triggered a lockout so it can be ended early with payment or turned off with password
    -Fixed usage enforcement time not animating if usage rule starts while app already open
    -Show lockout title in Locked Out notification title
    -Update lockout list summaries when list names are changed or removed through the one-time lockout choose apps dialog
    -Update app lists on ELA when updated by pending change when lockout ends
    -Don’t show I understand checkbox when asking for accessibility permission
    -Added Japanese translation (Thanks ?!)
    -Removed French, Czech translations
    ***-Updated to newest BetterLinkMovementMethod and modified the touch area***

    6.1.0 (2020.12.18)
    -Only count toward usage limit at chosen locations
    -Limit duration of usage based lockouts to the end time of usage enforcement
    -Fixed entering without entry password by tapping on lockout card followed by header icon very quickly
    -Fixed not detecting time change or force stop settings pages in Arabic
    -Added support for Via Browser, Free Adblocker Browser, and LineageOS Jelly Browser
    -Allow non-current launcher to be blocked
    -Only resort to checking whole page for URL if don’t have a previously detected URL
    -Fixed background location checking not working on Android 11 without accessibility service enabled. Ask for background location access as foreground location service no longer enough to get updates when service started from the background
    -Added simplified Chinese translation, thanks Dwhite!
    -Show blocked website and not keyword when blocking keyword in URL
    -Added End Early button to changes not allowed snackbar message on Edit Lockout page, if paid exits enabled
    -Tapping on black background closes the locked out screen
    -Only show animating padlocks if lockout is at lockout location
    -Check location when changes made to lockout’s locations
    -Fixed not checking for location for out of location lockouts if keep opening locked out screen
    -Fixed leaving lockout as location specific when removing location specificity during active in-location lockout
    -Added required explanation dialog when requesting background location permission on Android 11
    -Check location permissions from service
    -Changed ideal location freshness from 1 minute to 30 seconds
    -Added description to scheduled lockout card
    -Close locked out screen when there are no more active lockouts due to a lockout going out of location
    -Don’t navigate home when blocking websites
    -Don’t count launcher open when navigating home right before showing locked out screen
    -Removed brackets from usage percentage in pop-up
    -Updated master password
    -Updated to play-services-location:17.1.0
    -Updated to billing library 3.0.2 3.0.1 Fixes a bug with app being killed during purchase flow
    -Updated BillingManager (2020.12.11) to notify billing listener when there’s an error in querySkuDetailsAsync or consumeAsync
    -Moved initialization of BillingManager to onStart and destroying to onStop to prevent multiple activities that are still in memory getting callbacks

    6.0.9 (2020.09.24)

    -Fixed crash on Android 11 before device unlocked for the first time

    6.0.8 (2020.09.21)
    -Fixed rare bug causing very high usage after system time changes
    -Fixed long lockout title overlapping lockout icons
    -Update time last auto locked for usage rules after time change so that changing time doesn’t start another lockout
    -Update pending app lists after time change
    -Reset reset alarm after time change
    -Made default lockout mode for new lockouts blocked apps mode
    -Made default usage rule for new lockouts time spent in apps
    -Restored compileSdkVersion to 30 (Android 11)

    6.0.7 (2020.09.09)
    -Fixed a bug where duration based lockouts were rescheduled into the future after reboot instead of continuing

    6.0.6 (2020.09.02)

    -Added Arabic translation (Thanks Ammar!)
    -Added support for RTL layouts
    -Updated website blocking for Firefox
    -Fixed missing apps in app lists on Android 11: added QUERY_ALL_APPS permission
    -Increased margins on About dialog to match other dialogs
    -Fixed not unregistering receiver in DetectionAccessibilityService on Android < N
    -Updated translations

    6.0.5 (2020.08.26)
    -Fixed loading selection not working on first try
    -Fixed permission required dialog for accessibility when it's already on
    -Don’t ask for accessibility permission when opening choose urls dialog without checkbox checked
    -Don’t ask for entry password when rotating
    -Don’t show close button on locked out screen if unable to detect apps
    -Don’t show change not allowed messaging when disabling blocking websites after pressing cancel on accessibility required dialog
    -Moved add lockout buttons to top of lists
    -Added Romanian translation (Thanks LMG!)
    -Built for Android 11

    6.0.4 (2020.08.22)
    -Animate appearance / disappearance of lockouts on locked out screen
    -Added close button to locked out screen unless lock screen only lockout
    -Fixed possibly corrupted usage statistics from 6.0.3 update
    -Fixed crashes due to index out of bounds in updatePendingListsForLockoutsAndUsageRulesOrSetAlarmsTo
    -Updated French translation

    6.0.3 (2020.08.19)
    -Added French translation (thanks ppp!)
    -Fixed apps getting stuck as detected on some devices after split screen
    -Prevent pop-out windows showing over LMO on Samsung devices
    -Fixed app being killed while getting permissions when hide from recent apps selected
    -Navigate home when blocking so background video/audio stops
    -Animate appearance / disappearance of locked out screen
    -Animated time range if enforcement active, and lock icons if lockout is active
    -Fixed tamper protection showing when “time zone” detected outside of settings
    -Faded out colors for icons/text for disabled lockouts
    -Fixed showing locked out screen when adding or starting lockout, or when emergency allowance ends, or when unlocking screen while in LMO with lock screen only lockout
    -Restart Settings if blocked on all Android versions instead of just 8+
    -Removed extend button
    -Red snackbar background to make them more obvious
    -Fixed dragging lockout dropping from drag when lockouts updated by service
    -Record full amount of time for each open app when showing multiple apps or else could use it to double usage in split screen
    -Show clock time on active lockout card in addition to time remaining
    -Colored ockout cards on locked out screen red
    -Re-inflate and initialize views every time overlay shown to apply any font changes
    -Fixed start receiver not setting alarms on LOCKED_BOOT_COMPLETED
    -Added confirmation dialog to uninstall menu item
    -Used same resource in nav drawer for icon as in locked out screen as it could have been shaped differently on different devices!
    -Register service for TimeZoneChanged and TimeChanged broadcasts as they happen instantaneously that way and could be quite delayed on some devices otherwise
    -Update time references and lockout times when time manually changed so it doesn’t mess up statistics and lockout durations
    -Increase size of day picker toggle buttons with text size by making the ToggleButton’s layout’s size sp (not changing the size in the shape drawable)
    -Updated to appcompat 1.2.0
    ***-Added links to changelog and translators into about dialog and onto website***

    6.0.2 (2020.07.23)
    -Improved website blocking
    -Added Spanish translation (Thanks Nicolás!)
    -Fixed not being able to toggle emergency allowance button back on without restarting
    -Fixed uninstall protection on Huawei phones
    -Fixed apps possibly getting stuck as detected
    -Fixed interrupted but successful paid exit not ending lockout
    -Fixed using back button closing app when hide from recents is selected
    -Don’t reset averages automatically
    -Layout tweaks
    [-Fixed large margin on DND switch]
    [-Fixed finishing payment not closing payment activity if still have active lockouts]
    [-Added Firefox beta, Firefox Focus, Spin browsers, Samsung beta browser]
    [-Don’t navigate home when going back from locked out screen after blocking website]
    [-Detect whole words for settings protection]
    [-Fixed being able to select more than 10 free apps by searching]
    [-Improved tamper protection by also going back (faster for slow phones)]
    [-Added Spanish store description]
    ***[-Set all dialog titles to gravity center so that if it goes to 2 lines the text is still centered]***
    ***[-Updated BillingManager 2020.07.02]***
    ***[-Updated app detection method with hashMap]***

    6.0.1 (2020.06.23)
    -Fixed crash when choosing excluded apps for the first time
    -Fixed being able to go home during lockscreen only lockout
    -Fixed emergency access number of seconds not showing seconds once past a minute
    -Hide from recent apps even when not in lockout [ask for tamper protection password if want to change it]
    -Fixed not hiding from recent apps when using back button
    -Fixed asking for tamper password letting you into settings without entry password
    -Added Samsung browser
    -Added Russian, Czech and Turkish translations
    [-Updated to billing library 3.0.0]
    [-Added singular “location”]
    [-Made admin receiver show message when trying to disable]

    6.0.0 (2020.06.15)
    -Start lockout while scheduling even if current, instead of tomorrow
    -Allow changes during lockouts if more strict
    -Fixed blocking apps in “pop-up" windows and split screen on Samsung devices
    -Redesigned Locked Out screen
    -Added button to extend active lockout 10m
    -Only block URLs found in the browser’s URL bar, not anywhere on the page
    -Start immediately after boot before first unlock
    -Prevent changes to excluded apps
    -Many other fixes and improvements
    [-Don’t block cnn.com if blocking nn.com, except if it doesn’t contain . ,and so acting more like a keyword within urls]
    [-Fixed being able to clear a list during lockout if not using a named list]
    [-Show lockout name for usage-based lockout notifications]
    [-Don’t apply change instead of disabling lockout when answering no to warning dialog]
    [-Fixed changing saved list not updating the same lockout’s other lists]
    [-Pay to end individual lockouts]
    [-Fixed being able to change an app list for another lockout using the same list during prevent changes time]
    [-Fixed incorrect percentage in pop-up after first unlock]
    [-Fine tuned all layout margins]
    [-Fixed showing 247 usage rules warning from OptionsActivity even if the usage rule wasn’t enabled]
    [-Make sure usage window is longer than screen usage limit by increasing it to the limit +1 min]
    [-Allow changes to usage monitoring and preventChangesDuringUsageEnforcement if usage lockouts not enabled]
    [-Reordered usage rules in ELA]
    [-Allow changes to switchLockRegularly and switchUsageLockouts if originally unchecked]
    [-Removed android:gravity=”fill” from RadioButtons with a drawable (lockout mode) so that if it goes to 2 lines the drawable is still centered with the radio button circle. We use fill to have the first line stay in line with the checkbox/radio button but the drawable for the radio button doesn’t seem to follow suit]
    [-Stop showing price on end early button]
    [-Hide keyboard when picking an app (after searching)]
    [-Made toggle buttons’ week letters gray when lockout disabled in miniLockout card]
    [-Set LOA as a singleTask so that tapping on notification still brings up LOA instead of main app if app left in memory when originally opened through LOA as root]
    [-added Intent.FLAG_ACTIVITY_CLEAR_TOP when launching activities from LOA or notifications so that it removes other activities that might have been on top when the task with the requested activity is brought forward]
    [-Capitalized all titles]
    [-Go back when blocked website found so you can actually return to the browser and go to a different website]
    [-Fixed not getting locked out of website if lockout starts or emergency access ends while on blocked website without touching]
    [-Fixed not getting locked out of website if scrolled down past address bar during emergency access]
    [-Fixed deleting blocked websites from list messing up]
    [-Fixed changing a named list affecting already enabled one-time lockouts]
    [-Shortened time pop-up with usage is shown]
    [-Fixed overactive accessibility service]
    [-Set LOA to not support split screen]
    [-Tweaked layout margins/padding for all dialogs to line up with buttons]
    [-Go back to clearing saved list name when using the deselect button]
    [-Increased max emergency access time to 300s and num unlocks, app launches to 300]
    [-Changed wording for option to show emergency access to signify the second number is a wait time]
    [-Prevent checking show pause button if changes are denied to usage rules]
    [-Expand One-time lockout mode & options at the same time to clean up UI]
    [-Show black overlay on older Android versions as well to protect against “app pinning”]
    [-Only go to home screen when pressing back from LOA so that emergency and early exit bring you back to blocked app]
    [-Fixed check for max number of enabled lockouts to take into account if scheduled lockouts and usage lockouts are enabled overall. Also check the number when switching scheduled lockouts/usage lockouts on and when entering ELA and disable them then]
    [-Don’t reset last time auto locked if changes denied to usage rule when removing excluded apps]
    [-Sort lists alphabetically in spinners]
    [-Fixed changing a list from SA not updating lists for usage rules]
    [-Show number of blocked/allowed/monitored apps / websites / locations]
    [-Delete named list by saving the selection without the name instead of saving as empty list with name]
    [-Fixed uninstalled apps not showing in saved lists]
    [-Clear listsToChangeTo whenever making an allowed change]
    [-Made title of ELA “Edit Lockout”]
    [-Added master password for forgotten passwords]
    [-Don’t show one-time lockout locking mode icon if no blocked apps]
    [-Removed ACCESS_BACKGROUND_LOCATION permission from manifest since we don’t need it with foregroundServiceType=”location”]
    [-Added action buttons back to side menu as well (we already had go premium)]
    [-Added a sixth payment level of $99.99 and re-organized choices into 2 columns of 3]
    [-Show what’s being blocked / allowed in usage summary/usage reminder/locked out notifications]
    [-Show what it’s blocking/allowing in usage rule summary]
    [-Added Chrome Beta to blocked browsers]
    [-Stop locking out to the lock screen if keep trying]
    [-Changed to locked out screen being shown through overlay instead of activity]
    [-New icon for location markers]
    [-Added white stroke for unselected locations]
    [-Fixed z-order: selected marker and circle now on top]
    [-Set stroke width according to screen density]
    [-Better protect against removing essential permissions during lockout (since we can’t reliably detect usage access and draw over other apps screens with accessibility service)]
    [-Show toast message and take them to re-enable when overlay permission missing]
    [-Show locked out screen when trying to disable Device Admin or Accessibility Service when caught by Accessibility Service during lockouts]
    [-Removed internet permission]
    [-Prevent access to LMO’s running services page through accessibility]
    [-Prevent changing time through accessibility]
    [-Prevent autoBackup by setting android:allowBackup=”false” so that reinstalling doesn’t restore their data. Makes it more annoying to uninstall and may prevent other crashes from updating from really old versions?]
    [-Added “com.android.providers.media” media storage app to global whitelist. Needed to pick ringtones on some devices?]
    [-Put AccessibilityService in its own process so that activities/IAB can be cleared from memory]
    [-Added detection of usage access, display over other apps (overlay) permissions, and app info page]
    [-Gave each usage lockout its own notification ids for reminder and locked out]
    [-Dismiss usage reminder notifications once their lockout starts or when the usage goes back under]
    [-Dismiss usage locked out notifications once their lockout is over]
    ***[-Changed Upgrade dialog to use drawables instead of unicode so it doesn’t look different on diff devices]***
    ***[-Show apps without launch intents (without launcher icons) and without blank icon in app lists even if not a system app. Needed for add-on packs like Captcha Pack for Sleep as Android]***
    ***[-Keep app icons blank for uninstalled apps when scrolling]***
    ***[-Updated billing library to 2.2.0]***
    ***[-Fixed Utils.startEmailIntent line breaks not working by switching from \n to <br> https://stackoverflow.com/questions...ne-breaks-in-preset-text-android/47276265]***
    ***[-Changed app detection method to hopefully prevent apps getting stuck as detected (happened to Teri and Jyotister)]***
    ***[-Added no thanks button to Upgrade/Donate dialogs (need to show a clear way out of a payment dialog)]***
    ***[-Capitalized button text for payment options / donate button]***
    ***[-Link to rate dialog from menu so they get the messaging first. Updated messaging]***
    ***[-Save last time upgrade dialog shown and use that for auto showing time]***
    ***[Moved upgrade dialog auto show to onSkuDetailsResponse so that listSkuDetails is ready in SA]***
    ***[-Changed email to send to [email protected] (“forward” email account on netfirm’s email settings)]***
    ***[-Made button in DonateDialog link to PayPal donation instead of IAP (donations are listed as not supported by IAP here: https://play.google.com/about/monetization-ads/payments/ )]***
    ***[-Consolidate method to detect foreground package names depending on Android version into Utils]***
    ***[-Start in “direct boot mode” before first unlock by adding tag to manifest and moving shared prefs, and adding intent filter for StartReceiver]***
    ***[-Updated ObscuredSharedPrefs to move shared prefs to device encrypted storage so app can start before unlocking in direct boot mode and PreferencesProvider for change in OSP constructor]***
    ***[-Updated BillingConstants, IabService and activities to use arrays of skus rather than checking each one]***

    5.4.0 (2020.02.22)
    -Added ability to block specific websites
    -Configurable wait time between emergency allowance
    -Show app usage when showing detected app pop-up
    -Prevent changes to emergency allowance time during lockouts
    -Delete a saved list by saving it empty
    -Identify blocked app/website on locked out screen
    -Show time left for longest lockout that includes app/website, not necessarily longest lockout
    -One-time lockout mode/options expanded by default
    -Fixed rare crash
    [-Only show you will be locked out to lockscreen if have device admin enabled]
    [-Fixed crash when deleting lockout and INTENT_LOCKOUTS_UPDATED fires after the deletion but before onDestroy is called to unregister the receiver]
    [-Set messaging to unable to detect apps in LOA instead of showing a toast]
    [-Removed FB SDK]
    [-Added line spacing multiplier to all checkboxes/radio buttons with clickable spans]
    [-Removed delete saved app lists menu option and removed the “more” section in menu, put all items together]
    [-Removed Catalan translation]
    ***[-Added spinnerInitialized back to all spinners as the post only seems to help after onRotate!]***

    5.3.4 (2020.01.25)
    -Fixed lockout not starting when starting at the same time as another ends while screen on
    -Fixed a couple of rare crashes
    -Updated look of nav menu title
    -Fixed some stats not updating when resuming to statistics from screen off
    ***[-Aligned “I understand” checkbox on the right]***
    ***[-Got rid of mapSkuPrices and mapSkuTrialDays]***
    [-Fixed rare NullPointerException in TimezoneChangedReceiver]
    [-Hopefully fixed missing usage rule crash by removing usage based lockouts without usage rules]

    5.3.3 (2020.01.13)
    -Fixed service crash when adding a new usage lockout
    -Fixed a rare crash
    -Don’t check location while screen off if DND / silent ringer does not need to be toggled
    [-Check location while screen off even if not already in lockout location if supposed to turn on DND/silent ringer]
    [-Tried to fix rare NullPointerException in TimezoneChangedReceiver]

    5.3.2 (2020.01.06)
    -Track DND status more efficiently, detect changes while screen off
    -Lock out if usage access permission removed during lockout
    -Don’t let changes to saved app lists affect active lockouts [or during usage enforcement]
    -Fixed service not restarting for out of location lockouts if usage monitoring disabled
    -Fixed modifying usage lockout app lists not modifying regular lockout app lists and vice versa
    -More efficient location checking
    -Don’t allow enabling the paid exit option during lockouts [reverted]
    [-Fixed not checking for location if usage monitoring turned off]
    [-Fixed black overlay sometimes not being removed]
    [-Show usage monitoring enabled message when automatically enabled. When showing usage statistics or when enabling usage rules]
    [-Fixed DND time miscalculation after disabling usage monitoring with DND on]
    [-Update DND switch when toggled externally]
    [-Fixed setRingerSilent adjustStreamVolume securityexception if permission not granted on N, O, P]
    [-Tried to fix the rare SecurityException for opening usageStats]
    [-Tried to fix rare NullPointerException in TimezoneChangedReceiver]
    [-Tried to fix rare NullPointerException in Lockout generateFreshStartAndEndTimes]
    [-Only updateScreenOnRecords when app changes instead of every time the check for latest foreground app runs]
    [-Check usage rules whenever foreground app changes to more quickly detect # times app opened]
    [-Don’t check location while screen off when not already in location lockout with dnd/silent ringer, even if awake]
    [-Check location again if opening LOA during in-location lockout]
    [-Fixed MS checking for lockouts twice when starting one time lockout]
    [-Fixed SA not binding to service after starting lockout if not already bound]

    5.3.1 (2019.12.16)
    -Fixed crash when getting DND permission from usage statistics screen
    -Show selected apps first in lists
    -Allow enabling paid exit option during lockouts

    5.3.0 (2019.12.14)
    -Added uninstall protection with password
    -Removed option to hide launcher icon
    -Include current location in map overview of locations
    -Always zoom in when tapping the my location button
    -Added Russian translation (Thanks Gaich @ XDA!)
    -Fixed rare crash [activity not found exception in UsageStatisticsActivity]
    -Default map type changed to satellite
    [-Do not show time left in lockouts that have not started yet, even if seamless]
    [-Fixed going back from change password dialog not un-checking checkbox]
    [-Fixed location change animating map after map loaded callback already set it to the overview of the locations]
    [-Fixed location not showing on map if location listener never registered b/c was already ideal]
    [-Fixed German translation]
    [-Fixed DND/silent not being automatically checked when going back from permission]
    [-Fixed going back (or clicking outside it) from permission warning dialogs not unchecking checkboxes]
    [-Increased min SDK to 18]

    5.2.2 (2019.12.02)
    -Block/allow as many apps as you want in free version! Premium version allows more than 3 enabled lockouts
    -New option to prevent changes to usage based lockouts during enforcement time
    -Fixed a rare crash
    -Fixed editing of active lockouts during 24/7 grace period not taking effect right away
    -Fixed emergency button not reappearing if resuming to locked out screen after the minute wait
    -Grey emergency button while not available
    -Fixed German translation (Thanks Stefan!)
    [-Always show icons on the right even when there’s no title]
    [-Collapsed mode/option for one-time lockout by default]
    [-Always kill LOA when leaving it like we used to (other than screen off/rotate) so that if we go to open LMO it doesn't open it, and so that messaging is right when opening from notification after having opened from unallowed app]
    [-Shortened dontkillmyapp warning message slightly in English]
    [-Updated FB SDK]

    5.2.1 (2019.11.08)
    -Fixed checking for location once location dependent lockout is over
    -Fixed not disappearing from recent apps if lockout started while app in the background
    -Added warning to enable lockout if just created and leaving
    -Changed default usage rule enforcement time to 8AM - 11PM
    -Changed 24/7 usage enforcement times to end one hour earlier. Can be changed back to 24/7 to see warning.
    -Update DND switch when lockouts updated
    -Added translations for German, French
    -Minor fixes
    [-Fixed LockoutLocation losing LatLng when switching minifyEnabled]
    [-If all lockouts end before alarm comes, don’t check again when alarm comes]
    [-Separated updateLists in SettingsActivity into updateListLockouts and updateUsageRules]
    [-Stopped most activities from listening for LOCKOUT_ENDED]
    [-Fixed “1 times” and changed all strings that had “times” already included in them as well to use the times substring]
    [-Changed unlocked over to unlocked more than]
    [-Changed “1 time” to once]
    [-Fixed issue with not setting end alarm for location based lockouts that never became active]
    [-Fixed Turkish translation for unlocks usage rule summary]
    [-Show times in MiniLockoutAdapter for lockouts that are 24/7 but don’t start at 12am]

    5.2.0 (2019.11.01)
    -New option to lock only at specific locations
    -Allow entry into app during lockouts
    -Start/schedule multiple one-time lockouts
    -Added confirmation dialog to delete a lockout
    -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 cancelling scheduled one-time lockout
    -Fixed silent mode not being set when DND on
    -Also prevent changes to DND and silent ringer
    [-Fixed scheduled lockouts master switch preventing changes without prevent changes setting selected]
    [-Added option to hide LMO from recent apps screen]
    [-Fixed settings app not blocked during emergency access for lockscreen only mode]
    [-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]
    [-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]
    [-Put package name on next line for show detected app]
    [-Made time zone change adjust start and end times for all “clock-relative” lockouts (one-time until and schedule, and repeating). Remove (one-time)/reschedule (repeating) if already past the clock time, but start if would currently be in the lockout. Leave lockout for the future if clock time went backwards.]
    [-Dropped support for Chinese]
    ***[-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]***
    ***[-Fixed incorrect # free trial days. Change in onSkuDetailsResponse]***

    5.1.1 (2019.08.15)
    -Improved app detection and blocking during split screen
    -Fixed not being able to modify lockout starting soon while setting times
    -Black screen out until Locked Out Screen shows on Android Q
    -Fixed app usage detection on Android 5 and older
    -Fixed app usage not counting when app opened before enforcement start time
    -Fixed long app names overlaying usage metrics
    -Don’t grey out the other one-time lockout button, just cancel the countdown if pressed
    [-Hide DND option for one-time lockouts on Android 6 and older]
    [-Made getTimeScreenOnAppsWithinUsageWindow more efficient]
    [-Show dialog to request overlay permission on Android Q]
    [-Changed formatting of detected app string]
    [-REVERT using Intent.FLAG_ACTIVITY_TASK_ON_HOME Activity flag instead of actually navigating to HOME separately so that it works in split-screen]
    [-Updated FB SDK to 5.2.0]
    ***[-Fixed FB purchase logging by fixing proguard file (adding { *; } to end of “-keep class com.android.vending.billing.**”]***
    1
    Problem was non-default camera application. I have more apps so every time camera is started it asks which one should be used.
    When phone is locked it is impossible to use camera due this behavior.
    Choosing default camera app (use always, not once) fixes it :cool:
    1
    Nice app man.....needed something like this since first day I got on XDA
    1
    I just published a long overdue (albeit small) update. It should be available in about an hour on the store, or download it here (attached).

    1.2.2
    -Dynamically set the minimum password length (will help with some devices that would not actually set blank PINs and remain locked).
    -Fixed a rare issue with the recognition of purchases and the purchase system.
    -Updated to newest libraries and built with Marshmallow SDK.