summaryrefslogtreecommitdiffstats
path: root/updater_sample/src/com/example/android/systemupdatersample/util/UpdateConfigs.java
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-05-04 11:34:33 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-05-04 11:34:33 +0200
commit0b72b7dc67de38d7b6aabb1b9d709564b366d5af (patch)
treeed48a00a97ba96e5388d1b3420ac425b81b35217 /updater_sample/src/com/example/android/systemupdatersample/util/UpdateConfigs.java
parentSnap for 4754751 from 7ffa008463d282902fe96decddb6aa8250bc6161 to qt-release (diff)
parentMerge "Move menu headers/items to std::vector<std::string>." am: fb86bb2a07 am: 0d9ed29541 (diff)
downloadandroid_bootable_recovery-0b72b7dc67de38d7b6aabb1b9d709564b366d5af.tar
android_bootable_recovery-0b72b7dc67de38d7b6aabb1b9d709564b366d5af.tar.gz
android_bootable_recovery-0b72b7dc67de38d7b6aabb1b9d709564b366d5af.tar.bz2
android_bootable_recovery-0b72b7dc67de38d7b6aabb1b9d709564b366d5af.tar.lz
android_bootable_recovery-0b72b7dc67de38d7b6aabb1b9d709564b366d5af.tar.xz
android_bootable_recovery-0b72b7dc67de38d7b6aabb1b9d709564b366d5af.tar.zst
android_bootable_recovery-0b72b7dc67de38d7b6aabb1b9d709564b366d5af.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);
}