xref: /aosp_15_r20/cts/apps/EmptyDeviceAdmin/README (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1*b7c941bbSAndroid Build Coastguard WorkerCopyright (C) 2017 The Android Open Source Project
2*b7c941bbSAndroid Build Coastguard Worker
3*b7c941bbSAndroid Build Coastguard WorkerLicensed under the Apache Licence, Version 2.0 (the "License");
4*b7c941bbSAndroid Build Coastguard Workeryou may not use this file except in compliance with the License.
5*b7c941bbSAndroid Build Coastguard WorkerYou may obtain a copy of the License at
6*b7c941bbSAndroid Build Coastguard Worker
7*b7c941bbSAndroid Build Coastguard Worker     http://www.apache.org/licenses/LICENSE-2.0
8*b7c941bbSAndroid Build Coastguard Worker
9*b7c941bbSAndroid Build Coastguard WorkerUnless required by applicable law or agreed to in writing, software
10*b7c941bbSAndroid Build Coastguard Workerdistributed under the License is distributed on an "AS IS" BASIS,
11*b7c941bbSAndroid Build Coastguard WorkerWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*b7c941bbSAndroid Build Coastguard WorkerSee the License for the specific language governing permissions and
13*b7c941bbSAndroid Build Coastguard Workerlimitations under the License.
14*b7c941bbSAndroid Build Coastguard Worker
15*b7c941bbSAndroid Build Coastguard WorkerThis package is used to generate CtsEmptyDeviceAdmin.apk that is used in assets of CtsVerifier.
16*b7c941bbSAndroid Build Coastguard WorkerTo update the apk file, run the following commands from your android checkout:
17*b7c941bbSAndroid Build Coastguard Workercd $ANDROID_BUILD_TOP
18*b7c941bbSAndroid Build Coastguard Workermake -j32 CtsEmptyDeviceAdmin
19*b7c941bbSAndroid Build Coastguard Workercp $OUT/data/app/CtsEmptyDeviceAdmin/CtsEmptyDeviceAdmin.apk \
20*b7c941bbSAndroid Build Coastguard Workercts/apps/CtsVerifier/assets/apk/CtsEmptyDeviceAdmin.apk
21