Fix installer warning logs logic
This commit is contained in:
parent
4f06d0081e
commit
481cd91646
@ -129,10 +129,10 @@ abstract public class Installer {
|
|||||||
} catch (AndroidNotCompatibleException e) {
|
} catch (AndroidNotCompatibleException e) {
|
||||||
Log.e(TAG, "Android not compatible with SystemInstaller!", e);
|
Log.e(TAG, "Android not compatible with SystemInstaller!", e);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
Log.e(TAG, "SystemInstaller is enabled in prefs, but system-perms are not granted!");
|
Log.e(TAG, "SystemInstaller is enabled in prefs, but system-perms are not granted!");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Fallback -> DefaultInstaller
|
// Fallback -> DefaultInstaller
|
||||||
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
|
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user