From 523837cba96dbf9378fd0c397663010237b02fb5 Mon Sep 17 00:00:00 2001 From: Priyank Singh Date: Sun, 23 Dec 2018 20:01:44 -0800 Subject: [PATCH] Fixing the flickering issue when clock is clicked in status bar to open Quick Settings. Adding the flag "Intent.FLAG_ACTIVITY_SINGLE_TOP" which will stop the activity to relaunch if its already there. Bug: 121345477 Test: Manual Change-Id: I83f985c83d4954a722591b59fc7f6db24a923923 (cherry picked from commit a9971e07144bfa7fde5f4ae2cd602efb8ff02fec) --- packages/CarSystemUI/res/layout/car_top_navigation_bar.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/CarSystemUI/res/layout/car_top_navigation_bar.xml b/packages/CarSystemUI/res/layout/car_top_navigation_bar.xml index 1dca10a04c43e..2fe740d51e8fe 100644 --- a/packages/CarSystemUI/res/layout/car_top_navigation_bar.xml +++ b/packages/CarSystemUI/res/layout/car_top_navigation_bar.xml @@ -76,7 +76,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:background="@null" - systemui:intent="intent:#Intent;component=com.android.car.settings/.common.CarSettingActivity;launchFlags=0x14008000;end" + systemui:intent="intent:#Intent;component=com.android.car.settings/.common.CarSettingActivity;launchFlags=0x24000000;end" />