Commit graph

3418 commits

Author SHA1 Message Date
Hoss Zhou
4bab73548d Fix: Xtra connection initialization issue
HAL sends an empty field to Xtra when connections
is not updated.

Change-Id: I42c456581a1a968887880154f1ffffee12421354
CRs-Fixed: 2259165
2018-08-06 14:17:12 -07:00
Hoss Zhou
f2f6ca70c5 SAP:update SENSOR_CONTROL_MODE configuration
set SENSOR_CONTROL_MODE to MODEM_DEFAULT to make INS
use its default setting.

remove SENSOR_PROVIDER and SENSOR_USAGE.

Change-Id: I99d48d4600a6bca8e64ae0d1ff065af762888b2e
CRs-Fixed: 2285242
2018-08-05 14:52:50 -07:00
Linux Build Service Account
6f17924602 Merge "Skip position filtering for telematics" 2018-08-05 05:29:31 -07:00
Isaac Chen
d6ed30131a wayne: sepolicy: Address IR denials
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-08-05 00:00:16 +00:00
Linux Build Service Account
230751d957 Merge "Cache the SUPL server and port on each update" 2018-08-03 10:05:06 -07:00
Dante Russo
12b3302094 Skip position filtering for telematics
When engine hub is loaded, e.g.: if any of the
engine services are enabled in izat.conf, position
filtering is skipped and all position (valid or
invalid) will be reported to requesting client

Change-Id: Idc340478c977d8da441211d4c81580987b0f4a29
CRs-fixed: 2290155
2018-08-02 14:34:57 -07:00
Linux Build Service Account
148224c378 Merge "Delete LocApiBase and derived class on msgTask thread" 2018-07-31 04:01:57 -07:00
Isaac Chen
3eebbc8ec1 wayne: sepolicy: Address btnvtool denial
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-31 00:00:10 +00:00
Isaac Chen
29136ba5ed wayne: light: Support ramp step notification control
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-31 00:00:10 +00:00
Isaac Chen
8f63059aea wayne: sepolicy: Address camera denials
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-31 00:00:10 +00:00
TheScarastic
80a669c55a wayne: sepolicy: Add sepolicy for goodix script
Change-Id: Ic8b7dba6a5660c17f5db1c743e5d22f31ae1b1b3
2018-07-31 00:00:10 +00:00
Isaac Chen
cff97f0832 wayne: Cleanup properties
* Remove unused properties
 * Rearrange props
 * Use fluence audio

Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-31 00:00:10 +00:00
Kevin Tang
a8f926020f Delete LocApiBase and derived class on msgTask thread
Direct delete of the API obj on caller thread could result
in a race condition that caller still has close() or other
handling running at the same time the API object is being
or already deleted.

CRs-Fixed: 2275383

Change-Id: I5d3de204befec3c22c73cece8516e90800abbd35
2018-07-30 16:17:37 -07:00
Bhavna Sharma
2a005b5816 Cache the SUPL server and port on each update
CRs-Fixed: 2286256

Change-Id: I7adb584ff6f81c6a7f50f5ec4e9a4a094414e297
2018-07-30 12:23:12 -07:00
Linux Build Service Account
19c10059bc Merge "Added FDCL_2 feature support bit" 2018-07-27 07:45:39 -07:00
Isaac Chen
7b8535343b wayne: Switch to enforcing
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-27 00:00:11 +00:00
Isaac Chen
a59e765afb wayne: sepolicy: Initial denials
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-27 00:00:11 +00:00
Dante Russo
26e542da6d Modify ODCPI timer from 30s to 10s
ODCPI timer is modified to match location
request duration that was changed from 30s
to 10s in frameworks.

Change-Id: If1380635b0b87d55bf9a00197b806b3de48b6f4f
CRs-fixed: 2282588
2018-07-25 17:29:31 -07:00
Kevin Tang
6a12f3743f Added FDCL_2 feature support bit
Added FDCL_2 feature support bit

Change-Id: Icae2cf89f06f8d1d8d87c8115fe8efce9ccc566a
CRs-Fixed: 2191059
2018-07-25 16:40:28 -07:00
Linux Build Service Account
04f0a9a45d Merge "Merge remote-tracking branch 'quic/location.lnx.3.0.c5' into location.lnx.4.0" 2018-07-24 21:53:37 -07:00
Dante Russo
06d93da4a1 Deprecate reading of ro.lean property
ro.lean property is no longer used, so remove
reading logic of this property. If ro.lean is
added in the future, it will need vendor prefix.
Change-Id: I6b5e891f6d59c0809f9136541bbfb6696cbf4d5a
CRs-fixed: 2282702
2018-07-23 17:58:04 -07:00
Linux Build Service Account
6bb4b271cf Merge "Add a timer for better handling of ODCPI/DBH" 2018-07-23 13:58:14 -07:00
Bhavna Sharma
92e990faf8 Merge remote-tracking branch 'quic/location.lnx.3.0.c5' into
location.lnx.4.0

CRs-Fixed: 2282734

Change-Id: I5911f47d796591474eb19be527499daf758bff03
2018-07-23 13:11:31 -07:00
Dante Russo
48b4774ece Add a timer for better handling of ODCPI/DBH
Prevent more than one ODCPI request into
frameworks each 30 seconds.
Request ODCPI every 30 seconds while modem
is actively requesting it
Allow location injections for ODCPI even
outside ODCPI session.
Emergency ODCPI requests override normal ODCPI
requests

Change-Id: Ie2de6a5d42e749fce2e45cd672fc1d667b3f3347
CRs-fixed: 2246658
2018-07-19 10:45:29 -07:00
Isaac Chen
39445a3026 wayne: Decleare dt2w node
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-19 00:01:07 +00:00
Isaac Chen
d7d8aaeacc wayne: Set vendor security patch level
+ Package: miui_MI6X_8.7.16_36c868a278_8.1.zip

Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-19 00:01:07 +00:00
Paul Keith
1ee644d212 wayne: overlay: Reorder tetherable connection types
* In O, the default setting for mobile data always active was
  changed from off to on, meaning that when non-WiFi tethering
  is being attempted, more than one connection can be active
* Since the first active connection type in this overlay is used,
  reorder the values to get WiFi connections first, and then
  any type of mobile data connection, instead of vice versa

Change-Id: I41f31ba1a2793e209ff439c9ba28a390fecdeecb
2018-07-19 00:01:07 +00:00
LuK1337
0618942b01 wayne: overlay: Remove config_no_sim_display_network_modes overlay
* This overlay does not exist since we are no longer
  based on CAF.

Change-Id: Ibbc522f9ab1597d7e039eb7458cf4bb3924b7176
2018-07-19 00:01:07 +00:00
LuK1337
cb5b4f507b wayne: overlay: Remove send_mic_mute_to_AudioManager overlay
* send_mic_mute_to_AudioManager hasn't been doing anything
  since Android 4.4, therefore there's no reason to keep it.

Change-Id: I74ed33265fccd59def5c2f9e67a9e8a28ce4dbc9
2018-07-19 00:01:07 +00:00
Antoine Giraudmaillet
f2aa710e36 wayne: ipacm: Fix memory leaks
* Errors reported by CppCheck.

Change-Id: I700e4c8ef6a4cb7f551e1d9c69f72d218b124dde
2018-07-19 00:01:07 +00:00
SzuWei Lin
2fdf20b62c wayne: Move android.hardware.gnss@1.0-service-qti.rc to vendor
The .rc file should be on the vendor image, or can not boot
with generic system image.

Bug: 63051055
Test: Boot with GSI to home screen
Change-Id: I1e2ebe5d23a6cf5a4176ee33613ef621b4b558cf
2018-07-19 00:01:07 +00:00
Demon Singur
8085b952a5 wayne: Build separate system and vendor hidl libs
Change-Id: If8e2211e643bdb0ff67fb248e7fe33b78077a06e
2018-07-19 00:01:07 +00:00
LuK1337
b7caae3d07 wayne: Remove camera.device impl from PRODUCT_PACKAGES
* camera.device impl is a dependency of camera provider
  therefore there's no need to add it to PRODUCT_PACKAGES.

Change-Id: I3ae211965a31b5f85af3dd0fa1c7811b802586c3
2018-07-19 00:01:07 +00:00
Luca Stefani
bca941560b wayne: Remove unwanted WiFi packages
Change-Id: I27bd4a2c7df84bc3cde59987f9cbd36ab5f94ab4
2018-07-19 00:01:07 +00:00
Bruno Martins
a54ba51b8c wayne: Remove wificond from device makefiles
* This package is being built globally

Change-Id: I70aaf469acc29ded3cf5bb24ab112a76b36a7835
2018-07-19 00:01:07 +00:00
Isaac Chen
f78ff84052 wayne: Undef BTM_DEF_LOCAL_NAME
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-19 00:01:07 +00:00
Michael Bestas
587fead983 wayne: Get rid of recovery-only fstab
* Mounting /system and /vendor partitions is handled in kernel now,
   however removing the entries from fstab caused issues building
   the OTA. The workaround was to have a separate fstab, but turns out
   that simply setting the recoveryonly flag does the trick because
   those are then ignored during a normal Android boot.

Change-Id: I2944384d0a1c41bc9f9f51e2e29daff2bed0a0f4
2018-07-19 00:00:34 +00:00
Rashed Abdel-Tawab
abb3472878 wayne: Set shipping API level via inherited makefile
* PRODUCT_SHIPPING_API_LEVEL is set there

Change-Id: I8adecfbaafb538277f6451a5dbc8abc279bf0c15
2018-07-19 00:00:09 +00:00
maxwen
678bfcef81 wayne: overlay: Update overlay to hide sRGB toggle
Expected as an array in Settings package.

Change-Id: I92a56abb0fc1379e4482d1889d04d8db6a14ea2b
2018-07-19 00:00:09 +00:00
Jesse Chan
25cd992652 wayne: overlay-lineage: Enable option for full screen aspect ratio
Change-Id: Ibf0bfabd06d704e220c8a74b60e6a822fa39dcf4
2018-07-19 00:00:09 +00:00
Bruno Martins
38501bbfd1 wayne: Fix typo from CodeAurora in the QTI whitelist
* Let com.qualcomm.qcrilmsgtunnel break free

Change-Id: I6243a6d21da7709bf6612270d7638f1231b9f601
2018-07-19 00:00:09 +00:00
Bruno Martins
e3b3f7d5ba wayne: Adjust overlays for recently added light capability
* Led capability LIGHTS_ADJUSTABLE_BATTERY_LED_BRIGHTNESS was recently
   added to the Lineage SDK. Declare such capability, since our targets
   don't have RGB battery leds, but the lights HAL supports brightness
   control via the alpha channel for battery and notification lights.

Change-Id: Ifcdc4816d27f7b781712dde6eb9b2e4f73449c6c
2018-07-19 00:00:09 +00:00
guaiyihu
7712e1328f wayne: overlay-lineage: Disable button brightness settings
Change-Id: If9db29aecc16f7df108b2001beccf7ab073dc461
2018-07-19 00:00:09 +00:00
guaiyihu
a20e7447db wayne: overlay: Show navigation bar
* Remove hardware key overlay

Change-Id: I2f493d954e55cdb116bb6a774f017f4c0342f121
2018-07-19 00:00:09 +00:00
Bhavna Sharma
2900a1c570 body frame uncertainty parameters in position report
added uncertainty parameters for longAccel, latAccel, vertAccel,
yawRate and pitch.

Change-Id: I804dc0b370dd78402a6641f5a16e5ee7a53ff9a1
CRs-Fixed: 2262454
2018-07-17 14:54:53 -07:00
Isaac Chen
f05bd896e3 wayne: Set model via checking hardware revision
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:03:44 +00:00
TheScarastic
25b47ac236 wayne: Delete goodix data if other slot is taking up space 2018-07-13 00:03:44 +00:00
Isaac Chen
9e61877f1b wayne: proprietary-files: Move goodix firmware to system
* Not loading when it is in vendor

Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:03:44 +00:00
Isaac Chen
a07f5c59c3 wayne: Import HIDL fingerprint wrapper service
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:03:24 +00:00
Isaac Chen
e9c2d355a4 wayne: Build libinit
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:03:18 +00:00