Home
last modified time | relevance | path

Searched refs:mManageRoleHolderStateLiveData (Results 1 – 1 of 1) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DDefaultAppViewModel.java53 private final ManageRoleHolderStateLiveData mManageRoleHolderStateLiveData = field in DefaultAppViewModel
74 return mManageRoleHolderStateLiveData; in getManageRoleHolderStateLiveData()
83 if (mManageRoleHolderStateLiveData.getValue() != ManageRoleHolderStateLiveData.STATE_IDLE) { in setDefaultApp()
87 mManageRoleHolderStateLiveData.setRoleHolderAsUser(mRole.getName(), packageName, true, 0, in setDefaultApp()
97 if (mManageRoleHolderStateLiveData.getValue() != ManageRoleHolderStateLiveData.STATE_IDLE) { in setNoneDefaultApp()
101 mManageRoleHolderStateLiveData.clearRoleHoldersAsUser(mRole.getName(), 0, mUser, context); in setNoneDefaultApp()