summaryrefslogtreecommitdiffstats
path: root/recovery_ui/vr_device.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-03-22 16:15:37 +0100
committerandroid-build-merger <android-build-merger@google.com>2019-03-22 16:15:37 +0100
commit45898d8bb496921efbe56d250380a26a7f449a56 (patch)
tree53c458f85d7ec6ea5243002786d340c8b57dbad6 /recovery_ui/vr_device.cpp
parentMerge "Move apply_from_sdcard to fuse_sdcard_install" (diff)
parentMerge "Move librecovery_ui to a sub-directory" (diff)
downloadandroid_bootable_recovery-45898d8bb496921efbe56d250380a26a7f449a56.tar
android_bootable_recovery-45898d8bb496921efbe56d250380a26a7f449a56.tar.gz
android_bootable_recovery-45898d8bb496921efbe56d250380a26a7f449a56.tar.bz2
android_bootable_recovery-45898d8bb496921efbe56d250380a26a7f449a56.tar.lz
android_bootable_recovery-45898d8bb496921efbe56d250380a26a7f449a56.tar.xz
android_bootable_recovery-45898d8bb496921efbe56d250380a26a7f449a56.tar.zst
android_bootable_recovery-45898d8bb496921efbe56d250380a26a7f449a56.zip
Diffstat (limited to 'recovery_ui/vr_device.cpp')
-rw-r--r--recovery_ui/vr_device.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/recovery_ui/vr_device.cpp b/recovery_ui/vr_device.cpp
new file mode 100644
index 000000000..fd7613307
--- /dev/null
+++ b/recovery_ui/vr_device.cpp
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2017 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "recovery_ui/device.h"
+#include "recovery_ui/vr_ui.h"
+
+Device* make_device() {
+ return new Device(new VrRecoveryUI);
+}