android - how to fix screen overlay detected programmatically -
in app ask permission access sms in android sdk 23 (runtime permission) problem dialog screen overlay showed , access not granted .i disabled apps overlay nothing changed . found link not helped
and question how can fix programmatically ?
ok ,
finally found solution ,i search web :d , can't find useful . answer : when ask new permission don't ever ever else showing toast or.... in case restart app , ask next permission use this code restart app ,
good luck.
Comments
Post a Comment