Send intent boradcast when AllSetActivity ends and reaches launcher
Flag: EXEMPT supporting new SUW behaviour Bug: 396378163 Test: registered temporary broadcast receiver and checked logs Change-Id: Ib39da6bf17efd7e72c8e45bc2528781e1b9aa8d3
This commit is contained in:
@@ -92,6 +92,8 @@ public class AllSetActivity extends Activity {
|
||||
private static final String LOG_TAG = "AllSetActivity";
|
||||
private static final String URI_SYSTEM_NAVIGATION_SETTING =
|
||||
"#Intent;action=com.android.settings.SEARCH_RESULT_TRAMPOLINE;S.:settings:fragment_args_key=gesture_system_navigation_input_summary;S.:settings:show_fragment=com.android.settings.gestures.SystemNavigationGestureSettings;end";
|
||||
private static final String INTENT_ACTION_ACTIVITY_CLOSED =
|
||||
"com.android.quickstep.interaction.ACTION_ALL_SET_ACTIVITY_CLOSED";
|
||||
private static final String EXTRA_ACCENT_COLOR_DARK_MODE = "suwColorAccentDark";
|
||||
private static final String EXTRA_ACCENT_COLOR_LIGHT_MODE = "suwColorAccentLight";
|
||||
private static final String EXTRA_DEVICE_NAME = "suwDeviceName";
|
||||
@@ -332,6 +334,7 @@ public class AllSetActivity extends Activity {
|
||||
mLauncherStartAnim.dispatchOnEnd();
|
||||
mLauncherStartAnim = null;
|
||||
}
|
||||
sendBroadcast(new Intent(INTENT_ACTION_ACTIVITY_CLOSED));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user