commit | 0708d9e119da4c4d9424c0bc54fa458d01856bd7 | [log] [tgz] |
---|---|---|
author | Udam Saini <udam@google.com> | Mon Mar 28 16:35:13 2016 -0700 |
committer | Udam Saini <udam@google.com> | Tue Mar 29 10:29:14 2016 -0700 |
tree | 2d8aaab53050a968aeb80e66411959d75a36b3d9 | |
parent | 1997f76cfc1ca3ee22d629db0504773f4f2abac3 [diff] |
Fixes back button on action bar on some fragments. SettingsPreferenceFragment has this already set so that the drawer layout will work when the menu doesn't exist. However, some fragments are not preference fragments, and we need to set setHasOptionsMenu manually. bug:27879503 Change-Id: I6faadeb56dab00af611ac413109800822038c66d