Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88314cb7 authored by Becky Qiu's avatar Becky Qiu Committed by Automerger Merge Worker
Browse files

Merge "[Toast] Add a new extra for the target to record the threshold score."...

Merge "[Toast] Add a new extra for the target to record the threshold score." into udc-dev am: 02b0f2fe

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/libs/systemui/+/22235239



Change-Id: Ib712d7ab41bc8e85684065766aa29516ba4e7916
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents d331e9c8 02b0f2fe
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -197,6 +197,9 @@ public class SearchTargetExtras {
    public static final String BUNDLE_EXTRA_SUGGEST_RAW_TEXT = "suggest_raw_text";
    public static final String BUNDLE_EXTRA_SUGGEST_TRUNCATE_START = "suggest_truncate_start";

    /** Score threshold boosting the target. */
    public static final String BUNDLE_EXTRA_SCORE_THRESHOLD = "score_threshold";

    /** Web data related helper methods */
    public static boolean isEntity(@Nullable SearchTarget target) {
        return target != null && target.getExtras() != null