commit | e3d1f65ab684faf4a1194bde2618543d71697b46 | [log] [tgz] |
---|---|---|
author | Tony Mak <tonymak@google.com> | Tue Dec 12 11:00:37 2017 +0000 |
committer | Tony Mak <tonymak@google.com> | Wed Dec 20 13:47:53 2017 +0000 |
tree | 5855232fb15f7fc3015da22aaa8abe6cc5aba315 | |
parent | b7e6fd49a5500c6182484335b03343bfdbd6b70b [diff] |
Add access control to trySetWorkModeEnabled and make it public Test: Quick Settings -> Toggle work mode Test: Settings -> Work profile settings -> Toggle work mode Test: Turn off work mode -> Settings -> Turn on work mode in the suggestion Test: Turn on work mode through tapping on work app Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.QuietModeHostsideTest BUG: 70212757 Change-Id: I335c3ab2306a3eb794cd35a3a7b0d184dc31f85e