Show different tooltips for QS features auto-added and non-auto-added
There are 2 different kinds of auto-added / non-auto-added subtext in QS tooltips for framework features. Show animation in the settings page for full flow for non-framework services. Bug: 218968108 Test: make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilityQuickSettingsTooltipWindowTest AccessibilityShortcutPreferenceFragmentTest Change-Id: I462cfcece959df8b9d97fab8e28337bceca9e25e
This commit is contained in:
@@ -46,7 +46,7 @@ import java.lang.annotation.RetentionPolicy;
|
||||
import java.util.StringJoiner;
|
||||
|
||||
/** Provides utility methods to accessibility settings only. */
|
||||
final class AccessibilityUtil {
|
||||
public final class AccessibilityUtil {
|
||||
|
||||
private AccessibilityUtil(){}
|
||||
|
||||
@@ -105,6 +105,17 @@ final class AccessibilityUtil {
|
||||
int TRIPLETAP = 4; // 1 << 2
|
||||
}
|
||||
|
||||
/**
|
||||
* Denotes the quick setting tooltip type.
|
||||
*
|
||||
* {@code GUIDE_TO_EDIT} for QS tiles that need to be added by editing.
|
||||
* {@code GUIDE_TO_DIRECT_USE} for QS tiles that have been auto-added already.
|
||||
*/
|
||||
public @interface QuickSettingsTooltipType {
|
||||
int GUIDE_TO_EDIT = 0;
|
||||
int GUIDE_TO_DIRECT_USE = 1;
|
||||
}
|
||||
|
||||
/** Denotes the accessibility enabled status */
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
public @interface State {
|
||||
|
Reference in New Issue
Block a user