Commit graph

266 commits

Author SHA1 Message Date
SamarV-121
32b2b0193b sdm710-common: Add some system props 2019-09-26 01:13:38 +00:00
SamarV-121
ed958c7712 sdm710-common: camera_motor: Update for RMX1901
Co-authored-by: luk1337 <priv.luk@gmail.com>
Co-authored-by: PeterCxy <peter@typeblog.net>
2019-09-21 14:53:42 +00:00
luca020400
fd9829737d sdm710-common: Import stub camera motor HAL 2019-09-21 14:53:31 +00:00
SamarV-121
6e3a415bd5 sdm710-common: Build snap
* Also add its overlay with camera2api enabled
2019-09-21 14:53:27 +00:00
Luca Stefani
978febd290 sdm710-common: Move soong namespaces to device.mk
* This is a product property

Change-Id: I411428687839fca7c794d488bb48e5f1773e570b
2019-09-21 14:53:22 +00:00
Ethan Chen
5ddb403eb0 sdm710-common: Use Soong namespace to avoid device build conflicts
Change-Id: Id04f464102264b6f2e8d49b39389c7e346613b39
2019-09-21 14:53:17 +00:00
Luca Stefani
85cf815a71 sdm710-common: Add QC location support
Change-Id: If363679650179a0a7fad7b01055760b49caf26ca
2019-09-14 06:26:35 +00:00
SamarV-121
a1db24fe8f sdm710-common: android.hardware.biometrics.fingerprint >> vendor.oppo.hardware.biometrics.fingerprint 2019-09-14 06:25:52 +00:00
SamarV-121
f0e9dfe754 sdm710-common: Copy fingerprint permission 2019-09-14 06:25:37 +00:00
SamarV-121
c6e26c8044 sdm710-common: Import fp blobs 2019-09-14 06:24:39 +00:00
SamarV-121
f7e8710bff sdm710-common: Define AtFwd and wifi keystore hal in framework manifest 2019-09-14 06:22:41 +00:00
Artem Borisov
564638cf0b sdm710-common: Add QCOM's WFD implementation
* Sadly, out-of-the-box Miracast support was killed in P, so
  we need this to keep Wi-Fi display feature working.

Change-Id: Ieff24313d55a60ca1898430113f0a8b00acfc6a0
2019-09-14 06:21:35 +00:00
jrizzoli
4c9f2c5188 sdm710-common: Build Trust HAL 2019-09-09 14:46:08 +00:00
GuaiYiHu
b77e83d232 sdm710-common: Fix a2dp 2019-09-09 14:44:46 +00:00
luca020400
3e5e42415f sdm710-common: sepolicy: Address neverallows 2019-09-09 14:44:27 +00:00
Bruno Martins
d315f08575 sdm710-common: Doze: Migrate to androidx
Change-Id: Ifaa67283a3437549a2304088a0ce377b399da19f
2019-08-29 10:03:59 +00:00
Joey
673e03d926 doze: Match Pie settings UI
Change-Id: Ia1cde37923c55faf057189f7085b69522e2802ef
2019-08-29 10:03:49 +00:00
Bruno Martins
56a25429aa Doze: Drop useless SDK dependency
Change-Id: I74901339740b82b79f36754c7e52894a98020c3d
2019-08-29 10:03:42 +00:00
Anton Hansson
d818ef2488 doze: Set LOCAL_PRIVATE_PLATFORM_APIS
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.

Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.

Bug: 73535841
Change-Id: I61299717ab2a6a1fd9a14dde7e1c7961388f722a
2019-08-29 10:03:32 +00:00
Bruno Martins
e817d534a0 Doze: Add missing preference listeners
* Otherwise, it resulted in Doze service not being activated
   when enabling one of the features for the first time after
   a clean installation.

Change-Id: I625d9109fb85c970f0e59b1cbcabba7d4375d2f3
2019-08-29 10:03:22 +00:00
LuK1337
764f507c35 Doze: Make use of real pickup sensor
* Use it for the pickup feature instead of the tilt sensor

Change-Id: I6172154e0cb0278fc0b7dc31d612f5e8ac619d90
2019-08-29 10:03:11 +00:00
ezio84
be68fd6e75 sdm710-common: doze: use ExecutorService for listener registration
Replicate what Google did for SystemUI in this commit.
fabc743bcf

Registering a sensor seems to be an expensive operation,
and we do it on each screen-on event, so moving it to
an asynchronous task looks like a good idea anyway.

By moving all non-essential binder calls of the main thread or to the
next frame, we bring this down to 5ms, such that window animation
and Keyguard animation starts about at the same time.

The interesting part about the ExecutorService:
"Memory consistency effects: Actions in a thread prior to the submission
of a Runnable or Callable task to an ExecutorService happen-before any
actions taken by that task, which in turn happen-before the result is
retrieved via Future.get()."
(from https://developer.android.com/reference/java/util/concurrent/ExecutorService)

Change-Id: I4f37bb9a7dc9d7775d587d4ebd4b6619f3b77e81
2019-08-29 10:02:54 +00:00
Bruno Martins
2f05326436 sdm710-common: Doze: Minor code simplification and clean up
Change-Id: Idff05f2626138c96dccd3ab4c26c4df1be40a606
2019-08-29 10:02:38 +00:00
Bruno Martins
a7e74415e0 sdm710-common: Doze: Build with AAPT2
Change-Id: Iab14804817e6b90bf4d773d9359a04f1e119264a
2019-08-29 10:02:22 +00:00
Bruno Martins
f0d2246d27 sdm710-common: Doze: Re-integrate into Settings
* Apply the default Oreo theme and inherit the layouts
   from Google for the Settings app, in order to keep
   UI consistency.

 * Get rid of SettingsDrawerActivity as it no longer fits in
   and include the back button in the action bar.

 * Kill the icon drawable not only because is a leftover,
   but also doesn't really serve any puropose in the new UI.

Change-Id: I53b6d3bb99d63852ba34d71e16ae99f05223569e
2019-08-29 10:02:10 +00:00
Bruno Martins
1dcb684eea sdm710-common: Doze: Apply LineageOS rebrand
Change-Id: I4daa1092494fdf207ef54dc79f787bcbe1d01a08
2019-08-29 10:02:00 +00:00
Álvaro Brey
ea1e874137 modules: doze: Fix devicesettings path
* Was broken when moved to modules, since it iss a relative path
Change-Id: I7d934e7cfeccdc4bcaaf917de1316e81b34ae220
2019-08-29 10:01:47 +00:00
xiaobai
91d1679e81 sdm710-common: import doze from mi5 2019-08-29 10:01:30 +00:00
Marc K
7456bdd6a3 sdm710-common: Enable proximity check on wake
Change-Id: I6506408447b15464238a2eefd98306efbaffbd84
2019-08-29 10:01:13 +00:00
haran
8e05b6be7a sdm710-common: Remove some overlays that are default
Change-Id: I2340316577c4b56604125f9007161e2ac5b3241c
2019-08-29 10:00:55 +00:00
LuK1337
9fe48b1c2e sdm710-common: Set default clock position to left
Change-Id: I2b597579851434972cd29510ff90dfa8ddc6564f
2019-08-29 10:00:37 +00:00
dianlujitao
83d2143ddc sdm710-common: Wait for MPCTL to start on boot
Change-Id: Ib79b48e1d362872d9d97373d5ca2ad42f7fbc638
2019-08-29 10:00:22 +00:00
Jesse Chan
014e1c6350 sdm710-common: overlay-lineage: enable option for full screen aspect ratio
Change-Id: Ibf0bfabd06d704e220c8a74b60e6a822fa39dcf4
2019-08-29 09:59:44 +00:00
Danny Baumann
fdc1adae35 sdm710-common: overlay-lineage: Enable call recording
Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33
2019-08-29 09:59:33 +00:00
invisiblek
c14f0a53cf sdm710-common: Configure custom led capabilities 2019-08-29 09:59:21 +00:00
SamarV-121
62041ac3d9 sdm710-common: Add hardware keys overlays 2019-08-29 09:59:11 +00:00
raymanfx
40221b1b1c sdm710-common: Fix platform signature
* Taken from /system/etc/selinux/plat_mac_permissions.xml

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-08-29 09:58:52 +00:00
Wang Han
3b4402cd40 sdm710-common: Configure number of physical SIM slots
* Needed by telephony-common

Change-Id: I18c058d295ed2eaf23e8ca5d1f3933b65806ed48
2019-08-29 09:57:30 +00:00
Bruno Martins
d731f1129a sdm710-common: Beautify rounded corners
Change-Id: Ifb3ff156eca7a02daec82138aee449b121c071eb
2019-08-29 09:57:17 +00:00
LuK1337
774aa87672 sdm710-common: overlay: Use 16dp rounded corner padding
Change-Id: I9f81f684d491ed447b7bdb2ca70f558bf75ebc67
2019-08-29 09:57:04 +00:00
SamarV-121
95cabe4133 sdm710-common: Add notch cutout config 2019-08-29 09:56:48 +00:00
Erik Kline
d281417bad sdm710-common: Use tether automatic upstream selection
(config_tether_upstream_automatic=true)

Test: as follows
    - built, flashed, booted
Bug: 32163131
Bug: 62648872
Bug: 63282480
Bug: 110118584
Bug: 110260419

Change-Id: I604cda53d6d37a33de3e3ccc65c0da781d21278b
2019-08-29 09:56:36 +00:00
dianlujitao
4cb4078b40 sdm710-common: sepolicy: Allow system_server to read vendor camera props
Change-Id: I43a2404d9399a931b03e1d2c8589d0d4adb10fc3
2019-08-29 09:56:23 +00:00
LuK1337
8543dadc25 sdm710-common: Allow appdomain to get vendor_camera_prop
* Some apps rely on this and won't work properly if they
  can't read this property. See ~ Snapchat.

Change-Id: I737e28f038941e6d18b96ff512f29dbe0ad7b7e4
2019-08-29 09:56:08 +00:00
Pranav Vashi
0f3fa494fb sdm710-common: Enable Wi-Fi MAC randomization
Change-Id: Ibcabf871f0e35a6f81905392f749478f96b3c47d
2019-08-29 09:55:42 +00:00
Dan Pasanen
ebb248df7f sdm710-common: set ui thread runnable time to zero
* https://source.android.com/devices/tech/debug/jank_jitter#sys.use_fifo_ui

Change-Id: Idc7723e14b3e3920d5736589dcf44e5525d10518
Signed-off-by: Joe Maples <joe@frap129.org>
2019-08-29 09:55:24 +00:00
LuK1337
3dc9353e20 sdm710-common: Add debug IMS props to workaround CarrierConfig restrictions
We support IMS features on carriers not listed in the CarrierConfig,
so let's use the props to enable it everywhere.

Change-Id: Id3ad71d522a22048f7ad86d89695ad262361632d
2019-08-29 09:54:35 +00:00
Jean-Michel Trivi
fb7306640b sdm710-common: Media volume: from 15 to 25 steps
Test: play media, use all 25 vol steps and observe varying attenuation
Bug: 32195657
Change-Id: I7ac87df0b2b15de3a7bb87e739bd88ef7b185236
2019-08-29 09:54:09 +00:00
rago
b820fcc369 sdm710-common: Set voice call volume steps to 7
Bug: 28426597
Change-Id: Icf78d9acec75c500982b1e4391af4d6f3933da37
2019-08-29 09:53:46 +00:00
SamarV-121
2cae618f55 sdm710-common: Add some system props from stock 2019-08-29 09:53:07 +00:00