summaryrefslogtreecommitdiffstats
path: root/minui/include/private
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-05-11 22:18:25 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-05-11 22:18:25 +0200
commitca88c67135d077d3727b1017a44f271ab6ab533a (patch)
treeb2582f367c622015c1df8de96bf3ca618c7967e2 /minui/include/private
parentMerge "recovery: Configure device menu based on runtime info." (diff)
parentMerge "tests: Add tests for ScreenRecoveryUI." (diff)
downloadandroid_bootable_recovery-ca88c67135d077d3727b1017a44f271ab6ab533a.tar
android_bootable_recovery-ca88c67135d077d3727b1017a44f271ab6ab533a.tar.gz
android_bootable_recovery-ca88c67135d077d3727b1017a44f271ab6ab533a.tar.bz2
android_bootable_recovery-ca88c67135d077d3727b1017a44f271ab6ab533a.tar.lz
android_bootable_recovery-ca88c67135d077d3727b1017a44f271ab6ab533a.tar.xz
android_bootable_recovery-ca88c67135d077d3727b1017a44f271ab6ab533a.tar.zst
android_bootable_recovery-ca88c67135d077d3727b1017a44f271ab6ab533a.zip
Diffstat (limited to 'minui/include/private')
-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&);