* We are using the left led as notification LED and hence it
could be breathing or shining while we open or close the
camera. So we don't just set it's brightness to 0 but read
and store the state of the LED before enabling it and
restoring that afterwards.
* To ensure that the left LED is shining while the camera
opens or closes we set it's breathing effect to 0 before
enabling the LEDs.
Change-Id: Ibdfbff3072398bc77ec3257b60622cfc50e8d857
* Give the motor enough time to close in case it was
still opened on boot without showing the error dialog.
Change-Id: Ibc00a999858f5067bbcf07bfecc779f1d0bf3664
* using updateMotor does not make sense here because it
would only close it when the state is MOTOR_STATUS_POPUP,
but we explicitly also want to try to take it back when
it's jammed.
Change-Id: I7594fe01266a514a9fd780d17a91b0c7f957a1e1
* Drop unnecessary shared libraries and c includes
* Replace libhardware c include with libhardware_headers
* Drop unused includes and commented code
* Refactor is_speaker to a bool
* Alphabetize share libraries and speaker devices
* Replace hard-coded sm6150 with $(TARGET_BOARD_PLATFORM)
* Drop unnecessary optional tag
Change-Id: I067e0dae75021cd677892d3b83fbe922fef245f5
* Fixes broken stereo channel seperation.
* Logic and original code by Smosia, slightly rewritten and moved to audio amplifier HAL by Pig.
Co-authored-by: Smosia <stasenko_nv@nrcki.ru>
Signed-off-by: Arian <arian.kulmer@web.de>
Change-Id: I369555a9fcb06065177636b436d2e006c7a0b07d
to make sure they will completely cover the display
Signed-off-by: Marco Rizzo <marco.rizzo.00@outlook.com>
Change-Id: I5ff1a727545c383692b02dabdbcf8810b70df1a1
- on keyguard, added start padding to carrier text to account for the rounded corners
- on keyguard, added end padding to right system icons when multi user switch is not showing
- on keyguard, added end padding to multi user switch
Change-Id: I7c73c538c08b746f3d0f21b2d22586134a87353d
This reverts commit 867af09b6b.
* The boot_completed settings are the default settings already
and switching the settings while booting does not bring a
noticeable improvement.
Change-Id: I7a61e2fa8558b074d5c3d7b19c548b4fde00d918
* Xiaomi adds the audio_hw_socket here, but it needs
their changes in the audio HAL, hence it's useless
for us.
Change-Id: Idf38468ad709623b60b694f458e71d0565ce6fb6
* missed in commit:
66573bbfea
davinci: Drop SSR blobs and set SSR restart_level in init.qcom.rc
Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
Change-Id: I5078d9579e894c0b1a7b30a2984b1ba096843e0e
GPU takes long time(>8ms) when app was launching and closing.
This may because GPU is handling some heavy task like color conversion.
By setting NegativeOffset as 5ms to allow SF have more time to handle
when doing animation transaction and shift back 5ms with
early_app_phase_offset_ns such that app still has the same amount of
time to handle each frame.
Test: 1. Open Chrome from homescreen
2. Swipe vertically to go back to home screen
3. Measure the gpu completion time and "FrameMissed" count from systrace result
Bug: 147339695
Change-Id: I157cb11e8ed8c1ca296fc65612752fbb3d985dcd