Merge "Add one item in ApplicationLocalesChanged atom" into udc-dev
This commit is contained in:
@@ -30,7 +30,8 @@ public final class AppLocaleChangedAtomRecord {
|
||||
String mPrevLocales = "";
|
||||
int mStatus = FrameworkStatsLog
|
||||
.APPLICATION_LOCALES_CHANGED__STATUS__STATUS_UNSPECIFIED;
|
||||
|
||||
int mCaller = FrameworkStatsLog
|
||||
.APPLICATION_LOCALES_CHANGED__CALLER__CALLER_UNKNOWN;
|
||||
AppLocaleChangedAtomRecord(int callingUid) {
|
||||
this.mCallingUid = callingUid;
|
||||
}
|
||||
@@ -50,4 +51,8 @@ public final class AppLocaleChangedAtomRecord {
|
||||
void setStatus(int status) {
|
||||
this.mStatus = status;
|
||||
}
|
||||
|
||||
void setCaller(int caller) {
|
||||
this.mCaller = caller;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -551,7 +551,8 @@ public class LocaleManagerService extends SystemService {
|
||||
atomRecordForMetrics.mTargetUid,
|
||||
atomRecordForMetrics.mNewLocales,
|
||||
atomRecordForMetrics.mPrevLocales,
|
||||
atomRecordForMetrics.mStatus);
|
||||
atomRecordForMetrics.mStatus,
|
||||
atomRecordForMetrics.mCaller);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user