summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorWinson <chiuwinson@google.com>2020-05-14 17:02:42 -0700
committerWinson <chiuwinson@google.com>2020-05-14 17:18:50 -0700
commit959c54f49112322b9caaac962a6a3bd2fabfd782 (patch)
tree353240f181e58635ea34086e64f8e3bb99616f75 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentf847d228bb49eb295ac61b77105f03d833ee5703 (diff)
Reset default browser on installExistingForUser
Previously the preferred browser was only reset on the initial install of a package. So if a different user already had the browser installed, adding it to another user would not reset their default browser. In general the post install steps should be split up into postFirstInstall and postInstallForUser, where the former calls the latter, but that's a much larger change. This doesn't fix an unfortunate bug where uninstalling a browser and re-installing it without re-querying for the preferred browser will clear the browser role, but not wipe the preferred Activity from settings. Fixing this requires a much larger refactor, and is probably not worth it given the assumption that users don't re-install apps expecting it to reset the browser. Bug: 152898545 Test: manual install browser to personal profile and then to work profile, verify disambiguation Activity pops up Change-Id: Ie02b45c28c705bdcfb5bf89b9e7a33b4850cf0f7
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions