* Similar to what samsung is doing on devices without hardware intensity control.
* Add `$(call soong_config_set,samsungVibratorVars,duration_amplitude,true)` in BoardConfig.mk to enable.
Change-Id: I87a767e00363c36f8bd4d61cb6dd23b5c033a3d3
* Let framework handle the other ones
* On devices without hardware effects DOUBLE_CLICK effect is just
a single click without this
* Let's only keep CLICK and TICK if no hardware effects are supported,
just like AOSP default vibrator impl
Change-Id: Ib8bf299a417d82fe6196e1b071b5a7b2f9c3e5d8
* 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