Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 250f9f90 authored by Kweku Adams's avatar Kweku Adams
Browse files

Only note restrictions attempts for RESTRICTED bucket.

We don't want to put an app in the RESTRICTED bucket too soon after
a user has used the app. If the system attempts to restrict the app
(probably through the restrictApp() API), and the user has recently
used the app, then we'll note the restriction attempt and delay
putting the app into the bucket until our min delay time has passed.
Now, we make sure to only note the restriction attempt when the bucket
is the RESTRICTED bucket.

Bug: 223863858
Test: atest FrameworksMockingServicesTests:AppStandbyControllerTests
Change-Id: Iaf6647bfd8a72206f2b80df8b21d2446f4eeb291
parent 7073d3bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment