143 Commits

Author SHA1 Message Date
x0x00044
afd183ca67 mata: overlay: Remove config_cellBroadcastAppLinks
- This is true by default.

Change-Id: I9f91f4bf49995975d434ad8b74b175693409862a
2024-06-22 22:11:29 -04:00
Tommaso Fonda
591eb0eb09 mata: Don't advertise hot swapping capability
It is currently broken on the new radio stack.

Change-Id: Iec45b59871518809ebf891a9311fee91fff8d259
2024-05-21 16:59:38 +02:00
Bruno Martins
687077f0c3 mata: Bringup telephony after U QPR2
Notably, pd-mapper service must be kept for cnss power voting.

This is a large, squashed change that includes everything needed to run
the new radio stack on mata. Apart from the original change by Bruno
Martins for pro1, the following changes are squashed in:
- I38329f6d4ebb7b1a0b0f01e40918fdb73ccbcba9 ("Move telephony
packages to /system_ext")
- I22c2ad6b6da0aae9385631f7f01a1eae7eb59d75 ("Drop no longer used QTI
telephony jar")

Change-Id: Id272a09338b285d419f8f012cfc6b62a7f8ef50c
2024-05-21 16:45:40 +02:00
Michael Bestas
791c94e787 Revert "mata: Ignore IWlan status in the mobile icon pipeline"
We're moving to a more modern radio stack that doesn't need this hack.

This reverts commit 1f29a178c34aa1f9e82c3c3f9ea06f1b8b98d0d3.

Change-Id: I40ceffd6d09a22c9971eb7f4011c9b93543eb954
2024-05-21 16:31:51 +02:00
Tommaso Fonda
1f29a178c3 mata: Ignore IWlan status in the mobile icon pipeline
Some legacy devices such as mata and cheryl lack an IWlan stack. These
devices can set this overlay to true in order not to incorrectly display
a permanent exclamation mark over the mobile network signal icon.

Change-Id: Ife02d90706990bf28c156c9850ef0773802bc5b0
2024-02-15 23:25:58 -05:00
Tommaso Fonda
10cf1ad119 mata: overlay: Update notification icons overlay for Android 14
This is no longer a Lineage addition, it has been implemented in AOSP.

Change-Id: Ibf064353b15dacadd7d83dc8d14a7de2a10ca659
2024-01-23 16:01:26 -05:00
Bruno Martins
cc68203042 mata: overlay: Remove obsolete config_keyboardTapVibePattern
Change-Id: Ic89566183d2cdc4a20ea83f462c56a14184621ae
2024-01-23 16:01:26 -05:00
Danny Lin
5af9ff3780 mata: Don't pin camera app in memory
The default camera app can be *huge* in some cases, e.g. when the app in
question is Google Camera. The system will only pin up to the first 80
MiB of the APK file, as well as the first 80 MiB of its odex. There are
several problems with this:

  - We could easily end up with 160 MiB of camera app files pinned,
    which is a tall order with the 4 GiB of usable RAM that we have
  - The data that gets pinned may not even be the most critical data for
    launching the camera

Let's disable pinning of the camera app to save RAM.

Change-Id: I745e39b6ff212dfaf9213517d2a2be8ff7384e24
2024-01-21 21:04:53 -05:00
Sebastiano Barezzi
84da2992f4 mata: overlay: Drop MMS user agent overlays
* Current profile URL points to a 404 page

Change-Id: I92f3ded52dda04f6cec5709d51c84b32f39d8095
2024-01-21 21:04:53 -05:00
Georg Veichtlbauer
a9a9864dd8 mata: overlay: Update deprecated screen power items
* screen.on -> screen.on.display0
* screen.full -> screen.full.display0

AOSP frameworks/base: 8ac63071a4e6da7e0740f5eb6c6753218efcfd3a

Change-Id: Iad50e6cb63368e2d71e6fa1dbb6997c0f95d321e
2024-01-21 21:04:53 -05:00
Tommaso Fonda
868ae992e6 mata: Move Lineage overlays to overlay-lineage
Change-Id: I3afc70d350058a6044f9119fae58371a9bc76092
2023-09-16 14:52:20 +02:00
Wang Han
8a3d05ec9e mata: overlay: Remove config_hspa_data_distinguishable
Globally enabled in vendor/lineage.

Change-Id: I6e123700a8ad255aab129efc9b7f89b385075b52
2023-09-16 13:06:08 +02:00
Arne Coucheron
e04980c5f3 mata: overlay: Remove config_enabled_lte overlay
* This is true by default.

Change-Id: Id6e26d857adb9f7c4c46415afab6f62fd0c95a2c
2023-09-16 12:13:18 +02:00
Danny Baumann
f39ec19276 mata: Enable call recording
Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33
2023-08-05 11:29:12 +02:00
LuK1337
6fdef63ada mata: overlay: Configure aux camera for Aperture
Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
2023-06-29 18:54:47 +02:00
Alessandro Astone
55e0106d7d mata: Update power profile to match framework change
* Commit LineageOS/android_frameworks_base@3d422c3 renamed:
   cpu.idle -> cpu.suspend
   cpu.awake -> cpu.idle

Change-Id: Id6b289bf01b117d98a6c334fd36619505e0653ec
2023-05-15 16:16:11 +02:00
Bruno Martins
40dd41cc99 mata: Update power profile for P
Change-Id: I161aa25ba166d41b6736dc52bb7dd78e3a2ad0e7
2023-05-15 16:15:27 +02:00
Nolen Johnson
7db0d1cc79 mata: We use AOSP WFD, not QCOM
* AOSP version doesn't support protected buffers and should
  have gone away when we dropped QCOM WFD long ago.
* persist.hwc.enable_vds gets 0 hits in tree/blobs.

Change-Id: Ie26f06ab32c7be3a9178280f978873436ab8993f
2023-01-31 05:47:01 +01:00
Georg Veichtlbauer
06ea0eb0f6 mata: Drop config_setColorTransformAccelerated
It's now enabled by default

Change-Id: I57f059c872fc2ad2fd15e788b1391eeebaff9bde
2023-01-05 22:03:30 +01:00
Jesse Chan
e5fd77d69d mata: Enable option for full screen aspect ratio
Change-Id: I2a1b2acc5ed97ccb6795dc371c2b3ac9cb4f9d03
2023-01-05 22:02:04 +01:00
LuK1337
113c534471 mata: Set a default Settings.Global.DEVICE_NAME
Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
2022-11-18 23:28:00 -05:00
Santiago Seifert
83f63a88b7 mata: Unpin updatable-media from memory
Bug: 214499288
Change-Id: I4823afa45553b9484ad5215d081b0e6635c4b183
Test: Presubmit
2022-11-18 23:27:59 -05:00
eorg Veichtlbauer
9ba92e1281 mata: Move Bluetooth power config away from overlay
Same values go to:
- power profile xml for power calculation
- vendor props for the A13 BT stack

Change-Id: I04dbb8736a599c4798223f7e3e317b2fcc873ded
2022-11-18 23:27:58 -05:00
Bruno Martins
73d23bdf09 mata: overlay: Remove BT related configs
These have been migrated to sysprops in Android 13.

Change-Id: I34c1f6b882a61df6db95523997002512354d875e
2022-11-18 23:27:58 -05:00
Nolen Johnson
2079aae39a Revert "mata: set config_haveNotch overlay to true"
This reverts commit 276db93d9043da1dde2bae3d65f2a41a0296340b.

The config has been removed since the centered display cutout
is now programatically detected.

Change-Id: Idcb96fe444c555a4110f7ed94e7774b413e35c33
2022-07-05 21:28:13 -04:00
Tommaso Fonda
bcfc043571 mata: overlay: Sync the cutout overlay with stock
* Fixes issues with system status bar icons being
      drawn (partially) under the notch.

    * Value pulled from QQ1A.200105.032.

Change-Id: I119098f1a768c70f0293527426379f42c40046a9
2022-07-01 20:04:46 +02:00
Tommaso Fonda
bd0e9ff5e4 mata: overlay: Lower the minimum allowed brightness level to 1
* To align brightness settings with the latest
      stock firmware (QQ1A.200105.032).

Change-Id: I2b34c96d96cd75c79642acfdab8eb196adbc3e4d
2022-06-07 15:00:24 +02:00
Tim Zimmermann
776562510a mata: Import backlight nits mapping from stock
* Required as of ede3ded5e4
  otherwise we get logspam saying "requesting nits when no mapping exists"

* Values pulled from QQ1A.200105.032

Change-Id: I7798025ae1b82affcf366e1c85911259f7c95f1c
2022-05-24 17:14:15 +02:00
Michael W
1b45725188 mata: overlay: Define proximity sensor type with custom threshold
Our proximity sensor reports the maximum range as 5.000305 but the
distance just as 5.0, which leads to SystemUI considering it as near
always. To fix this set the threshold to the actually reported
distance while the sensor is not covered.

Change-Id: I907b3c5af2ec66e0bbac93f31c83891741b75f5a
2022-05-22 18:40:25 +02:00
LuK1337
af435e48cb mata: overlay: Unset config_lockscreenAntiFalsingClassifierEnabled
Old falsing classifier is completely gone, thus this is completely unused.

Change-Id: Iad46e8f2091b0439e906f8c52278c0ba9ed7a80f
2022-05-22 18:38:19 +02:00
Anay Wadhera
03976b7109 mata: Overlay max notification icons
* Max visible icons by default is set to three before
  they are generalized behind a dot.
* Setting it to six in mata's case expands the number of
  icons precisely before they go behind the notch.

Change-Id: I744f96aa084eb31146d47505ee17f6ee70778995
2022-05-15 23:05:22 +02:00
Sourajit Karmakar
5e1bfca9ee mata: Adjust dimens to prevent the notch from obstructing the QS
* Pulled from stock.

Change-Id: Id003fbd2346699cdc98e51bf20f3b7fb259b6f32
2022-05-15 22:58:47 +02:00
SyberHexen
b0847ce685 mata: Disable animateScreenLights
libEGL: eglCreateWindowSurface:712 error 300b (EGL_BAD_NATIVE_WINDOW)
libEGL: eglDestroySurface:857 error 300d (EGL_BAD_SURFACE)
ColorFade: eglDestroySurface failed: error 12301
    java.lang.Throwable
        at com.android.server.display.ColorFade.logEglError(ColorFade.java:690)
        at com.android.server.display.ColorFade.destroyEglSurface(ColorFade.java:626)
        at com.android.server.display.ColorFade.dismissResources(ColorFade.java:333)
        at com.android.server.display.DisplayPowerState.dismissColorFadeResources(DisplayPowerState.java:205)
        at com.android.server.display.DisplayPowerController.animateScreenStateChange(DisplayPowerController.java:1358)
        at com.android.server.display.DisplayPowerController.updatePowerState(DisplayPowerController.java:783)
        at com.android.server.display.DisplayPowerController.access$500(DisplayPowerController.java:82)
        at com.android.server.display.DisplayPowerController$DisplayControllerHandler.handleMessage(DisplayPowerController.java:1767)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:193)
        at android.os.HandlerThread.run(HandlerThread.java:65)
        at com.android.server.ServiceThread.run(ServiceThread.java:44)

Change-Id: I0f0b3c1cdd2e84bf75c2300feac0ffa5012cba28
Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
2022-05-13 16:44:43 -04:00
Alexander Koskovich
e16117eab8 mata: Drop support for Snapdragon Camera.
* Won't be implemented this cycle (or ever again hopefully).

Change-Id: Ie2a346319dfe814deaf9833cb31640505cc6b7dc
2022-05-13 16:44:43 -04:00
Nicolas Geoffray
86b37f1e65 mata: Remove odex/oat files from pinner list.
The pinner now asks the runtime for these files.

Test: adb shell dumpsys pinner
Bug: 144773394
Change-Id: I8de2a2935901cbd3eaa50ce2d8aa09f61080ba02
Merged-In: Ie633ea788dab3389a3407ec9a461b5837befca46
2022-05-13 16:36:02 -04:00
Kevin Jeon
a7f42e3874 mata: Update SurfaceFlinger pin
This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
the file was removed in ag/12524602. The updated pin relies on
go/aog/1552085, as system_service needs read access to SurfaceFlinger.

Bug: 176197656
Test: adb shell dumpsys pinner (coral)
      - shows that /system/bin/surfaceflinger is successfully pinned
      adb logcat | grep PinnerService (coral)
      - no longer shows a file-not-found error in PinnerService
Change-Id: Iae2a96c5fe4b1f5698d21de9970140321d11c460
2022-05-13 16:36:02 -04:00
Nolen Johnson
70d2948e3f mata: Sync pinner overlays with pro1
Change-Id: I1ff4246cf0eaf963faa7e2d3367aa5b59c0fa663
2022-05-13 16:36:02 -04:00
Nolen Johnson
62e1030e78 Revert "mata: Disable WiFi display for now"
This reverts commit adb5c979c06603b73c99aad0761e3778c84617a2.

Change-Id: If772bce95906986f063045e50991f04d7724f6bc
2021-12-23 04:55:11 +01:00
Nolen Johnson
8abfb83d6b mata: overlay: Snap: Remove dead overlays
device/motorola/mata/overlay/packages/apps/Snap/res/values/arrays.xml:21: error: resource string/pref_camera_id_entry_back (aka org.lineageos.snap.auto_generated_rro_vendor__:string/pref_camera_id_entry_back) not found.
device/motorola/mata/overlay/packages/apps/Snap/res/values/arrays.xml:22: error: resource string/pref_camera_id_entry_back (aka org.lineageos.snap.auto_generated_rro_vendor__:string/pref_camera_id_entry_back) not found.
device/motorola/mata/overlay/packages/apps/Snap/res/values/arrays.xml:23: error: resource string/pref_camera_id_entry_front (aka org.lineageos.snap.auto_generated_rro_vendor__:string/pref_camera_id_entry_front) not found.

Change-Id: I31c560ff5ed345dcd625255607f079b8a36e095e
2021-08-01 10:46:15 -04:00
Martin Stjernholm
fde487628c mata: overlay: Update paths to the new ART APEX.
Test: Presubmits
Bug: 135753770
Change-Id: I98378100456dce927ccc253301a398d70d1b7368
2021-07-29 17:22:58 +02:00
Nicolas Geoffray
4b12dde761 mata: overlay: Update in pinned files
Remove or update paths that don't exist.

Bug: 119800099
Test: boots
Change-Id: Ib2cea88499cf08274d620d9d85ffcafc31fee868
2021-07-29 17:09:10 +02:00
razorloves
0d387812c5 mata: Allow 3rd party apps to use fingerprint gestures
Change-Id: I7f08c640452f169c3e403c7af20ca61e7e90ca5c
2021-06-17 04:43:27 +02:00
Kevin Chyn
a137f84c7b mata: Add fingerprint configuration to overlay
The framework was changed in Android R to require explicit authenticator registration.
This change allows apps to continue to use the fingerprint sensor.

Bug: 147445115

Test: Builds
Change-Id: Id3385edc784b2053c8b54ec3153728f4e6e22a45
2021-04-03 11:58:39 -04:00
Michael Bestas
adb5c979c0 mata: Disable WiFi display for now
* Don't show the broken setting until we have a working
  QCOM wfd stack

Change-Id: Ie0637914b853609e27e8c5cb5699364b1717f712
2021-02-16 15:23:49 -05:00
Weilun Du
64cd40bd07 mata: Add TetheringOverlay
* Remove now default overlays while we're at it.

BUG: 163800715
Signed-off-by: Weilun Du <wdu@google.com>
Change-Id: Ia0834f5215ff8c3b13effa591bd2f84d93419a06
2020-12-21 18:38:19 +01:00
Roshan Pius
f44dfb996a mata: overlay: Remove wifi related internal overlays
These are replaced by formal mainline module overlays.

Bug: 143464763
Test: Send for  Wifi regression tests
Change-Id: I45881ed210132252b9c5c7d6be03ed845e33f971
2020-11-08 17:05:45 -05:00
Brad Ebinger
18d0fe3fe8 mata: overlay: Remove old configuration and use new config for MMTEL/RCS
Remove the old config_ims_package device config and configure the
new MMTEL and RCS configurations in Telephony instead. Also,
configure the RcsService to be the default RCS service.

Bug: 111305845
Test: make checkbuild
Change-Id: I0d709b8248f1c40f0a5b50ec799396706eeadd65
2020-11-08 22:40:52 +01:00
Artem Borisov
af5dfea5a2 mata: 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.

* Use stock vendor blobs

Change-Id: Id680d918b64c0e3733251db45992ec477b6fbdfb
2020-04-18 16:22:47 -07:00
Ethan Chen
4489808707 mata: Remove send_mic_mute overlay
Change-Id: I84785986d9d6ce7ca78bbd8d87f03038c802d77d
2020-04-18 11:43:13 -07:00
Jorim Jaggi
27e6a299be Pin HOME application
Test: adb shell dumpsys pinner after boot
Bug: 111132016
Bug: 78585335
Change-Id: I4ed0587ae5348bbe03ad9ac5f1c5b1726dbb8246
2019-10-20 20:12:14 -07:00