summaryrefslogtreecommitdiffstats
path: root/updater_sample/src/com/example/android/systemupdatersample/util
diff options
context:
space:
mode:
authorZhomart Mukhamejanov <zhomart@google.com>2018-04-27 06:07:05 +0200
committerZhomart Mukhamejanov <zhomart@google.com>2018-05-01 19:24:57 +0200
commit963e3eeb003093b3934dab7f1c73a4c46d75321c (patch)
tree8d0b851adf93072e1ebb3eb1561e9ee1a77e6d6c /updater_sample/src/com/example/android/systemupdatersample/util
parentMerge "Drop '#include "ui.h"' from device.h." (diff)
downloadandroid_bootable_recovery-963e3eeb003093b3934dab7f1c73a4c46d75321c.tar
android_bootable_recovery-963e3eeb003093b3934dab7f1c73a4c46d75321c.tar.gz
android_bootable_recovery-963e3eeb003093b3934dab7f1c73a4c46d75321c.tar.bz2
android_bootable_recovery-963e3eeb003093b3934dab7f1c73a4c46d75321c.tar.lz
android_bootable_recovery-963e3eeb003093b3934dab7f1c73a4c46d75321c.tar.xz
android_bootable_recovery-963e3eeb003093b3934dab7f1c73a4c46d75321c.tar.zst
android_bootable_recovery-963e3eeb003093b3934dab7f1c73a4c46d75321c.zip
Diffstat (limited to 'updater_sample/src/com/example/android/systemupdatersample/util')
-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);
}