commit | ef92bff8d2e8f6ec9a526fdb4fcfead0146a10f3 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Thu Apr 26 10:44:50 2018 -0700 |
committer | Eric Laurent <elaurent@google.com> | Thu Apr 26 10:59:56 2018 -0700 |
tree | 85d8dac27ec4d7fd456743485085c6ff319b6676 | |
parent | 64da22285776f07a775afd45f9fc36cea1aa05e3 [diff] |
audioserver: return binder call permission error in reply When a transaction to IAudioFlinger or IAudioPolicyService is detected from an unauthorized source, return the INVALID_OPERATION status in reply Parcel and not as transaction status. Also removed check on SET_RINGER_MODE as it is not implemented on client side and allow SET_MODE from system AIDs instead of just audioserver. Bug: 78615605 Test: manual audio smoke tests. Change-Id: Ia4fdfc22f049da69aaa9d45075e1c502eecf4521