Bug 1925786 - Add targetApi annotations to various autofill functions. r=android-reviewers,mcarare
Needed for lint failures such as: Error: <org.mozilla.fenix.autofill.AutofillUnlockActivity> requires API level 26 (current min is 21) [NewApi] Differential Revision: https://phabricator.services.mozilla.com/D226231
This commit is contained in:
@@ -132,18 +132,21 @@
|
||||
</activity>
|
||||
|
||||
<activity android:name=".autofill.AutofillUnlockActivity"
|
||||
tools:targetApi="o"
|
||||
android:exported="false"
|
||||
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
|
||||
|
||||
<activity android:name=".autofill.AutofillConfirmActivity"
|
||||
tools:targetApi="o"
|
||||
android:exported="false"
|
||||
android:theme="@style/Theme.AppCompat.Translucent" />
|
||||
|
||||
<activity android:name=".autofill.AutofillSearchActivity"
|
||||
tools:targetApi="o"
|
||||
android:exported="false" />
|
||||
|
||||
<service
|
||||
android:name=".autofill.AutofillService"
|
||||
<service android:name=".autofill.AutofillService"
|
||||
tools:targetApi="o"
|
||||
android:label="@string/app_name"
|
||||
android:exported="true"
|
||||
android:permission="android.permission.BIND_AUTOFILL_SERVICE">
|
||||
|
||||
@@ -312,14 +312,17 @@
|
||||
android:exported="false" />
|
||||
|
||||
<activity android:name=".autofill.AutofillUnlockActivity"
|
||||
tools:targetApi="o"
|
||||
android:exported="false"
|
||||
android:theme="@style/Theme.AppCompat.Translucent" />
|
||||
|
||||
<activity android:name=".autofill.AutofillConfirmActivity"
|
||||
tools:targetApi="o"
|
||||
android:exported="false"
|
||||
android:theme="@style/Theme.AppCompat.Translucent" />
|
||||
|
||||
<activity android:name=".autofill.AutofillSearchActivity"
|
||||
tools:targetApi="o"
|
||||
android:exported="false"
|
||||
android:theme="@style/DialogActivityTheme" />
|
||||
|
||||
@@ -327,8 +330,8 @@
|
||||
android:name=".messaging.NotificationClickedReceiverActivity"
|
||||
android:exported="false" />
|
||||
|
||||
<service
|
||||
android:name=".autofill.AutofillService"
|
||||
<service android:name=".autofill.AutofillService"
|
||||
tools:targetApi="o"
|
||||
android:exported="true"
|
||||
android:label="@string/app_name"
|
||||
android:permission="android.permission.BIND_AUTOFILL_SERVICE">
|
||||
|
||||
Reference in New Issue
Block a user