diff options
| author | Alex Johnston <acjohnston@google.com> | 2020-01-22 17:52:47 +0000 | 
|---|---|---|
| committer | Alex Johnston <acjohnston@google.com> | 2020-01-30 15:51:08 +0000 | 
| commit | 05956bd77e1cbd840f5334b470006cd17557062c (patch) | |
| tree | cf456ff167fb5bd05d284efab1888637cea984e1 /tools/aidl/generate_java.cpp | |
| parent | f7006e54eb2894fef5371ed675534c381d3a243f (diff) | |
Modify setDefaultSmsApplication API
* Introduced new logic that allows the profile owner of an
  organization-owned device (COPE PO) to set the default
  SMS application in the personal profile.
* Modified the API to be callable on the parent profile
  instance if called by the COPE PO.
* When called by the COPE PO, the package provided
  must be a system package, otherwise an IllegalArgument
  Exception is thrown.
Bug: 148060194
Test: atest android.admin.cts.DevicePolicyManagerTest#testSetDefaultSmsApplication_failIfNotDeviceOwner
Change-Id: I5b86b10a13064f4ec852631e19f89a80a104dc2b
Diffstat (limited to 'tools/aidl/generate_java.cpp')
0 files changed, 0 insertions, 0 deletions
