OSDN Git Service

Make DevicePolicyManagerService more customizable (per-device).
authorLenka Trochtova <ltrochtova@google.com>
Mon, 16 Oct 2017 16:41:39 +0000 (18:41 +0200)
committerLenka Trochtova <ltrochtova@google.com>
Thu, 30 Nov 2017 09:27:35 +0000 (10:27 +0100)
commit031a2f1aafbc4e39ab5601567862d498e8949538
tree66cfedb4c02c51a7635ad56d75b87e606f85a3eb
parent05013b377266f9e4e2651c6aa819960479dc3676
Make DevicePolicyManagerService more customizable (per-device).

Add a config to override the DPMS implementation class to
be instantiated from the Lifecycle.
Add a hasFeature method to the Injector class.

BUG: 63753860
Test: manual with TestDPC

Change-Id: I71ef518c49b2233744defdfb7c31019cb228d678
core/res/res/values/config.xml
core/res/res/values/symbols.xml
services/devicepolicy/java/com/android/server/devicepolicy/BaseIDevicePolicyManager.java [new file with mode: 0644]
services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java