Fix build.
Change-Id: I560dc798a238173d72e3835962ed82681977dba1
This commit is contained in:
@@ -513,6 +513,12 @@ public class ApplicationsState {
|
||||
}
|
||||
}
|
||||
|
||||
public static String normalize(String str) {
|
||||
String tmp = Normalizer.normalize(str, Form.NFD);
|
||||
return REMOVE_DIACRITICALS_PATTERN.matcher(tmp)
|
||||
.replaceAll("").toLowerCase();
|
||||
}
|
||||
|
||||
public class Session {
|
||||
final Callbacks mCallbacks;
|
||||
boolean mResumed;
|
||||
@@ -1148,12 +1154,6 @@ public class ApplicationsState {
|
||||
new UserHandle(UserHandle.getUserId(info.uid)));
|
||||
}
|
||||
|
||||
public static String normalize(String str) {
|
||||
String tmp = Normalizer.normalize(str, Form.NFD);
|
||||
return REMOVE_DIACRITICALS_PATTERN.matcher(tmp)
|
||||
.replaceAll("").toLowerCase();
|
||||
}
|
||||
|
||||
public String getVersion(Context context) {
|
||||
try {
|
||||
return context.getPackageManager().getPackageInfo(info.packageName, 0).versionName;
|
||||
|
||||
Reference in New Issue
Block a user