Prototype Spaceship mode qstile

Initial prototype disabling location/sensors and enabling airplane mode.
Camera/Mic will come in a followup.

Test: manual
Bug: 110842805
Change-Id: I26132fcc9ffea83e3e78a0e54882d23c99ee590c
This commit is contained in:
Chad Brubaker
2018-10-19 10:26:19 -07:00
committed by Michael Groover
parent e533100d2e
commit 90f391fe87
23 changed files with 1019 additions and 4 deletions

View File

@@ -724,6 +724,10 @@ public final class SystemServer {
mSystemServiceManager.startService(new OverlayManagerService(mSystemContext, installer));
traceEnd();
traceBeginAndSlog("StartSensorPrivacyService");
mSystemServiceManager.startService(new SensorPrivacyService(mSystemContext));
traceEnd();
// The sensor service needs access to package manager service, app ops
// service, and permissions service, therefore we start it after them.
// Start sensor service in a separate thread. Completion should be checked