18 Commits

Author SHA1 Message Date
Peter Kalauskas
26f3dde185 mata: devicesettings: Enable use_resource_processor for all sysui deps
This will make the build faster

Test: m checkbuild
Bug: 295208392
Change-Id: I0c1bd901429bbe3bf81c1530e156735f8637a96e
2024-03-28 21:41:02 +01:00
Micheal
b424d1ef40 mata: devicesettings: Add an exported flag in manifest
Targeting S+ (version 31 and above) requires that an explicit value
for android:exported be defined when intent filters are present

Change-Id: I12d27c23624eb5259da582b86ac1bd7572754f0c
2024-01-21 21:05:59 -05:00
Arian
b319b334dd mata: devicesettings: Target current sdk
Change-Id: Ia623282960775569325714ab3bff5ad027776352
2024-01-21 21:05:59 -05:00
Bruno Martins
a2f88be3e7 mata: doze: Fix compilation for QPR1 merge
Change-Id: Ifa602ed1ae0734dbda40663770f2e54075bfa208
2023-01-05 22:02:19 +01:00
AmeChanRain
7abfc0f23c mata: devicesettings: Drop unused lineage-sdk dependency
* It's unnecessary to include it, devicesettings don't even use it

Change-Id: Ided847a7ab44a4cea34db0e2e7e1c90d6fac4a9e
2022-05-13 16:44:43 -04:00
Bruno Martins
81d8f8fe58 mata: devicesettings: Fix search indexables provider
Prior to this change, touchscreen settings weren't indexed.

Change-Id: Ifa0da12ca95b340a29c4dbc83225e329655c09b7
2022-05-13 16:44:43 -04:00
Bruno Martins
654421094a mata: devicesettings: Adapt to S style
Change-Id: I31f710208a4827f1441469958ba643a52a940733
2022-05-13 16:44:43 -04:00
Bruno Martins
5c1994b508 mata: devicesettings: Use all shared resources from devicesettings
Change-Id: Icd7f381c574ea36eb4d797cefd60ba9f1a0941bd
2021-02-04 23:48:13 +01:00
Ethan Chen
50cbdd0379 mata: Convert touchscreen properties to platform property
* Regular vendor properties are not accessible by both system_app and
  vendor_init, convert the touchscreen properties into something that
  both can use.

Change-Id: I5862e911a56416ca7e310151dbcfeb4e1f3a160f
2019-10-27 16:47:33 -07:00
Ethan Chen
9950326a45 mata: Migrate to androidx
Change-Id: I9c1e9c7259bf4b65ed60efdad96222470bcb5c8f
2019-10-14 03:10:07 +02:00
Paul Keith
a02d877fc5 mata: devicesettings: Actually query default value
* This fixes the horrible out-of-box touchscreen behavior resulting
  from smoothness level 0 being set as the default if the user hasn't
  chosen a preference yet, which is the case for any clean install

Change-Id: I93550f9889e0ba04795b4d0628bde5132e1f8429
2019-03-03 02:53:48 +01:00
Paul Keith
4c735a320e mata: devicesettings: Query XML resource for smoothness summary
* This should never be a java constant

Change-Id: I54fce47a1826a3a9edbe67535e3e6316d49b3a1b
2019-03-03 02:53:48 +01:00
Paul Keith
55f0b9532d mata: devicesettings: Update min and max value
* min is actually 0 in the backend, and max is actually 13
* Stock sets the minimum value at 1, however our seekbar
  implementation only allows a minimum value of 0, so we
  will leave the minimum value at 0 since the backend
  supoorts it and update the resources to reflect that

Change-Id: I38a11c1ef17d2812f4330f794ad92deba26f9a76
2019-03-03 02:51:10 +01:00
Rashed Abdel-Tawab
906669ab27 mata: Rewrite touchscreen settings strings
"Touchscreen settings" -> "Touchscreen"
"Extra touchscreen settings" -> "Grip rejection and smoothing"

Change-Id: I24e23134df616fc8b6ca6682600b12ffcc6037f5
2019-03-03 02:38:14 +01:00
Paul Keith
6036ca00f0 mata: devicesettings: Make copyright headers consistent
* Update copyrights to 2019 while we're at it

Change-Id: I5a3976527ca9087a8a142f8ccdda5c36db93c05c
2019-03-02 14:13:23 +01:00
Rashed Abdel-Tawab
3ee22fbd5c mata: Move grip and smoothing props to vendor.
Change-Id: If03fff1156e7a7fcb44ce9552138aa1db06d40eb
2018-12-12 05:39:45 +01:00
Rashed Abdel-Tawab
68d7028e06 mata: Set LOCAL_SDK_VERSION for devicesettings APK
Change-Id: I251318acc0eb1f886e6143a550366e8efc7099e6
2018-12-11 20:04:27 -08:00
Ethan Chen
eaad53aaa5 mata: Add device settings for touchscreen
Change-Id: Ib6bceb903e446f4947ce8e087c03d9165b138bb6
2018-04-11 20:10:53 -07:00