diff options
author | Varun Shah <varunshah@google.com> | 2019-02-07 10:21:17 -0800 |
---|---|---|
committer | Varun Shah <varunshah@google.com> | 2019-02-08 11:42:45 -0800 |
commit | 54f7f7f903fbdc9a0b4bd54874963ff5bf1a80fb (patch) | |
tree | bb5fd0b47ad93bc0b3925ef375f4ba674e8fa781 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | f28075bf004e78aae0209886b397b948ccc6fcaa (diff) |
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
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions