Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
translate ▾

Modern-Apps.git / library / aosp-stubs / src / main / java / android / app / supervision / PolicyKey.java

PolicyKey.java20 lines · 519 BRaw
1package android.app.supervision;
2
3/**
4 * Stub of the framework's {@code android.app.supervision.PolicyKey}.
5 *
6 * <p>Only the two accessors are declared. The builder is upstream but we never construct one -
7 * keys reach us via {@link Policy#getPolicyKey()}.
8 */
9public final class PolicyKey {
10
11 private PolicyKey() {}
12
13 public String getType() {
14 throw new UnsupportedOperationException("stub");
15 }
16
17 public String getPackageName() {
18 throw new UnsupportedOperationException("stub");
19 }
20}