Restrictions Manager

Mechanism to register a provider for requesting an
administrator to respond to permission requests.

Request format and response format constants.

Description of manifest template for static restrictions.
Int type introduced in RestrictionEntry.

Needs more javadoc and better description of manifest templates,
including specifying the XML attributes.

Change-Id: I5a654d364e98379fc60f73db2e06bf9a8310263d
This commit is contained in:
Amith Yamasani
2014-05-24 15:34:37 -07:00
parent 1d4306991b
commit f20d640fa2
15 changed files with 778 additions and 62 deletions

View File

@ -80,6 +80,7 @@ import com.android.server.pm.PackageManagerService;
import com.android.server.pm.UserManagerService;
import com.android.server.power.PowerManagerService;
import com.android.server.power.ShutdownThread;
import com.android.server.restrictions.RestrictionsManagerService;
import com.android.server.search.SearchManagerService;
import com.android.server.statusbar.StatusBarManagerService;
import com.android.server.storage.DeviceStorageMonitorService;
@ -940,6 +941,12 @@ public final class SystemServer {
reportWtf("starting Print Service", e);
}
try {
mSystemServiceManager.startService(RestrictionsManagerService.class);
} catch (Throwable e) {
reportWtf("starting RestrictionsManagerService", e);
}
try {
mSystemServiceManager.startService(MediaSessionService.class);
} catch (Throwable e) {