summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorWinson <chiuwinson@google.com>2019-01-17 12:23:28 -0800
committerWinson <chiuwinson@google.com>2019-01-17 13:35:44 -0800
commit0e9feb76ec1a75094c7e508b92c4774aaac6465c (patch)
tree058b1f7892e2d2cedd03abe533b3e773268b35a5 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent34478fc96cf1565799a32ba48bf69e9726139185 (diff)
Notify overlays changed when target package upgraded
Per linked bug, when a target package is upgraded, the overlays are not refreshed. This means the PixelThemeOverlay was never added back for the targeted app and wasn't loaded into AssetManager. This is a regression originally introduced by ag/3986153, reverted, and again introduced in ag/4032433. The code went back and forth several times, but essentially `onOverlaysChanged` must be called somewhere inside `onTargetChanged`, `onTargetUpgrading`, or `onTargetUpgraded`. Through a series of CLs, all those cases ended up being removed. `onTargetUpgraded` was chosen in this CL because it is called less frequently than `onTargetChanged` and after `onTargetUpgrading`, to prevent extra unncessary calls. Bug: 122641077 Test: fix with Wellbeing on P Test: fix with Wellbeing on Q Test: verified exact upgrade steps on linked bug on P Change-Id: I1ac4d67c318102d466dfcc1529c8a3f81ec91acb
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions