[Large screen] Make slice deep linking to Settings show in 2-pane
- add a standalone home activity for slice deep link. - add EXTRA_IS_FROM_SLICE to control the slice deep link flow. - Intent#parseUri fails if the intent data schema is set. Add EXTRA_SETTINGS_LARGE_SCREEN_DEEP_LINK_INTENT_DATA to relay the data schema. Bug: 201397123 Test: manual, robotest 1. Say 'Enable NFC'/'Enable Bluetooth'to Google assistant. 2. Click the the NFC/BT Slice. Change-Id: Ia3216956328c32b2109cb2d70ad1105327661f26
This commit is contained in:
@@ -41,7 +41,7 @@ import java.util.Set;
|
||||
/** A class to initialize split rules for activity embedding. */
|
||||
public class ActivityEmbeddingRulesController {
|
||||
|
||||
private static final String TAG = "ActivityEmbeddingCtrl ";
|
||||
private static final String TAG = "ActivityEmbeddingCtrl";
|
||||
private final Context mContext;
|
||||
private final SplitController mSplitController;
|
||||
|
||||
@@ -119,11 +119,6 @@ public class ActivityEmbeddingRulesController {
|
||||
null /* intentAction */));
|
||||
}
|
||||
|
||||
private void addActivityFilter(Set<ActivityFilter> activityFilters, Intent intent) {
|
||||
activityFilters.add(new ActivityFilter(new ComponentName("*" /* pkg */, "*" /* cls */),
|
||||
intent.getAction()));
|
||||
}
|
||||
|
||||
private void addActivityFilter(Set<ActivityFilter> activityFilters,
|
||||
ComponentName componentName) {
|
||||
activityFilters.add(new ActivityFilter(componentName, null /* intentAction */));
|
||||
|
Reference in New Issue
Block a user