commit | aa625bd06ea21399caf68c3d6cbd1d51466c6969 | [log] [tgz] |
---|---|---|
author | Lei Yu <jackqdyulei@google.com> | Mon Apr 29 13:25:24 2019 -0700 |
committer | Lei Yu <jackqdyulei@google.com> | Mon Apr 29 15:43:57 2019 -0700 |
tree | d329f25ce043211af7b8eb46dac8575b6969acc3 | |
parent | 7c802e553f36bc057a378b2b2699c14f9c5fe5e7 [diff] |
Fix a crash in battery settings page Regression from ag/7161923, in this case we should use onResume/onPause pair. Also sort the method to fit android lifecycle. Bug: 131615524 Test: RunSettingsRoboTests Change-Id: I299032bfeb119dac293039917c6673dd4c0ef4e0