From fcc638d58a3f9e21ba51dcdd5d0838d3dfdfae95 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Wed, 25 Feb 2015 10:34:34 -0800 Subject: [PATCH] Fix the build This API was hidden for MR1. Bug 19461292 Change-Id: Ib0a5ca536e843c91a142faeeccf684294aa3e274 --- .../src/com/example/android/apis/app/DeviceAdminSample.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/ApiDemos/src/com/example/android/apis/app/DeviceAdminSample.java b/samples/ApiDemos/src/com/example/android/apis/app/DeviceAdminSample.java index 71badcdf7..15fbdc12e 100644 --- a/samples/ApiDemos/src/com/example/android/apis/app/DeviceAdminSample.java +++ b/samples/ApiDemos/src/com/example/android/apis/app/DeviceAdminSample.java @@ -406,7 +406,8 @@ public void run() { if (featureString != null) { PersistableBundle bundle = new PersistableBundle(); bundle.putStringArray("features", featureString.split(",")); - mDPM.setTrustAgentConfiguration(mDeviceAdminSample, agent, bundle); + Log.w(TAG, "setTrustAgentConfigurat() is disabled"); + // mDPM.setTrustAgentConfiguration(mDeviceAdminSample, agent, bundle); } } else { Log.w(TAG, "Invalid component: " + component);