commit | 7bd0e73faf7305a2cbbdd06cc8f78d257f7bf254 | [log] [tgz] |
---|---|---|
author | Philip P. Moltmann <moltmann@google.com> | Thu May 21 17:44:03 2020 -0700 |
committer | Philip P. Moltmann <moltmann@google.com> | Thu May 21 17:44:03 2020 -0700 |
tree | dafdf98aa64fd4d6237175c1137c1f46306b03b2 | |
parent | 63dce8b88b4d4f688b3844000e7eb814622acfac [diff] |
Handle live-cycle of RequestPermissionsActivity Only request permission when the activity is new (== no instance state). Otherwise a life-cycle can trigger additional requests which instantly fail. Test: atest CtsPermission3TestCases Bug: 153951939 Change-Id: Ie8b1e8a881996a8f0416bb23c8f6eb573ba52b8b