Log errors
This commit is contained in:
parent
63b0bbd120
commit
c65a25524c
@ -195,7 +195,7 @@ abstract public class Installer {
|
|||||||
public void installPackage(File apkFile) throws AndroidNotCompatibleException {
|
public void installPackage(File apkFile) throws AndroidNotCompatibleException {
|
||||||
// check if file exists...
|
// check if file exists...
|
||||||
if (!apkFile.exists()) {
|
if (!apkFile.exists()) {
|
||||||
Log.d(TAG, "Couldn't find file " + apkFile + " to install.");
|
Log.e(TAG, "Couldn't find file " + apkFile + " to install.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -206,7 +206,7 @@ abstract public class Installer {
|
|||||||
// check if files exist...
|
// check if files exist...
|
||||||
for (File apkFile : apkFiles) {
|
for (File apkFile : apkFiles) {
|
||||||
if (!apkFile.exists()) {
|
if (!apkFile.exists()) {
|
||||||
Log.d(TAG, "Couldn't find file " + apkFile + " to install.");
|
Log.e(TAG, "Couldn't find file " + apkFile + " to install.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -219,7 +219,7 @@ abstract public class Installer {
|
|||||||
try {
|
try {
|
||||||
mPm.getPackageInfo(packageName, 0);
|
mPm.getPackageInfo(packageName, 0);
|
||||||
} catch (NameNotFoundException e) {
|
} catch (NameNotFoundException e) {
|
||||||
Log.d(TAG, "Couldn't find package " + packageName + " to delete.");
|
Log.e(TAG, "Couldn't find package " + packageName + " to delete.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user