OSDN Git Service

am 91648629: Merge "Follow API change for method name" into lmp-dev
authorAmith Yamasani <yamasani@google.com>
Fri, 5 Sep 2014 19:53:27 +0000 (19:53 +0000)
committerAndroid Git Automerger <android-git-automerger@android.com>
Fri, 5 Sep 2014 19:53:27 +0000 (19:53 +0000)
* commit '9164862936dc439045d35670909385defb281395':
  Follow API change for method name

src/com/android/settings/RestrictedSettingsFragment.java

index 142a42c..7d7599f 100644 (file)
@@ -141,7 +141,7 @@ public class RestrictedSettingsFragment extends SettingsPreferenceFragment {
     private void ensurePin() {
         if (!mChallengeSucceeded && !mChallengeRequested
                 && mRestrictionsManager.hasRestrictionsProvider()) {
-            Intent intent = mRestrictionsManager.getLocalApprovalIntent();
+            Intent intent = mRestrictionsManager.createLocalApprovalIntent();
             if (intent != null) {
                 mChallengeRequested = true;
                 mChallengeSucceeded = false;