QCOM RIL Audio fix from SonyXperiaDev
Go to file
MarijnS95 4a4608a898 Convert QcRilAm to SDK compliant app without PRIVATE_API access.
In order to build devices on API 28 and above, all vendor apps need to
use public, "stable" SDK APIs. Use of LOCAL_PRIVATE_PLATFORM_APIS is not
allowed anymore.

Noteworthy changes:
- The app doesn't need to be privileged. Both permissions have
  protectionLevel=normal, and the selinux domain can be applied to
  non-privileged apps just fine.
- AudioManager is a wrapper around AudioSystem, at least when it comes
  to get/setParameters which are used here.
- Sim slot count now comes from SubscriptionManager, which internally
  uses the isub system service and needs an extra selinux permission to
  retrieve.
  Note that the Max() variant, which retrieves the number of sim slots,
  does not require the dangerous permission READ_PHONE_STATE, while the
  "actual inserted sim count" variant of this function does.
- the android.hidl.manager dependency isn't necessary.

Signed-off-by: MarijnS95 <marijns95@gmail.com>
2019-12-04 19:15:46 +01:00
interface/am/1.0 QcRilAm: An app to handle QcRilAudio callbacks 2018-11-15 11:30:44 +01:00
src/com/sony/qcrilam Convert QcRilAm to SDK compliant app without PRIVATE_API access. 2019-12-04 19:15:46 +01:00
Android.bp PATH fix 2018-11-15 14:57:21 +01:00
Android.mk Convert QcRilAm to SDK compliant app without PRIVATE_API access. 2019-12-04 19:15:46 +01:00
AndroidManifest.xml Make QcRilAm a privileged system app 2018-12-12 08:41:52 +01:00
proguard.flags QcRilAm: An app to handle QcRilAudio callbacks 2018-11-15 11:30:44 +01:00
README.md Add README.md 2018-11-16 19:57:56 +01:00

QcRilAm

An app that handles communicating with the proprietary hal vendor.qti.radio.am in order to setup audio callbacks.

The interface definition used to communicate is taken from phhusson's work: cfca54c743