Allow registration of AppUsageLimitObservers with 0 time limit.
A wellbeing app can now register AppUsageLimit observers with a time limit of 0 seconds. There will be no callback intent fired in this case. Bug: 123899673 Test: atest FrameworksServicesTests:AppTimeLimitControllerTests#testAppUsageLimitObserver_ZeroTimeLimitIsAllowed Test: atest android.content.pm.cts.LauncherAppsTest#testGetAppUsageLimit_allowsZeroLimit Change-Id: I9cdff21bcfa72f202699cea288e703f35a4f158f
Loading
Please register or sign in to comment