From 0b0e6fc3a0ff0271b362f165415e3a19d3e01f97 Mon Sep 17 00:00:00 2001 From: Sunny Shao Date: Tue, 18 Jun 2019 13:32:05 +0800 Subject: [PATCH] Fix settings back button return to previous launched page QuickSetting use FLAG_ACTIVITY_NEW_TASK flag to launch setting page. It shares the same taskid with Settings. That's why user press BACK key will return the previous settings page. Now add the new taskAffinity in Settings homepage to fix this problem. Fixes: 135018024 Test: manual & robotest Change-Id: Ic73645e9afe5415691f0696c5ae33a9eacda6d50 --- AndroidManifest.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 4b070a682e4..07dd1dd554a 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -118,6 +118,7 @@ @@ -142,6 +143,7 @@