Merge "Remove old ChooserActivity from manifest" into udc-dev

This commit is contained in:
Matt Casey
2023-05-13 02:36:21 +00:00
committed by Android (Google) Code Review
2 changed files with 4 additions and 18 deletions

View File

@@ -165,9 +165,11 @@ import java.util.function.Supplier;
import java.util.stream.Collectors; import java.util.stream.Collectors;
/** /**
* The Chooser Activity handles intent resolution specifically for sharing intents - * This is the legacy ChooserActivity and is not expected to be invoked, it's only here because
* for example, those generated by @see android.content.Intent#createChooser(Intent, CharSequence). * MediaAppSelectorActivity is still depending on it. The actual chooser used by the system is
* at packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java
* *
* The migration to the new package will be completed in a later release.
*/ */
public class ChooserActivity extends ResolverActivity implements public class ChooserActivity extends ResolverActivity implements
ChooserListAdapter.ChooserListCommunicator, ChooserListAdapter.ChooserListCommunicator,

View File

@@ -7692,22 +7692,6 @@
android:defaultToDeviceProtectedStorage="true" android:defaultToDeviceProtectedStorage="true"
android:forceQueryable="true" android:forceQueryable="true"
android:directBootAware="true"> android:directBootAware="true">
<activity android:name="com.android.internal.app.ChooserActivity"
android:theme="@style/Theme.DeviceDefault.Chooser"
android:finishOnCloseSystemDialogs="true"
android:excludeFromRecents="true"
android:documentLaunchMode="never"
android:relinquishTaskIdentity="true"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|keyboard|keyboardHidden"
android:process=":ui"
android:exported="true"
android:visibleToInstantApps="true">
<intent-filter android:priority="100">
<action android:name="android.intent.action.CHOOSER" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.VOICE" />
</intent-filter>
</activity>
<activity android:name="com.android.internal.accessibility.dialog.AccessibilityShortcutChooserActivity" <activity android:name="com.android.internal.accessibility.dialog.AccessibilityShortcutChooserActivity"
android:exported="false" android:exported="false"
android:theme="@style/Theme.DeviceDefault.Dialog.Alert.DayNight" android:theme="@style/Theme.DeviceDefault.Dialog.Alert.DayNight"