summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2019-05-28 17:05:28 -0700
committerchaviw <chaviw@google.com>2019-06-03 10:58:18 -0700
commitbb6bd8ac180cdb8a87925fcf44ed8dfc99a85cbe (patch)
treeb9ea077d6fa0b5295dc38d92778685fdb7f99ae8 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0c1f41d3034521b86cf7fec219ed9919d0901496 (diff)
Clear VISIBLE_FOR_USER flag when isHiddenFromUser is true
The current code was clearing the LEGACY_POLICY_VISIBILITY flag when isHiddenFromUser was returning true. This was causing issues since there was no path to add that flag when the Window was visible for that user. The correct way is to clear the VISIBLE_FOR_USER flag since that flag will get added again when the window is visible for that user. Fixes: 133235040 Test: Switch from one user to another and back. Launcher is visible. Change-Id: I5161dd83a7a0811a7e3a6ab2af439f352f967a6c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions