Merge "Rename TextClassificationSessionId.flattenToString() to getValue()" into rvc-dev am: 36beec8030 am: a3822c7ba3
Change-Id: I9ac5943570e687c01194ada8c05e909ce2e02fc5
This commit is contained in:
@@ -57549,7 +57549,7 @@ package android.view.textclassifier {
|
|||||||
|
|
||||||
public final class TextClassificationSessionId implements android.os.Parcelable {
|
public final class TextClassificationSessionId implements android.os.Parcelable {
|
||||||
method public int describeContents();
|
method public int describeContents();
|
||||||
method @NonNull public String flattenToString();
|
method @NonNull public String getValue();
|
||||||
method public void writeToParcel(android.os.Parcel, int);
|
method public void writeToParcel(android.os.Parcel, int);
|
||||||
field @NonNull public static final android.os.Parcelable.Creator<android.view.textclassifier.TextClassificationSessionId> CREATOR;
|
field @NonNull public static final android.os.Parcelable.Creator<android.view.textclassifier.TextClassificationSessionId> CREATOR;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ public final class SelectionSessionLogger {
|
|||||||
.addTaggedData(SMART_END, event.getSmartEnd());
|
.addTaggedData(SMART_END, event.getSmartEnd());
|
||||||
}
|
}
|
||||||
if (event.getSessionId() != null) {
|
if (event.getSessionId() != null) {
|
||||||
log.addTaggedData(SESSION_ID, event.getSessionId().flattenToString());
|
log.addTaggedData(SESSION_ID, event.getSessionId().getValue());
|
||||||
}
|
}
|
||||||
mMetricsLogger.write(log);
|
mMetricsLogger.write(log);
|
||||||
debugLog(log);
|
debugLog(log);
|
||||||
|
|||||||
@@ -92,12 +92,10 @@ public final class TextClassificationSessionId implements Parcelable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Flattens this id to a string.
|
* Returns the value of this ID.
|
||||||
*
|
|
||||||
* @return The flattened id.
|
|
||||||
*/
|
*/
|
||||||
@NonNull
|
@NonNull
|
||||||
public String flattenToString() {
|
public String getValue() {
|
||||||
return mValue;
|
return mValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user