commit | ef0d366a5fe9fe06bb69d5f2afe813904fddc280 | [log] [tgz] |
---|---|---|
author | Suprabh Shukla <suprabh@google.com> | Fri May 21 23:39:12 2021 -0700 |
committer | Suprabh Shukla <suprabh@google.com> | Tue May 25 13:08:56 2021 -0700 |
tree | ae1d020501fc3ff43481355ebd0e48abcf4e2739 | |
parent | 59d20a8fb0aad9b71b2c7ca1a3f0b36e443d2355 [diff] |
Add a shell command for distraction restrictions Test: adb shell pm set-distracting-restriction E.g. adb shell pm set-distracting-restriction --flag hide-notifications \ com.android.chrome Then, verify the distractionFlags shown in adb shell dumpsys package com.android.chrome Fixes: 169841816 Change-Id: Ic056cb33759a9e36f722c3b3622d9f714ab668c8