下载 APKPure App
可在安卓获取OxygenOS DnD Test的历史版本
警报的滑块实施测试
Show case app that demostrates how OxygenOS Alert Slider implementation breaks Android public API thus can negatively affect logic in 3rd party apps.
Top position of Alert Slider causes incorrect values of NotificationManager.getCurrentInterruptionFilter() method, depending on whether vibration for this mode is enabled or disabled.
1) when vibration is enabled - getCurrentInterruptionFilter() returns INTERRUPTION_FILTER_ALL (Ring) instead of INTERRUPTION_FILTER_ALARMS (Alarms only)
2) when vibration is disabled - getCurrentInterruptionFilter() returns INTERRUPTION_FILTER_NONE (Total silence) instead of INTERRUPTION_FILTER_ALARMS (Alarms only)
- Bottom position of Alert Slider works as expected - returns INTERRUPTION_FILTER_ALL (Ring)
- Middle positionof Alert Slider works as expected - returns INTERRUPTION_FILTER_PRIORITY (Priority only)
Last updated on 2017年07月17日
Minor bug fixes and improvements. Install or update to the newest version to check it out!
OxygenOS DnD Test
1.0 by Ceco Apps
2017年07月17日