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

Skip to content
Commit c600a441 authored by Pavel Grafov's avatar Pavel Grafov
Browse files

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
parent 929887c3
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