summaryrefslogtreecommitdiffstats
path: root/updater_sample/src/com/example/android/systemupdatersample/util/UpdateConfigs.java
diff options
context:
space:
mode:
authorZhomart Mukhamejanov <zhomart@google.com>2018-05-01 21:24:36 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-05-01 21:24:36 +0200
commit5faa5523cb22d5129dd7d2f1c58568fb293feaf5 (patch)
tree0b578e8f18243a73d47fdd8b85cda079e72890c9 /updater_sample/src/com/example/android/systemupdatersample/util/UpdateConfigs.java
parent[automerger skipped] Merge "recovery: Split main() into recovery_main.cpp." am: 0204e88073 am: 17f6c1b041 -s ours (diff)
parentMerge "updater_sample: Improve UpdateConfig" am: af5958818a (diff)
downloadandroid_bootable_recovery-5faa5523cb22d5129dd7d2f1c58568fb293feaf5.tar
android_bootable_recovery-5faa5523cb22d5129dd7d2f1c58568fb293feaf5.tar.gz
android_bootable_recovery-5faa5523cb22d5129dd7d2f1c58568fb293feaf5.tar.bz2
android_bootable_recovery-5faa5523cb22d5129dd7d2f1c58568fb293feaf5.tar.lz
android_bootable_recovery-5faa5523cb22d5129dd7d2f1c58568fb293feaf5.tar.xz
android_bootable_recovery-5faa5523cb22d5129dd7d2f1c58568fb293feaf5.tar.zst
android_bootable_recovery-5faa5523cb22d5129dd7d2f1c58568fb293feaf5.zip
Diffstat (limited to 'updater_sample/src/com/example/android/systemupdatersample/util/UpdateConfigs.java')
-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);
}