summaryrefslogtreecommitdiffstats
path: root/minui/include/private/resources.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-05-11 23:34:42 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-05-11 23:34:42 +0200
commitc03916ae5afd417dd7073e2b28653896c987c9ce (patch)
tree0f6be2c5cbff66f580ba62881f31de07aecbdad6 /minui/include/private/resources.h
parentMerge "recovery: Configure device menu based on runtime info." am: e498ef2f03 am: bd32e1b50b (diff)
parentMerge "tests: Add tests for ScreenRecoveryUI." am: 8c6f699b36 (diff)
downloadandroid_bootable_recovery-c03916ae5afd417dd7073e2b28653896c987c9ce.tar
android_bootable_recovery-c03916ae5afd417dd7073e2b28653896c987c9ce.tar.gz
android_bootable_recovery-c03916ae5afd417dd7073e2b28653896c987c9ce.tar.bz2
android_bootable_recovery-c03916ae5afd417dd7073e2b28653896c987c9ce.tar.lz
android_bootable_recovery-c03916ae5afd417dd7073e2b28653896c987c9ce.tar.xz
android_bootable_recovery-c03916ae5afd417dd7073e2b28653896c987c9ce.tar.zst
android_bootable_recovery-c03916ae5afd417dd7073e2b28653896c987c9ce.zip
Diffstat (limited to 'minui/include/private/resources.h')
-rw-r--r--minui/include/private/resources.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/minui/include/private/resources.h b/minui/include/private/resources.h
index 2a83a1028..047ebe2e3 100644
--- a/minui/include/private/resources.h
+++ b/minui/include/private/resources.h
@@ -82,3 +82,6 @@ class PngHandler {
// After initialization, we'll keep the file pointer open before destruction of PngHandler.
std::unique_ptr<FILE, decltype(&fclose)> png_fp_{ nullptr, fclose };
};
+
+// Overrides the default resource dir, for testing purpose.
+void res_set_resource_dir(const std::string&);