summaryrefslogtreecommitdiffstats
path: root/updater_sample/src/com/example/android/systemupdatersample/util
diff options
context:
space:
mode:
authorZhomart Mukhamejanov <zhomart@google.com>2018-05-01 21:05:22 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-05-01 21:05:22 +0200
commitaf5958818aa5319a131954b3e306ea20f08cff83 (patch)
treec7bdff9e0abf705aeb73156ac23036489496604c /updater_sample/src/com/example/android/systemupdatersample/util
parentMerge "recovery: Split main() into recovery_main.cpp." (diff)
parentupdater_sample: Improve UpdateConfig (diff)
downloadandroid_bootable_recovery-af5958818aa5319a131954b3e306ea20f08cff83.tar
android_bootable_recovery-af5958818aa5319a131954b3e306ea20f08cff83.tar.gz
android_bootable_recovery-af5958818aa5319a131954b3e306ea20f08cff83.tar.bz2
android_bootable_recovery-af5958818aa5319a131954b3e306ea20f08cff83.tar.lz
android_bootable_recovery-af5958818aa5319a131954b3e306ea20f08cff83.tar.xz
android_bootable_recovery-af5958818aa5319a131954b3e306ea20f08cff83.tar.zst
android_bootable_recovery-af5958818aa5319a131954b3e306ea20f08cff83.zip
Diffstat (limited to '')
-rw-r--r--updater_sample/src/com/example/android/systemupdatersample/util/UpdateConfigs.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/updater_sample/src/com/example/android/systemupdatersample/util/UpdateConfigs.java b/updater_sample/src/com/example/android/systemupdatersample/util/UpdateConfigs.java
index 089f8b2f2..71d4df8ab 100644
--- a/updater_sample/src/com/example/android/systemupdatersample/util/UpdateConfigs.java
+++ b/updater_sample/src/com/example/android/systemupdatersample/util/UpdateConfigs.java
@@ -17,6 +17,7 @@
package com.example.android.systemupdatersample.util;
import android.content.Context;
+import android.util.Log;
import com.example.android.systemupdatersample.UpdateConfig;
@@ -70,6 +71,7 @@ public final class UpdateConfigs {
StandardCharsets.UTF_8);
configs.add(UpdateConfig.fromJson(json));
} catch (Exception e) {
+ Log.e("UpdateConfigs", "Can't read/parse config file " + f.getName(), e);
throw new RuntimeException(
"Can't read/parse config file " + f.getName(), e);
}