summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorFan Zhang <zhfan@google.com>2018-02-06 14:24:18 -0800
committerFan Zhang <zhfan@google.com>2018-02-07 10:50:03 -0800
commit92a2613353cec71ea390234414ffb8f95a5df01a (patch)
tree258c067cbc2975ae3ac732b9f62a30e3c92b9964 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc65eb444374cd4503d3ee39432ec71ed1d3357e3 (diff)
Use framework onNavigateUp() instead of simply finish().
- Simply finishing activity bypasses the entire nav-up chain, making taskAffinity/parentActivity defined in androidmanifest.xml no-op, which is bad. - Also removed showMenu() logic, this is from drawer era and was only needed by mobile settings. We no longer need drawer so this method can be removed. Bug: 72337421 Test: atest Change-Id: Idee1b72751363b5162887a799197404a9498c83e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions