1// Copyright (C) 2021 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15
16// TODO(b/176993670): hacky DevicePolicyManager implementation that uses ordered broadcasts and a
17// Mockito spy to implement the IPC between users (so tests running on current user can call the
18// device owner running on system user), but before S is shipped it should be replaced by using the
19// connected apps SDK or the new CTS infrastructure.
20package {
21    default_applicable_licenses: ["Android-Apache-2.0"],
22}
23
24java_library {
25    name: "DpmWrapper",
26    platform_apis: true,
27    srcs: [
28        "src/main/java/**/*.java"
29    ],
30    static_libs: [
31        "androidx.localbroadcastmanager_localbroadcastmanager",
32        "mockito-target-minus-junit4",
33    ],
34}
35