By specifying the action android.service.quicksettings.action.QS_TILE_PREFERENCES in an activity <intent-filter>, long-pressing on tiles from that app will launch that activity. In this case, that could be an invisible activity that hosts a dialog (or just is itself themed like a dialog) which allows the granular configuring of the duration. This should obviate the need for two separate tiles.
By specifying the action
android.service.quicksettings.action.QS_TILE_PREFERENCES
in an activity<intent-filter>
, long-pressing on tiles from that app will launch that activity. In this case, that could be an invisible activity that hosts a dialog (or just is itself themed like a dialog) which allows the granular configuring of the duration. This should obviate the need for two separate tiles.