commit | 32bef9c5caef0d40aafd7c14c8195cda3c411ee4 | [log] [tgz] |
---|---|---|
author | Jing Ji <jji@google.com> | Thu Mar 24 10:09:11 2022 -0700 |
committer | Jing Ji <jji@google.com> | Fri Mar 25 14:00:58 2022 -0700 |
tree | 83a459098a346b14ac1ff740b01ecbed1be1ea3f | |
parent | 1caf8b928ec0085a4995bf894a332a10f16db5ce [diff] |
Use the reason code from standby bucketing in bg restriction if needed If the bg restriction level is inferred from the app standby bucket, use the reason code from the app standby as the one of being in such a bg restriction level. Also fixed an issue where we'd need to restrict the offending bg apps when it's backgrounded. Bug: 225951652 Bug: 203105544 Test: atest FrameworksMockingServicesTests:BackgroundRestrictionTest Change-Id: I5925e90e19d2f8c99d43c0637560d8629c887ed4