diff options
| author | Amith Yamasani <yamasani@google.com> | 2014-09-05 10:51:13 -0700 |
|---|---|---|
| committer | Amith Yamasani <yamasani@google.com> | 2014-09-05 10:51:13 -0700 |
| commit | 51a0e5b54680c659f333f186be1cf86d365e0db5 (patch) | |
| tree | f910f4bf49b05d7f64cb90b87fb6326c4f93273b /core/java/android/content/RestrictionsManager.java | |
| parent | 450592d37c8cff57bec754f89f45a8a21297510d (diff) | |
| download | frameworks_base-51a0e5b54680c659f333f186be1cf86d365e0db5.zip frameworks_base-51a0e5b54680c659f333f186be1cf86d365e0db5.tar.gz frameworks_base-51a0e5b54680c659f333f186be1cf86d365e0db5.tar.bz2 | |
Rename getLocalApprovalIntent to createLocalApprovalIntent
Based on API review.
Bug: 17389920
Change-Id: I84674f25a84d317f017473b6f4ac19c849079323
Diffstat (limited to 'core/java/android/content/RestrictionsManager.java')
| -rw-r--r-- | core/java/android/content/RestrictionsManager.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/content/RestrictionsManager.java b/core/java/android/content/RestrictionsManager.java index 849df55..21a6a0d 100644 --- a/core/java/android/content/RestrictionsManager.java +++ b/core/java/android/content/RestrictionsManager.java @@ -155,7 +155,7 @@ public class RestrictionsManager { * The intent must contain {@link #EXTRA_REQUEST_BUNDLE} as an extra and the bundle must * contain at least {@link #REQUEST_KEY_MESSAGE} for the activity to display. * <p> - * @see #getLocalApprovalIntent() + * @see #createLocalApprovalIntent() */ public static final String ACTION_REQUEST_LOCAL_APPROVAL = "android.content.action.REQUEST_LOCAL_APPROVAL"; @@ -473,10 +473,10 @@ public class RestrictionsManager { } } - public Intent getLocalApprovalIntent() { + public Intent createLocalApprovalIntent() { try { if (mService != null) { - return mService.getLocalApprovalIntent(); + return mService.createLocalApprovalIntent(); } } catch (RemoteException re) { Log.w(TAG, "Couldn't reach service"); |
