blob: 345aea45b63014c53b3a4498dead34ecbe404c2d [file] [log] [blame]
Doug Zongker945fc682014-07-10 10:50:39 -07001/*
xunchangea2912f2019-03-17 16:45:12 -07002 * Copyright (C) 2019 The Android Open Source Project
Doug Zongker945fc682014-07-10 10:50:39 -07003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
xunchangea2912f2019-03-17 16:45:12 -070017#pragma once
Doug Zongker945fc682014-07-10 10:50:39 -070018
Tianjie Xu8f397302018-08-20 13:40:47 -070019#include "recovery_ui/device.h"
20#include "recovery_ui/ui.h"
xunchang3cc23d52019-03-18 15:03:33 -070021
22int ApplyFromSdcard(Device* device, bool* wipe_cache, RecoveryUI* ui);