summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorjovanak <jovanak@google.com>2018-04-02 16:40:15 -0700
committerjovanak <jovanak@google.com>2018-04-11 11:45:09 -0700
commit82029aedff5c6ec11619a558bf7424718ef22403 (patch)
treed6c64559a413c630fe98f716cae855330900e6a9 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0e675bd901716b9e979bb83d724efaeb5e42f3b8 (diff)
Separates current process user and foreground user
User switcher wrongly called methods on the current process user, which is always User 0 for SysUI. Instead, user switcher requires knowledge about foreground user. The process of user switching = changing the foreground user. Split tests between unit and robolectric. Robolectric tests enable shadowing ActivityManager and UserHandle. Fixes:77485524 Test: Unit and robolectric tests. Change-Id: I20cc32f132ce48b4507a6907bdc9d103c04f4a30
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions