Merge "Rename TextClassificationSessionId.flattenToString() to getValue()" into rvc-dev am: 36beec8030 am: a3822c7ba3

Change-Id: I9ac5943570e687c01194ada8c05e909ce2e02fc5
This commit is contained in:
Automerger Merge Worker
2020-03-04 16:15:15 +00:00
3 changed files with 4 additions and 6 deletions

View File

@@ -57549,7 +57549,7 @@ package android.view.textclassifier {
public final class TextClassificationSessionId implements android.os.Parcelable {
method public int describeContents();
method @NonNull public String flattenToString();
method @NonNull public String getValue();
method public void writeToParcel(android.os.Parcel, int);
field @NonNull public static final android.os.Parcelable.Creator<android.view.textclassifier.TextClassificationSessionId> CREATOR;
}

View File

@@ -90,7 +90,7 @@ public final class SelectionSessionLogger {
.addTaggedData(SMART_END, event.getSmartEnd());
}
if (event.getSessionId() != null) {
log.addTaggedData(SESSION_ID, event.getSessionId().flattenToString());
log.addTaggedData(SESSION_ID, event.getSessionId().getValue());
}
mMetricsLogger.write(log);
debugLog(log);

View File

@@ -92,12 +92,10 @@ public final class TextClassificationSessionId implements Parcelable {
}
/**
* Flattens this id to a string.
*
* @return The flattened id.
* Returns the value of this ID.
*/
@NonNull
public String flattenToString() {
public String getValue() {
return mValue;
}