Skip to content
Commit ef0d366a authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

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
parent 59d20a8f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment