am 6de6199a: am 6b71eada: am 221281ce: Merge "Rename getLocalApprovalIntent to createLocalApprovalIntent" into lmp-dev
* commit '6de6199a7a9df4f5c495a7a038a71b67e29acb93': Rename getLocalApprovalIntent to createLocalApprovalIntent
This commit is contained in:
@@ -30,5 +30,5 @@ interface IRestrictionsManager {
|
||||
void requestPermission(in String packageName, in String requestType, in String requestId,
|
||||
in PersistableBundle requestData);
|
||||
void notifyPermissionResponse(in String packageName, in PersistableBundle response);
|
||||
Intent getLocalApprovalIntent();
|
||||
Intent createLocalApprovalIntent();
|
||||
}
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user