Loading src/com/android/launcher3/allapps/search/AllAppsSearchBarController.java +4 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,10 @@ public class AllAppsSearchBarController mTextConversions = extractTextConversions(s); } private static String[] extractTextConversions(CharSequence text) { /** * Extract text conversions from composing text and send them for search. */ public static String[] extractTextConversions(CharSequence text) { if (text instanceof SpannableStringBuilder) { SpannableStringBuilder spanned = (SpannableStringBuilder) text; SuggestionSpan[] suggestionSpans = Loading src/com/android/launcher3/config/FeatureFlags.java +4 −0 Original line number Diff line number Diff line Loading @@ -91,6 +91,10 @@ public final class FeatureFlags { getDebugFlag("ENABLE_FLOATING_SEARCH_BAR", false, "Keep All Apps search bar at the bottom (but above keyboard if open)"); public static final BooleanFlag ENABLE_QUICK_LAUNCH_V2 = new DeviceFlag( "ENABLE_QUICK_LAUNCH_V2", false, "Use quick launch v2 " + "behavior. Quick search and quick launch v1 would be unavailable if this is enabled"); public static final BooleanFlag ENABLE_HIDE_HEADER = new DeviceFlag("ENABLE_HIDE_HEADER", true, "Hide header on keyboard before typing in all apps"); Loading src/com/android/launcher3/util/LogConfig.java +5 −0 Original line number Diff line number Diff line Loading @@ -50,4 +50,9 @@ public class LogConfig { * When turned on, we enable web suggest appSearch related logging. */ public static final String WEB_APP_SEARCH_LOGGING = "WebAppSearchLogging"; /** * When turned on, we enable quick launch v2 related logging. */ public static final String QUICK_LAUNCH_V2 = "QuickLaunchV2"; } Loading
src/com/android/launcher3/allapps/search/AllAppsSearchBarController.java +4 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,10 @@ public class AllAppsSearchBarController mTextConversions = extractTextConversions(s); } private static String[] extractTextConversions(CharSequence text) { /** * Extract text conversions from composing text and send them for search. */ public static String[] extractTextConversions(CharSequence text) { if (text instanceof SpannableStringBuilder) { SpannableStringBuilder spanned = (SpannableStringBuilder) text; SuggestionSpan[] suggestionSpans = Loading
src/com/android/launcher3/config/FeatureFlags.java +4 −0 Original line number Diff line number Diff line Loading @@ -91,6 +91,10 @@ public final class FeatureFlags { getDebugFlag("ENABLE_FLOATING_SEARCH_BAR", false, "Keep All Apps search bar at the bottom (but above keyboard if open)"); public static final BooleanFlag ENABLE_QUICK_LAUNCH_V2 = new DeviceFlag( "ENABLE_QUICK_LAUNCH_V2", false, "Use quick launch v2 " + "behavior. Quick search and quick launch v1 would be unavailable if this is enabled"); public static final BooleanFlag ENABLE_HIDE_HEADER = new DeviceFlag("ENABLE_HIDE_HEADER", true, "Hide header on keyboard before typing in all apps"); Loading
src/com/android/launcher3/util/LogConfig.java +5 −0 Original line number Diff line number Diff line Loading @@ -50,4 +50,9 @@ public class LogConfig { * When turned on, we enable web suggest appSearch related logging. */ public static final String WEB_APP_SEARCH_LOGGING = "WebAppSearchLogging"; /** * When turned on, we enable quick launch v2 related logging. */ public static final String QUICK_LAUNCH_V2 = "QuickLaunchV2"; }