cmsdk: Fix CTS Failure due to testDumpProtected
Only dump CMAudio Service State for processes with dump permissions. OPO-679 Change-Id: I28a501851a76e6d82f5726c13ac1fac74f47a8f1
This commit is contained in:
parent
10f165d5d0
commit
9ff5ea9cea
@ -113,6 +113,8 @@ public class CMAudioService extends SystemService {
|
||||
|
||||
@Override
|
||||
public void dump(FileDescriptor fd, PrintWriter pw, String[] args) {
|
||||
mContext.enforceCallingOrSelfPermission(android.Manifest.permission.DUMP, TAG);
|
||||
|
||||
pw.println();
|
||||
pw.println("CMAudio Service State:");
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user