Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public List<AppDataParcelable> loadInBackground() {
try {
androidInfo = packageManager.getPackageInfo("android", PackageManager.GET_SIGNATURES);
} catch (PackageManager.NameNotFoundException e) {
LOG.warn("faield to find android package name while loading apps list", e);
LOG.warn("failed to find android package name while loading apps list", e);
}

for (ApplicationInfo object : apps) {
Expand All @@ -99,7 +99,7 @@ public List<AppDataParcelable> loadInBackground() {
try {
info = packageManager.getPackageInfo(object.packageName, PackageManager.GET_SIGNATURES);
} catch (PackageManager.NameNotFoundException e) {
LOG.warn("faield to find package name {} while loading apps list", object.packageName, e);
LOG.warn("failed to find package name {} while loading apps list", object.packageName, e);
info = null;
}
boolean isSystemApp = isAppInSystemPartition(object) || isSignedBySystem(info, androidInfo);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1017,9 +1017,9 @@ public static File fromContentUri(@NonNull Uri uri) {
}
File pathFile = new File(uri.getPath().substring(FILE_PROVIDER_PREFIX.length() + 1));
if (!pathFile.exists()) {
LOG.warn("failed to navigate to path {}", pathFile.getPath());
LOG.warn("Failed to navigate to the initial path: {}", pathFile.getPath());
pathFile = new File(uri.getPath());
LOG.warn("trying to navigate to path {}", pathFile.getPath());
LOG.warn("Attempting to navigate to the fallback path: {}", pathFile.getPath());
}
return pathFile;
}
Expand Down