Make "failed" log messages be warnings, not debugs

This commit is contained in:
Daniel Martí 2015-05-29 16:59:40 +02:00
parent 35f9900101
commit 02ed2293e6

View File

@ -611,9 +611,9 @@ public class AppDetails extends ActionBarActivity implements ProgressListener, A
Hasher hash = new Hasher("MD5", mInstalledSignature.toCharsString().getBytes()); Hasher hash = new Hasher("MD5", mInstalledSignature.toCharsString().getBytes());
mInstalledSigID = hash.getHash(); mInstalledSigID = hash.getHash();
} catch (PackageManager.NameNotFoundException e) { } catch (PackageManager.NameNotFoundException e) {
Log.d(TAG, "Failed to get installed signature"); Log.w(TAG, "Failed to get installed signature");
} catch (NoSuchAlgorithmException e) { } catch (NoSuchAlgorithmException e) {
Log.d(TAG, "Failed to calculate signature MD5 sum"); Log.w(TAG, "Failed to calculate signature MD5 sum");
mInstalledSignature = null; mInstalledSignature = null;
} }
} }