Fix installer warning logs logic

This commit is contained in:
Daniel Martí 2014-09-15 10:59:54 +02:00
parent 4f06d0081e
commit 481cd91646

View File

@ -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) {