Loading core/java/android/service/autofill/AutofillServiceInfo.java +4 −5 Original line number Diff line number Diff line Loading @@ -29,11 +29,12 @@ import android.os.RemoteException; import android.util.AttributeSet; import android.util.Log; import android.util.Xml; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; import com.android.internal.R; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; import java.io.IOException; /** Loading Loading @@ -89,9 +90,7 @@ public final class AutofillServiceInfo { @Nullable private static TypedArray getMetaDataArray(PackageManager pm, ServiceInfo si) { // Check for permissions. // TODO(b/37563972): remove support to BIND_AUTOFILL once clients use BIND_AUTOFILL_SERVICE if (!Manifest.permission.BIND_AUTOFILL_SERVICE.equals(si.permission) && !Manifest.permission.BIND_AUTOFILL.equals(si.permission)) { if (!Manifest.permission.BIND_AUTOFILL_SERVICE.equals(si.permission)) { Log.w(TAG, "AutofillService from '" + si.packageName + "' does not require permission " + Manifest.permission.BIND_AUTOFILL_SERVICE); throw new SecurityException("Service does not require permission " Loading core/res/AndroidManifest.xml +0 −4 Original line number Diff line number Diff line Loading @@ -2635,10 +2635,6 @@ <permission android:name="android.permission.BIND_AUTOFILL_SERVICE" android:protectionLevel="signature" /> <!-- @hide TODO(b/37563972): remove once clients use BIND_AUTOFILL_SERVICE --> <permission android:name="android.permission.BIND_AUTOFILL" android:protectionLevel="signature" /> <!-- Must be required by hotword enrollment application, to ensure that only the system can interact with it. @hide <p>Not for use by third-party applications.</p> --> Loading Loading
core/java/android/service/autofill/AutofillServiceInfo.java +4 −5 Original line number Diff line number Diff line Loading @@ -29,11 +29,12 @@ import android.os.RemoteException; import android.util.AttributeSet; import android.util.Log; import android.util.Xml; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; import com.android.internal.R; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; import java.io.IOException; /** Loading Loading @@ -89,9 +90,7 @@ public final class AutofillServiceInfo { @Nullable private static TypedArray getMetaDataArray(PackageManager pm, ServiceInfo si) { // Check for permissions. // TODO(b/37563972): remove support to BIND_AUTOFILL once clients use BIND_AUTOFILL_SERVICE if (!Manifest.permission.BIND_AUTOFILL_SERVICE.equals(si.permission) && !Manifest.permission.BIND_AUTOFILL.equals(si.permission)) { if (!Manifest.permission.BIND_AUTOFILL_SERVICE.equals(si.permission)) { Log.w(TAG, "AutofillService from '" + si.packageName + "' does not require permission " + Manifest.permission.BIND_AUTOFILL_SERVICE); throw new SecurityException("Service does not require permission " Loading
core/res/AndroidManifest.xml +0 −4 Original line number Diff line number Diff line Loading @@ -2635,10 +2635,6 @@ <permission android:name="android.permission.BIND_AUTOFILL_SERVICE" android:protectionLevel="signature" /> <!-- @hide TODO(b/37563972): remove once clients use BIND_AUTOFILL_SERVICE --> <permission android:name="android.permission.BIND_AUTOFILL" android:protectionLevel="signature" /> <!-- Must be required by hotword enrollment application, to ensure that only the system can interact with it. @hide <p>Not for use by third-party applications.</p> --> Loading