Revert "Fix the build"
This reverts commit 18c5fb7c2c, which
disabled the trust agent whitelisting in the sample device admin. Now
that the API is re-enabled, that code should be too.
Bug: 19461292
Change-Id: I85e3b4dcaab500ea9dd4b7e75490ca840ff396be
This commit is contained in:
@@ -406,8 +406,7 @@ public class DeviceAdminSample extends PreferenceActivity {
|
|||||||
if (featureString != null) {
|
if (featureString != null) {
|
||||||
PersistableBundle bundle = new PersistableBundle();
|
PersistableBundle bundle = new PersistableBundle();
|
||||||
bundle.putStringArray("features", featureString.split(","));
|
bundle.putStringArray("features", featureString.split(","));
|
||||||
Log.w(TAG, "setTrustAgentConfigurat() is disabled");
|
mDPM.setTrustAgentConfiguration(mDeviceAdminSample, agent, bundle);
|
||||||
// mDPM.setTrustAgentConfiguration(mDeviceAdminSample, agent, bundle);
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Log.w(TAG, "Invalid component: " + component);
|
Log.w(TAG, "Invalid component: " + component);
|
||||||
|
|||||||
Reference in New Issue
Block a user