Commit Graph

23 Commits

Author SHA1 Message Date
Bruno Martins
a639e6b415 polaris: Bring NFC NXP up to speed
The soong namespaces must now be set so that the proper
implementations are selected.

Change-Id: Ic205daf36a1153d94e7d03a7693fb2583703e2b5
2019-09-28 01:03:38 +01:00
Bruno Martins
00f1f9cf48 polaris: Clean up NFC packages
AOSP impl is not needed at all when NQ NFC is used and all the
rest are implicitly built.

Include support for GSMA NFC API while at it.

Change-Id: Ib8141fb8ceedffc3ebecb7ad4e71491a31573f07
2019-08-10 01:21:35 +02:00
Bruno Martins
cf2ba14f2f polaris: Add device specific init script
Change-Id: I754044ed120d46a9b70f786ef1513978a025e313
2019-07-31 21:41:44 +01:00
1nfrag
f672f28e93 polaris: Set up NFC
Change-Id: Ib10e931059ad185e26541ceb68390124bb64686e
2019-07-31 21:41:44 +01:00
Bruno Martins
ee72f28d13 polaris: Import stock audio configs
* From MIUI 9.6.20

Change-Id: Idc0b0b7db7b2d08b77ea174b943301e2f98f6252
2019-07-31 21:41:38 +01:00
Bruno Martins
ab3deada92 polaris: Append device manifest to common one
* No more hacks needed.

Change-Id: Ie5798c2223752eb9a73204eced65aacb29eb8b68
2019-07-30 22:17:13 +01:00
Bruno Martins
d6ed029a21 polaris: Include device-specific feature permissions
Change-Id: I52a3fa421fa28771d00812437c06b5ff57880707
2019-07-14 11:19:54 +01:00
Bruno Martins
59b92a4db8 polaris: Place a copy of NXP NFC config into system image
* Unleash all the NFC features even before starting to
   build our custom vendor images.

Change-Id: Ic6ae9d47555a5ba4ffa7897ac63e5064486fb09c
2019-05-05 12:01:25 +01:00
Bruno Martins
78ba07f23e polaris: Copy device fstab to vendor
Change-Id: I63e6126d48a2efb586b80567f80a1498f0b81cb7
2019-03-13 22:08:46 +00:00
Ruchi Kandoi
488c702667 polaris: Remove system and vendor image dependency
libnfc-nci.conf shouldn't be a part of vendor image, since it is
accessed by libnfc-nci and Nfc application, both are part of system
image.

Test: Nfc enable/disable
Bug: 72080121
Change-Id: I03b6387afc35a521c8a6f9fea1ec2e649d56a38f
2019-03-13 23:07:22 +01:00
Bruno Martins
49d355ea31 polaris: Align NFC configs with upstream
* Match all the changes up to LA.UM.7.3.r1-06900-sdm845.0

Change-Id: I9d1ace9fdc102e6cc7f9fee9cd0a10be027dd90e
2019-03-13 23:07:17 +01:00
Bruno Martins
3a9f657e4d polaris: Import stock NFC configs
* Configs taken from MIUI 9.3.7 global dev build

Change-Id: Icffc0b6b5450d48d3d86d0cb6a45d0155a977867
2019-03-13 23:05:46 +01:00
1nfrag
c26e3ae038 polaris: Import and bind mount stock manifest
* Stock vendor manifest from MIUI 8.9.20

Change-Id: Ie073fd4d71180f7e9c0b05b78018cb03fbf1ccb5
2018-10-02 20:42:54 +02:00
Bruno Martins
cd70d7844e polaris: Switch to NQ NFC stack
* So that it matches prebuilt vendor. On a sidenote, this was
   moved from the common tree to the individual device trees,
   because not all the targets support NFC.

Change-Id: Ic600594bc073ef3883225fb01039b1953a880807
2018-10-02 10:48:08 +01:00
Bruno Martins
ba0291908f polaris: Drop all device-specific treble hacks
* Android 9 (P) is now available as public beta, meaning that all the hacks
   for running 8.1 with 8.0 blobs can now be dropped.

Change-Id: I68595dd790dec51fb45ccd1d3fb907be81f3b896
2018-09-30 09:07:03 +01:00
Pierre-Hugues Husson
9355330e38 polaris: Override vendor's usb_audio_policy_configuration
Android 8.1 added the support for new type of USB Audio devices
(USB_HEADSET, instead of old USB_DEVICE)
Some older USB devices got converted to this USB_HEADSET while still
using the old protocol.
There is no driver change needed, but the audio policy needs to be
changed.
Since vendors are simply using AOSP usb_audio_policy_configuration
Override it by ourself.

Change-Id: I5c43cd7c95f721914cf94f4dc20c992b4f6a24e9
2018-08-06 18:48:56 +02:00
Bruno Martins
c29e46cef9 polaris: Ship KPTI patched time daemon
* To go along with rebased kernel without having to revert
   KASLR commits.

Change-Id: If62275b5ac3d42d51edee7fe919d3b0aeb8ccd19
2018-08-04 12:08:26 +02:00
Bruno Martins
4930ecbe48 polaris: Override framework compatibility matrix
* Declare support for 26.0 sepolicy version to allow booting
   with prebuilt O-MR0 vendor images.

Change-Id: I446cd051a6c1ecc04fe8202150ed1f81cb8482c0
2018-07-31 18:08:50 +02:00
Bruno Martins
50b90896eb polaris: Add stock system props
Change-Id: I15fa54396856af6d41a6f8d94998d47c65054fe3
2018-07-16 23:53:48 +01:00
LuK1337
6782ce5b86 polaris: Add VNDK 26->27 compat layer
Change-Id: I44838df783f77313d148f8ff543347ff8a87fceb
2018-07-17 00:21:31 +02:00
Bruno Martins
1bf2990d43 polaris: Add device input configs and keylayouts
Change-Id: If4c7d64f473d97e28652a6c7333be9f20c84b190
2018-07-16 22:38:46 +01:00
Bruno Martins
371e6b277b polaris: overlay-lineage: Configure hardware keys
Change-Id: I30e7c168db9b762c198e735981d63c4d6e3faf3f
2018-07-08 01:07:12 +01:00
Bruno Martins
6384d7ffbd polaris: Add initial device tree files
Change-Id: Ie2b132330e73d382a4a57970266a633a5ace4739
2018-07-08 01:07:09 +01:00