* Makes Trust usb restrict properly reenable USB once it got disabled
* Also call notifyEnableUsbDataStatus with the actual status
Change-Id: I58daea3149b26355a9af28ff7ae651b90b5a3484
* Samsung does not let userspace disable that, so better always show the
notification instead of leaving users wondering about why USB does no
longer work
Change-Id: Iab045c8b15a726644ce51ce2877030d4b71cbcf7
hardware/samsung modules shouldn't be globally available for every
device. They can cause conflicts with other devices and break things.
One notable example is aidl/memtrack overwriting pixel .rc and thus
breaking memtrack on Pixel 6 and 7, which results in non booting device.
Change-Id: I78b1b9930a57bc01afda722b9f8a196c372f9d8b
* android.hardware.sensors@aidl-multihal sources taken from hardware/interfaces @ android-13.0.0_r3
Change-Id: Ifec53372d142dcaf3f2111431ee2b3c2674744f2
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.
Bug: 161456198
Test: m
Merged-In: I14a1c57bd06f1f2aa52491f779c7030d4de03547
Change-Id: I7b9055909b901843631314b9577a9e578a739d00
d88d29a438 moved audio hal to vendor
but props audio hal is reading can't be used as vendor props so turn them into vendor props
in case some treble compatible device ends up using this hal and can't cross read props
Change-Id: I439b07011b681af05cbfaa4b7d88ae337751a6ff
* DRP is not supported, switch back to what we had with our old 1.1-typec HAL
* Restores support for external display
Change-Id: I0792a629bb082ceb95582bc28447d7cdea757f2e
* Helps with the now rare enrollment calibration errors we get
and also with fingerprint enrollment after enrolling a fingerprint
in DSU (without this it constantly fails with calibration error after that)
[Linux4: Pass 1 as parameter and unconditionally call it]
Change-Id: Idde4a4b06efc279d227ab2e3b4056ed8855dbf8f
Fixes this error
hardware/samsung/audio/voice.c:346:14:
error: case value not in enumerated type 'audio_devices_t'
[-Werror,-Wswitch]
case AUDIO_DEVICE_OUT_ALL_SCO:
Signed-off-by: Francescodario Cuzzocrea <bosconovic@gmail.com>
Change-Id: I4902b463acf15994ccb9d5a0a4968ac81fc0905c
* used by Exynos 850 devices
* requires a kernel patch in touchscreen driver to invert reported proximity values,
see d7ab9befc3
Change-Id: I3d5d7de2f6ef7877490fa36968a4c07e0ac1e40e
* Even if amplitude is > 0 resulting intensity might be 0 sometimes
* New devices just return EINVAL in kernel and ignore it, but on older
ones this may result in very weak vibration
Change-Id: I5d290d60d8414ca747dce4af847f190e3caedbe0
When dolby was never enabled before this would return -1 resulting in a
crash when adding the QS Tile.
Change-Id: I9ce49309aa54f4e954bd3917bfc737811a152a55
Targeting S+ (version 31 and above) requires that an explicit value
for android:exported be defined when intent filters are present
Change-Id: I2ce2b2cd1dcd69e343ae8577587483b19d825fdc
While Google found that fingerprint HAL is insensitive to
increased CPU throughput, we have not found that to be the
case. Allowing more CPUs makes fingerprint unlock up to
2x faster in some tests.
SM8250 device with fingerprint on display:
- Before: 3128ms
- After: 944ms
SDM845 device with fingerprint on the power button:
- Before: 1146ms
- After: 688ms
This reverts commit d0fdb4431d26e4f257b8867f67ffd9b4a9818d9e.
Change-Id: I7a28d82caee2b8503b974a8226b29240eb072ceb