commit | 613c8f4eb5cda99681c6bc6303603ece9b4131e7 | [log] [tgz] |
---|---|---|
author | Ayush Sharma <ayushsha@google.com> | Tue May 09 10:42:34 2023 +0100 |
committer | Ayush Sharma <ayushsha@google.com> | Thu May 11 13:54:11 2023 +0100 |
tree | 52055eaa5d0a8ab4e7902c021ff829b49dccdad6 | |
parent | a95583ab8653c1d6e63e0b38c413be0c87972700 [diff] |
Throw exception if can't set default sms app on profile Only allow settting default sms app on work profile, if all the subscriptions on the device are managed(TYPE_ALL_MANAGED_SUBSCRIPTIONS) Bug: 279560135 Test: atest android.devicepolicy.cts.DefaultSmsApplicationTest Change-Id: I3a96855f525a22f27e4ac95fd20d6a9206e1ccac