commit | 92a2613353cec71ea390234414ffb8f95a5df01a | [log] [tgz] |
---|---|---|
author | Fan Zhang <zhfan@google.com> | Tue Feb 06 14:24:18 2018 -0800 |
committer | Fan Zhang <zhfan@google.com> | Wed Feb 07 10:50:03 2018 -0800 |
tree | 258c067cbc2975ae3ac732b9f62a30e3c92b9964 | |
parent | c65eb444374cd4503d3ee39432ec71ed1d3357e3 [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