16

How can I enable "show on lock screen" permission on Xiaomi phones? Is it possible by programmatically or add custom permission in manifest or still somehow? Is it possible to know whether this permission has already been granted or not? enter image description here

hamid
  • 549
  • 3
  • 14
s_klepcha
  • 310
  • 2
  • 11
  • 3
    That's a custom Xiaomi setting, and I don't think it's even a permission. It just shows that app's notifications on the lock screen. – TheWanderer Oct 12 '18 at 14:41
  • 2
    I think there's a confusion regarding this permission. It actually doesn't control showing your app's notifications on the lock-screen, it controls whether you can show an activity on the lockscreen. – Faisal Ahmed Sep 18 '19 at 12:38
  • 3
    All SO Developers needs to ask Google - Make a Policy for Custom ROM modifiers i.e. Chinese ROM modifier companies ( 99% phones ) must adhere to maintain originality of android and can just modify UI Theme and not overall working – Rushikant Pawar Jan 25 '20 at 17:25
  • Same problem. Why don't the сhinese do normal documentation? Why should we as developers suffer? – AlexS Sep 14 '20 at 06:42
  • 1
    for popular app like whatsapp this option is enabled by default :( – shantanu Oct 15 '20 at 07:43

0 Answers0