From 6042fca3f2b4bd2157c422a0c1262bf29218db58 Mon Sep 17 00:00:00 2001 From: Wei Sheng Shih Date: Wed, 6 Mar 2019 09:15:17 +0000 Subject: [PATCH] Revert "API tweaks" This reverts commit f3e0eb8b0c9e334138b0e663dfb498e34144877b. Reason for revert: Droid Cop revert this CL due to it cause Cts fail on PermissionPolicyTest.testPlatformPermissionPolicyUnaltered Change-Id: I062b2b9f25dbf388940930a81fd8e036b82b7f45 --- api/current.txt | 1 - api/system-current.txt | 4 ++++ api/test-current.txt | 4 ++++ core/res/AndroidManifest.xml | 4 ++-- .../android/telecom/PhoneAccountSuggestion.java | 13 +++++-------- 5 files changed, 15 insertions(+), 11 deletions(-) diff --git a/api/current.txt b/api/current.txt index 8ab7b19b70e43..9ebd4b4f18bef 100755 --- a/api/current.txt +++ b/api/current.txt @@ -41736,7 +41736,6 @@ package android.telecom { } public final class PhoneAccountSuggestion implements android.os.Parcelable { - ctor public PhoneAccountSuggestion(@NonNull android.telecom.PhoneAccountHandle, int, boolean); method public int describeContents(); method @NonNull public android.telecom.PhoneAccountHandle getPhoneAccountHandle(); method public int getReason(); diff --git a/api/system-current.txt b/api/system-current.txt index 46c420a572cdc..fd6a37c135a07 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -5412,6 +5412,10 @@ package android.telecom { field public static final int CAPABILITY_MULTI_USER = 32; // 0x20 } + public final class PhoneAccountSuggestion implements android.os.Parcelable { + ctor public PhoneAccountSuggestion(@NonNull android.telecom.PhoneAccountHandle, int, boolean); + } + public class PhoneAccountSuggestionService extends android.app.Service { ctor public PhoneAccountSuggestionService(); method public void onAccountSuggestionRequest(@NonNull String); diff --git a/api/test-current.txt b/api/test-current.txt index 73910254b8504..271f7cbfa8236 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -1443,6 +1443,10 @@ package android.telecom { method public android.telecom.Connection getPrimaryConnection(); } + public final class PhoneAccountSuggestion implements android.os.Parcelable { + ctor public PhoneAccountSuggestion(@NonNull android.telecom.PhoneAccountHandle, int, boolean); + } + public class PhoneAccountSuggestionService extends android.app.Service { ctor public PhoneAccountSuggestionService(); method public void onAccountSuggestionRequest(@NonNull String); diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 35bc46ae33ab7..e40d97bb1396d 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -1839,12 +1839,12 @@ + android:protectionLevel="signature|privileged" />