summaryrefslogtreecommitdiffstats
path: root/recovery_ui/wear_device.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-03-22 16:23:03 +0100
committerandroid-build-merger <android-build-merger@google.com>2019-03-22 16:23:03 +0100
commitbe1485faecb78b4c5735902ca7ba89aed1de5954 (patch)
tree53c458f85d7ec6ea5243002786d340c8b57dbad6 /recovery_ui/wear_device.cpp
parentMerge "Move apply_from_sdcard to fuse_sdcard_install" am: 3c61cd02cf (diff)
parentMerge "Move librecovery_ui to a sub-directory" (diff)
downloadandroid_bootable_recovery-be1485faecb78b4c5735902ca7ba89aed1de5954.tar
android_bootable_recovery-be1485faecb78b4c5735902ca7ba89aed1de5954.tar.gz
android_bootable_recovery-be1485faecb78b4c5735902ca7ba89aed1de5954.tar.bz2
android_bootable_recovery-be1485faecb78b4c5735902ca7ba89aed1de5954.tar.lz
android_bootable_recovery-be1485faecb78b4c5735902ca7ba89aed1de5954.tar.xz
android_bootable_recovery-be1485faecb78b4c5735902ca7ba89aed1de5954.tar.zst
android_bootable_recovery-be1485faecb78b4c5735902ca7ba89aed1de5954.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);
+}