Explicitly enable resizable activities

This commit is contained in:
M66B
2023-02-10 21:07:43 +01:00
parent b6597e675c
commit a43837aa19
5 changed files with 160 additions and 60 deletions

View File

@@ -153,6 +153,7 @@
android:exported="true"
android:label="@string/app_name"
android:launchMode="singleInstance"
android:resizeableActivity="true"
android:theme="@style/Theme.AppCompat.Translucent">
<meta-data
@@ -199,6 +200,7 @@
android:exported="false"
android:launchMode="singleTask"
android:parentActivityName=".ActivityMain"
android:resizeableActivity="true"
android:taskAffinity="${applicationId}.SETUP" />
<activity
@@ -206,11 +208,13 @@
android:exported="false"
android:launchMode="singleTask"
android:parentActivityName=".ActivitySetup"
android:resizeableActivity="true"
android:taskAffinity="${applicationId}.SETUP" />
<activity
android:name=".ActivityWidget"
android:exported="true">
android:exported="true"
android:resizeableActivity="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
@@ -219,7 +223,8 @@
<activity
android:name=".ActivityWidgetSync"
android:exported="true">
android:exported="true"
android:resizeableActivity="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
@@ -228,7 +233,8 @@
<activity
android:name=".ActivityWidgetUnified"
android:exported="true">
android:exported="true"
android:resizeableActivity="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
@@ -239,7 +245,8 @@
android:name=".ActivityView"
android:exported="false"
android:launchMode="singleTask"
android:parentActivityName=".ActivityMain" />
android:parentActivityName=".ActivityMain"
android:resizeableActivity="true" />
<activity
android:name=".ActivitySearch"
@@ -249,6 +256,7 @@
android:icon="@mipmap/ic_launcher"
android:label="@string/app_search"
android:launchMode="singleTask"
android:resizeableActivity="true"
android:theme="@style/Theme.AppCompat.Translucent">
<intent-filter>
@@ -274,7 +282,8 @@
android:exported="true"
android:icon="@drawable/twotone_reply_24"
android:label="@string/app_answer"
android:launchMode="singleTask">
android:launchMode="singleTask"
android:resizeableActivity="true">
<intent-filter>
<action android:name="android.intent.action.PROCESS_TEXT" />
@@ -289,7 +298,8 @@
android:exported="true"
android:label="@string/app_name"
android:launchMode="singleTask"
android:parentActivityName=".ActivityView">
android:parentActivityName=".ActivityView"
android:resizeableActivity="true">
<meta-data
android:name="android.service.chooser.chooser_target_service"
android:value="androidx.sharetarget.ChooserTargetServiceCompat" />
@@ -322,12 +332,14 @@
android:name=".ActivityClear"
android:excludeFromRecents="true"
android:exported="false"
android:launchMode="singleInstance" />
android:launchMode="singleInstance"
android:resizeableActivity="true" />
<activity
android:name=".ActivityError"
android:exported="false"
android:launchMode="singleTask" />
android:launchMode="singleTask"
android:resizeableActivity="true" />
<activity
android:name=".ActivityEML"
@@ -335,7 +347,8 @@
android:exported="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:launchMode="singleInstance">
android:launchMode="singleInstance"
android:resizeableActivity="true">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
@@ -371,7 +384,8 @@
android:exported="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:launchMode="singleInstance">
android:launchMode="singleInstance"
android:resizeableActivity="true">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
@@ -393,7 +407,8 @@
android:exported="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:launchMode="singleInstance">
android:launchMode="singleInstance"
android:resizeableActivity="true">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
@@ -414,7 +429,8 @@
android:exported="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:launchMode="singleInstance">
android:launchMode="singleInstance"
android:resizeableActivity="true">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
@@ -434,6 +450,7 @@
android:exported="false"
android:icon="@mipmap/ic_launcher"
android:launchMode="singleTask"
android:resizeableActivity="true"
android:taskAffinity="${applicationId}.BILLING" />
<!-- https://developer.android.com/training/permissions/explaining-access -->
@@ -446,6 +463,7 @@
android:label="@string/app_name"
android:launchMode="singleTask"
android:permission="android.permission.START_VIEW_PERMISSION_USAGE"
android:resizeableActivity="true"
android:theme="@style/Theme.AppCompat.Translucent">
<intent-filter>
<action android:name="android.intent.action.VIEW_PERMISSION_USAGE" />
@@ -458,6 +476,7 @@
<activity
android:name="net.openid.appauth.RedirectUriReceiverActivity"
android:exported="true"
android:resizeableActivity="true"
android:taskAffinity="${applicationId}.SETUP"
tools:node="replace">
<intent-filter android:autoVerify="false">
@@ -497,6 +516,7 @@
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|keyboard|keyboardHidden"
android:exported="false"
android:launchMode="singleTask"
android:resizeableActivity="true"
android:taskAffinity="${applicationId}.SETUP"
android:theme="@style/Theme.AppCompat.Translucent.NoTitleBar"
tools:node="replace" />