Commit Graph

1977 Commits

Author SHA1 Message Date
Elektroschmock 88e01523d3 flo: Fix XML derpage
Change-Id: I37d37864e26a5c2cc9297894bbc47cd39e07c292
2021-08-22 14:04:33 -06:00
Nolen Johnson 1d0c844ec2 flo: Regenerate manifest
* Partial fixup of 556f8bda41
  & 1a32d0d2c0.

Change-Id: I44198641e05934b6cb4e549c43c27b71314ec955
2021-08-22 14:03:48 -06:00
Arne Coucheron 8b26f3ffe8 flo: Set bluetooth HFP version to 1.6
msm8960 platform supports HFP 1.6

Change-Id: I970c8b895dc36435b0ffab7101011970073c8242
2020-10-25 05:57:15 +01:00
surblazer c1a8e7b042 flo: Disable full dexpreopt
Change-Id: Ie2660c0274c94fd938831cb68aa1530930325d7a
2020-10-25 05:57:15 +01:00
Sam Mortimer 7f6fc39c1f flo: Increase media volume steps 15 -> 25
*) With step count = 15, step 1 can be too loud.

*) 25 is a common step count used on other devices.

Change-Id: I6b354e427fc4cee2516a27addc13009baddd5cbe
2020-10-25 05:57:15 +01:00
Kevin F. Haggerty bd396dcce6 flo: libui: Allow additional gralloc 1.0 buffer usage bits
* Our platform requires 0x02000000U,
    which appears to be USAGE_PRIVATE_NONSECURE

 * Resolves the following Gralloc2 failure upon playback:
    buffer descriptor contains invalid usage bits 0x2000000

Change-Id: Ie5a8a46fef1c0f28ebd2cd3b3d29cc19763bc2a3
Signed-off-by: Adrian DC <radian.dc@gmail.com>
2020-10-25 05:57:15 +01:00
Michael W d1db40503c flo: Disable DiscoveryService
* Affects wifi speed.

Change-Id: I12fcd4972d6b8ddb0cf9d5e0a54fb72af24947e2
2020-10-25 05:57:15 +01:00
Alex Naidis 5accc5ccca flo: wifi: Limit hotspot to 10 devices
Change-Id: Ib57a78c7688595b086bcd6a1f8b89ef842358e66
2020-10-25 05:48:51 +01:00
Joey 1a32d0d2c0 flo: Build Trust HAL
Change-Id: I92706987f8d3094cdfb82e71e5331b7efe69e5df
Signed-off-by: Joey <joey@lineageos.org>
2020-10-25 05:48:44 +01:00
Michael W bf3ed8896b flo: Disable NearbyMessagingService
Change-Id: Ib3f923bf8742bf6480d278fb21a873ddc1290484
2019-10-31 18:44:49 +00:00
Nolen Johnson d9cca210d5 flo: Move init.recovery.*.rc to recovery/root
Change-Id: I4819e64371927b399f9a22214bd02340993edf21
2019-08-06 02:20:14 +00:00
Nolen Johnson 48720ae7ae flo: Set sys.usb.ffs.aio_compat in recovery as well
Change-Id: I36d76f74ceae3029f49c3cb564cd876bbb6b5b81
2019-07-30 04:46:49 +02:00
David Marble 5a250e0525 flo: sepolicy: Remove duplicate declarations and update contexts
Change-Id: I329f89f754be544f13b0273cf7a06a266252e3ac
2019-02-19 17:40:00 +01:00
David Marble 6416f0d38a flo: Include device/qcom/sepolicy-legacy
Change-Id: Ifadcaa9a4479e2dd8286958f2b78ee8a89a39ccf
2019-02-19 17:39:40 +01:00
Nolen Johnson 7c6d92bb04 Revert "flo: Use grid-recents"
This reverts commit 359e4b6cfb.

Reason for revert: Google must've stopped caring about tablets in AOSP,
because if you have more than 8 apps open, and try to use the grid-
recents, SystemUI Force-closes.

Relevant Log: https://hastebin.com/kosixepodo.rb

Change-Id: Iba9c4f38712b68cd7921de1a21c1744d30c6dbc9
2019-01-23 05:50:15 +01:00
Nolen Johnson 359e4b6cfb flo: Use grid-recents
* Tablets don't get QuickStep, so make our recents more efficient/pretty.

Change-Id: Ia63f5e5855f5bfa561e3c6921c61102b82703355
2019-01-21 12:40:49 +01:00
Vladimir Oltean facc76b5ab flo: Align to pie-legacy-hw-fde semantics changes
Change-Id: Ib7a2ca067eea8ef7c952b5398bb032d8e854ff76
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
2019-01-06 20:37:25 +01:00
Nolen Johnson 967a88721b flo: Correct BCM HAL name
* Common solution at hardware/broadcom/nfc doesn't define
  the module using platform, so we won't either.

Change-Id: If7f3ab5f52178a8a74789f2af21bff9e1225f294
2019-01-05 07:47:41 +01:00
Artem Borisov f38acef7b4 flo: Use smaller font footprint
Change-Id: Ibf4877f53ef3972fd73e6962277edc59af438bd3
2018-12-19 02:43:07 +00:00
dianlujitao ad0d600840 flo: Rename bt props for new HAL
Change-Id: I1afd110bffed0f43b1afcbef99be8a3776d24e0b
2018-12-19 02:43:06 +00:00
Artem Borisov 90cef7a6c9 flo: Update configuration for CAF audio
Change-Id: I3c943e16adc3cbc9ffaea43ce78bd92cd9efd209
2018-12-19 02:43:06 +00:00
Seigo Nonaka 5a8e720936 fonts: Exclude serif fonts from system.img
Reduces final image size by about 25MB.

Change-Id: I9e8ae18f2d5fb8259aa62418471a3a70cf1908ed
2018-12-19 02:43:06 +00:00
Adrian DC 04f9313ac8 flo: init: Resolve kernel trace_marker permissions on post-fs
* The permissions were not set to 222 instead of 220,
    thus introducing regular logs from libcutils:
    "cutils-trace: Error opening trace file: Permission denied (13)"

 * Refers to frameworks/native/cmds/atrace/atrace.rc

Change-Id: I236ea25d2f2068f9f86a43492807f5f05e92da96
2018-12-19 02:43:05 +00:00
Adrian DC a2699cda8e flo: init: Resolve vendor HALs for early bootanimation start
* Adapt the service from configstore-hal-1-0 service
    to vendor.configstore-hal for AOSP P

 * Also update gralloc-2-0 to vendor.gralloc-2-0

 * Resolves surfaceflinger first launch crash
    due to configstore not being running earlier enough

Change-Id: I5aae6d8357ce71933e7c6673e9e4d37adb55a6af
2018-12-19 02:43:05 +00:00
Arne Coucheron 22d9ef740e flo: Use platform in NFC module suffix
Change-Id: I8cc93e81be6d99902bd23e44ffd694f8b1df843c
2018-12-19 02:43:04 +00:00
Ruchi Kandoi aa797493fd flo: Rename libnfc-brcm.conf -> libnfc-nci.conf
Change nfc.mk as well to reflect the new file name

Test: compiles
Change-Id: Ic7d88b13cd79705aced6283ca8ee5fb067611941
2018-12-19 02:43:03 +00:00
Artem Borisov a280896db9 flo: Update p2p interface configuration
Change-Id: I73b9e240126ccc547e2b6ad3eb5e85e62b94d124
2018-12-19 02:43:02 +00:00
Artem Borisov 06149968cf Revert "Flo: build with SDCLANG"
This reverts commit 3a8466b0c8.

Change-Id: Iedf99c02db32e9d453c4fa9d3c3d5961ad9cabdf
2018-12-19 02:43:01 +00:00
Artem Borisov c46bee8158 flo: Use QCOM hardware
Change-Id: I667d5b2405474453d358b89b00b9319d684504ee
2018-12-19 02:43:01 +00:00
Artem Borisov e9237ace10 flo: Temporarily remove unsupported powerhal options
Change-Id: I83087b610e4db0648420fdc478bf23a1d96005a2
2018-12-19 02:43:00 +00:00
Artem Borisov 4e5720df30 Revert "flo: rename ion_allocation_data.heap_mask to heap_id_mask"
Our kernel doesn't declare it this way anymore.

This reverts commit 52811a9968.

Change-Id: Ibef35c44bc21a1e8fe15388799a9f8c5e90dcb01
2018-12-19 02:43:00 +00:00
Jerry Zhang 334bd16d35 flo: Set sys.usb.ffs.aio_compat
The kernel does not support aio with ffs.
Set the property so adb/mtp know to use the compatible
functions, and the same while in recovery.

Bug: 37916658
Test: Use adb / use adb in recovery
Change-Id: Id35a05fcb9952dcf7239bd15a61cc620537419bc
2018-10-12 04:02:57 +00:00
Roshan Pius 4d93b56264 flo: Don't start supplicant with interfaces
Framework will now add interface to supplicant (via HIDL) when it
needs to control an interface, so don't specify them in the startup
params.

Bug: 69426063
Test: Device boots up and able to connect to wifi.
Change-Id: I817d28093f8b982e3806c212babd888c0f5eb7c0
2018-10-12 04:02:56 +00:00
Roshan Pius bf93099afa flo: wpa_supplicant(hidl): Add support for starting HAL lazily
Bug: 72394251
Test: Able to start supplicant from framework using
ISupplicant.getService()
Change-Id: I19b8434e7241b9028e7dc86316ec9d5512affcca
2018-10-12 04:02:55 +00:00
Roshan Pius fc989aaee3 flo: Uprev to supplicant 1.1
Bug: 65673412
Test: Device boots up and connects to wifi networks.
Change-Id: I2e51291b30fd242edbeae2c69ef9545383895bb3
2018-10-12 04:02:55 +00:00
Jeff Vander Stoep 7fe414acc4 flo: wpa_supplicant: Move control sockets to /data/vendor
Treble compliance.

Bug: 70228425
Bug: 70393317
Test: complete wifi test in b/70393317
Test: verify sockets exist in /data/vendor/wifi/wpa/sockets

Change-Id: I0bfc3a351419f0a03498e79664949f353369bf1b
2018-10-12 04:02:54 +00:00
Jeff Vander Stoep a5477a0e09 flo: wifi_supplicant: deprecate entropy.bin
Wpa_supplicant's random pool is not necessary on Android. Randomness
is already provided by the entropymixer service which ensures
sufficient entropy is maintained across reboots. Commit b410eb1913
'Initialize /dev/urandom earlier in boot' seeds /dev/urandom with
that entropy before either wpa_supplicant or hostapd are run.

Bug: 34980020
Test: Use wifi and wifi tethering on flo
Change-Id: Iaa2a8a42e4e3fd941c5be0f8fa691245cdb429e9
2018-10-12 04:02:54 +00:00
Etan Cohen 2b8e4327c9 flo: Uprev Wi-Fi HAL to 1.2
New HAL APIs are planned. This requires a HAL uprev.

Bug: 65647646
Test: builds and Wi-Fi runs
Change-Id: Ib7efd3d5263e73d1ad40e1a5a687bdb6c133c812
2018-10-12 04:02:53 +00:00
Artem Borisov 05e5386418 flo: Use common USB HAL
Change-Id: Ic3a60d3d9c5b81c237386c97b35067232a665010
2018-10-12 04:02:53 +00:00
Bruno Martins 3d48395930 flo: Consider lineage_flo product via the AOSP way
Change-Id: If4e63de0e6e4150f086a8a912a0e9b2ec161492d
2018-08-19 19:54:07 +00:00
Wyatt Riley 59cf1aaad6 flo: Restoring XTRA GPS assistance
Pointing the base config.xml to XTRA v3
and removing the redundant overlays

Bug: 36356863
Test: Fast GPS fix after delete all on Angler,
 and build confirmation on Bullhead's
 identical fix.

Change-Id: I255b864808dc1b59fde3b2e013335ad81c3ef0e6
2018-06-15 16:35:02 +03:00
Wyatt Riley 3759495872 flo: Xtra Fixes - https, version check & version 3
Tells Qualcomm GPS hardware to:
1) Use https
2) Use the more secure version 3 file
3) Check that the
XTRA file version downloaded matches the version
expected - i.e. the more secure (signed) version 3

Test: Tested live on device, on nyc-mr1

Bug: 31470303
Change-Id: Ib8b3494d622d760e349cac03bad15faaf0477093
2018-06-15 16:34:32 +03:00
Hyejin Kim 05b1504a5a flo: Add carrier specific GPS configurations
Change-Id: I901bbcb59f20d46861e5a78171d18dd3105cf8ce
2018-06-15 16:34:30 +03:00
Pandari Sabhapathi 69ba1d2ce5 flo: Migrating XTRA from gpsonextra.net to cloud based izatcloud.net
*Added logic to remove xtra1.gpsonextra.net from URLs
received from modem
*Added logic to override modem URLs with those configured
in gps.conf
*Replaced all instances of xtra{1,2,3}.gpsonextra.net domain URLs
in gps.conf with xtrapath{1,2,3}.izatcloud.net URLs.
*Replaced all commented instances of xtra.bin in gps.conf with xtra2.bin.

CRs-fixed: 643816

Change-Id: I803b26bce22f06910dcaa1ee057902b9381667bf
2018-06-15 16:22:32 +03:00
Artem Borisov a1a3df2cad flo: Restore gps.conf from stock
Somehow it got removed during 14.1 bringup...

Change-Id: I3cc9ca348a19936400fa56887ecb6ef4b28898bc
2018-06-15 16:22:29 +03:00
Bruno Martins e0682babb3 flo: Inform Trust about legacy encryption support
* Encryption causes noticeable performances loss, because HW crypto
   is not suported.

Change-Id: I4336c0cd050584020780d8ff97f454e40c7e6125
2018-06-14 18:01:11 +03:00
Artem Borisov b063b47387 Revert "flo: Build Snap camera"
Snap doesn't go very well with our new camera hal.
Let's use glorious Camera2 instead.

This reverts commit 5547916083.

Change-Id: I799b852b4f51bd8929121701fd6fc32bd89bc717
2018-06-14 17:59:21 +03:00
Artem Borisov fdca3fc513 flo: sepolicy: Resolve cameraserver text relocations
Change-Id: I0366948280f701187e52ead2e0a23fd8eb53e4ac
2018-06-14 17:43:51 +03:00
Artem Borisov 362aedef28 flo: Define vendor security patch level
Taken from the latest 6.0.1 (MOB30X) factory image.

Change-Id: Iac499c012814196194b83ef32f6d590e0f07daf1
2018-06-14 11:25:35 +03:00
Artem Borisov cf20a14868 Revert "flo: build camera HAL1"
This reverts commit 762539b3d4.

Change-Id: Ie56f294e09951581f6e5048de4f1a69b8ab4b805
2018-06-14 11:17:40 +03:00