Android 5 turn off Interruptions filtration -
Android 5 turn off Interruptions filtration -
just tested app on new android 5.0 , found have bug in switching ringer mode via sound manager. after set ringer_mode_silent comes "allow priority interruptions" mode , it's ok, it's how described in what's new document. after set ringer_mode_normal phone doesn't come "always interrupt" , not expected behavior. user can miss phone call because of it.
does find solution/work around problem? how can turn off filtration mode?
update
found code in android src. settings global.zen_mode. , code should alter on set normal_mode looks correct, doesn't work in emulator , nexus rom. had seek set via settings.global.putint, got error permissions. have no thought how prepare =(
made bug report: https://code.google.com/p/android/issues/detail?id=78158&thanks=78158&ts=1414182304
and in preview tracker https://code.google.com/p/android-developer-preview/issues/detail?id=1780&thanks=1780&ts=1414218141
just found work around. can utilize notificationlistenerservice.requestinterruptionfilter alter filtration mode. works, have add together service in "notification access" list (it's in sound & notification settings), otherwise have no permissions.
android android-5.0-lollipop
Comments
Post a Comment