commit | 9267faa62a0fa5196298296eb48bd14f3ee512f9 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Fri Feb 19 11:20:31 2016 -0800 |
committer | Mikhail Naganov <mnaganov@google.com> | Fri Feb 19 11:20:31 2016 -0800 |
tree | 741bf72892b7c82982665c50fb2017ae0371be94 | |
parent | 8be22673ce07696672ad3980adaaedf80caa9d7f [diff] |
Fix crash in onRequestPermissionsResult due to empty grantResults In the case when the permission request dialog is displayed and the device is changing orientation, the callback will be called with empty grantResults array. The code needs to take this case into account. Bug: 27237709 Change-Id: I450d365fcdfa308a69265d75391661fa64028734