🕭 Avoid clearing Task Stack when opening NorificationPreferences.
The Intent to open the Notifications Preferences screen included the FLAG_ACTIVITY_CLEAR_TASK flag. This means that if the screen were already present in the Task Stack, the entire stack would be cleared. This meant that when the user entered Chrome Settings, was linked to Android Settings (through the Notifications button) and then was linked back to Chrome Settings (through the "Additional Settings in the app" link), the whole Task Stack would be cleared. Pressing Back at this point would take the user to the home screen. The flag was originally set to prevent instability due to having Callbacks destined for the first Settings Activity arriving at the second Settings Activity and generally making a mess of things. I'm disabling the flag in the hope such instability has been fixed, and if not to generate some up to date crash reports. Bug: 803422, 707804 Change-Id: Id662fd7218e35739755e97fb42780ebd16b09346 Reviewed-on: https://chromium-review.googlesource.com/886844 Commit-Queue: Peter Conn <peconn@chromium.org> Reviewed-by:Bernhard Bauer <bauerb@chromium.org> Reviewed-by:
Peter Beverloo <peter@chromium.org> Cr-Commit-Position: refs/heads/master@{#531933}
Showing
Please register or sign in to comment