summaryrefslogtreecommitdiffstats
path: root/recovery_ui/wear_device.cpp
diff options
context:
space:
mode:
authorBill Rassieur <rassb@google.com>2019-03-29 05:13:21 +0100
committerBill Rassieur <rassb@google.com>2019-03-29 05:13:21 +0100
commit74253cca39b50c400ad940dd693fbd96cd1751a3 (patch)
tree6e3ec0b1c17e068568c089037b85c09692ad1608 /recovery_ui/wear_device.cpp
parentMerge "Move apply_from_sdcard to fuse_sdcard_install" am: 3c61cd02cf am: 3c21700fcd (diff)
parentMerge "Move librecovery_ui to a sub-directory" am: 6287253eb4 am: 45898d8bb4 (diff)
downloadandroid_bootable_recovery-74253cca39b50c400ad940dd693fbd96cd1751a3.tar
android_bootable_recovery-74253cca39b50c400ad940dd693fbd96cd1751a3.tar.gz
android_bootable_recovery-74253cca39b50c400ad940dd693fbd96cd1751a3.tar.bz2
android_bootable_recovery-74253cca39b50c400ad940dd693fbd96cd1751a3.tar.lz
android_bootable_recovery-74253cca39b50c400ad940dd693fbd96cd1751a3.tar.xz
android_bootable_recovery-74253cca39b50c400ad940dd693fbd96cd1751a3.tar.zst
android_bootable_recovery-74253cca39b50c400ad940dd693fbd96cd1751a3.zip
Diffstat (limited to 'recovery_ui/wear_device.cpp')
-rw-r--r--recovery_ui/wear_device.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/recovery_ui/wear_device.cpp b/recovery_ui/wear_device.cpp
new file mode 100644
index 000000000..bf21bc962
--- /dev/null
+++ b/recovery_ui/wear_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/wear_ui.h"
+
+Device* make_device() {
+ return new Device(new WearRecoveryUI);
+}