xref: /aosp_15_r20/prebuilts/sdk/33/module-lib/api/framework-permission-s.txt (revision 344a7f5ef16c479e7a7f54ee6567a9d112f9e72b)
1*344a7f5eSAndroid Build Coastguard Worker// Signature format: 2.0
2*344a7f5eSAndroid Build Coastguard Workerpackage android.app.role {
3*344a7f5eSAndroid Build Coastguard Worker
4*344a7f5eSAndroid Build Coastguard Worker  public class RoleFrameworkInitializer {
5*344a7f5eSAndroid Build Coastguard Worker    method public static void registerServiceWrappers();
6*344a7f5eSAndroid Build Coastguard Worker  }
7*344a7f5eSAndroid Build Coastguard Worker
8*344a7f5eSAndroid Build Coastguard Worker  public final class RoleManager {
9*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getBrowserRoleHolder(int);
10*344a7f5eSAndroid Build Coastguard Worker    method @Nullable public String getSmsRoleHolder(int);
11*344a7f5eSAndroid Build Coastguard Worker    method @Nullable @RequiresPermission(android.Manifest.permission.SET_PREFERRED_APPLICATIONS) public boolean setBrowserRoleHolder(@Nullable String, int);
12*344a7f5eSAndroid Build Coastguard Worker  }
13*344a7f5eSAndroid Build Coastguard Worker
14*344a7f5eSAndroid Build Coastguard Worker}
15*344a7f5eSAndroid Build Coastguard Worker
16*344a7f5eSAndroid Build Coastguard Workerpackage android.safetycenter {
17*344a7f5eSAndroid Build Coastguard Worker
18*344a7f5eSAndroid Build Coastguard Worker  public final class SafetyCenterFrameworkInitializer {
19*344a7f5eSAndroid Build Coastguard Worker    method public static void registerServiceWrappers();
20*344a7f5eSAndroid Build Coastguard Worker  }
21*344a7f5eSAndroid Build Coastguard Worker
22*344a7f5eSAndroid Build Coastguard Worker}
23*344a7f5eSAndroid Build Coastguard Worker
24