When deactivating multiple modes, do so in reverse order of priority
The important part is that the highest-priority mode gets deactivated last. This has two positive results: * The icon will in the tile and status bar won't rapidly update while the modes are being deactivated. * If the Modes Tile ever uses the "last manually used mode" as the quick mode, it will be the highest-priority mode (the one that was previously shown) instead of a random one. Bug: 405988332 Test: atest ZenModeInteractorTest Flag: android.app.modes_ui_tile_reactivates_last Change-Id: Id8b800cdc08fbafaba436ec72efb7b93a078e9a4
Loading
Please register or sign in to comment