summaryrefslogtreecommitdiffstats
path: root/minui/include/private/resources.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-05-11 22:06:22 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-05-11 22:06:22 +0200
commit8c6f699b368598907bb950ca68a732bc44470601 (patch)
treeb2582f367c622015c1df8de96bf3ca618c7967e2 /minui/include/private/resources.h
parentMerge "recovery: Configure device menu based on runtime info." (diff)
parenttests: Add tests for ScreenRecoveryUI. (diff)
downloadandroid_bootable_recovery-8c6f699b368598907bb950ca68a732bc44470601.tar
android_bootable_recovery-8c6f699b368598907bb950ca68a732bc44470601.tar.gz
android_bootable_recovery-8c6f699b368598907bb950ca68a732bc44470601.tar.bz2
android_bootable_recovery-8c6f699b368598907bb950ca68a732bc44470601.tar.lz
android_bootable_recovery-8c6f699b368598907bb950ca68a732bc44470601.tar.xz
android_bootable_recovery-8c6f699b368598907bb950ca68a732bc44470601.tar.zst
android_bootable_recovery-8c6f699b368598907bb950ca68a732bc44470601.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&);