commit | d3755e4073d822b2aaaedf0d7f911e4dbe839e64 | [log] [tgz] |
---|---|---|
author | TheScarastic <warabhishek@gmail.com> | Sat Dec 24 18:34:51 2022 +0530 |
committer | LuK1337 <priv.luk@gmail.com> | Mon Jan 02 22:42:32 2023 +0100 |
tree | 2bf8611be04cfa76ea774d21184f76617d15f0d9 | |
parent | 51a756a215dd2ce17ef8ddf900040a762374c999 [diff] |
Aperture: Make sure grant results is not empty When app is clean installed dialog permission appears but since we don't really check if any grant results are there it shows wrong toast saying permission not granted and closes the app. Also request permission in onResume instead of onCreate this ensures every launch has proper permissions. Change-Id: Ibd5d4e79c47ce6688402331fed607120e1d4229b