summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Pavel Grafov <pgrafov@google.com> 2023-10-31 10:34:37 +0000
committer Pavel Grafov <pgrafov@google.com> 2023-11-02 11:26:58 +0000
commitc600a4415959227e387bbbae4306f4a670b95286 (patch)
treec6ded9dbaa18b65d9dba55969ef95f6f241f8fa8 /api/api_test.go
parent929887c39297578519e266f9e658e32b4cdd2164 (diff)
Delete TurnOffWork 2.0 code
Most of the change just deleted dead code - the flag for the feature has been hard coded as false and could only be manipulated via TestAPI that was only used in already disabled tests. To support upgrades from builds that had the feature turned on, this CL preserves the functionality of unsuspending work apps during boot if necessary. For that the now removed SPH.setPackagesSuspendedForQuietMode is functionally inlined into DPMS code. Bug: 306606563 Test: btest a.d.c.QuietModeTest Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest Test: atest SuspendPackageHelperTest Test: atest CtsSuspendAppsTestCases Test: atest WmTests:ActivityStartInterceptorTest Test: manual, OTA from early U build with the feature enabled Change-Id: Ib9d749348f9b75b472aad479ad5eb9fff608f71b
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions