Preserve the previous input devices defined and define the screen drivers
present on the xiaomi-sm8250 kernel in order to be scanned depending on the
device that is running (tested on lmi/lmipro).
Change-Id: I8e9410ee0c1b70d8d84ea4c711d0947f4163f4d4
This is a squash of the following commits:
From: Bruno Martins <bgcngm@gmail.com>
Date: Fri, 31 Jan 2020 23:10:19 +0000
Subject: sm8250-common: power: Scan input devices for eligible DT2W node
It is no longer a surprise for anyone to see Xiaomi shipping the same
device with different displays and different displays usually mean
different touchscreen drivers.
The current double tap handling in the power HAL only takes into
account one specific node, meant to be set in the device tree.
However, if the touchscreen was registered as a different input device
it would cause the feature to be broken. Address the issue by iterating
through the input devices in order to find one supported touchscreen
input to be used.
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Change-Id: I2f7fb4a8b0c9cd1a16d6c2b93602d285a191f170
From: Bruno Martins <bgcngm@gmail.com>
Date: Fri, 9 Oct 2020 12:19:37 +0100
Subject: sm8250-common: power: Adapt extension to new aidl power HAL
Change-Id: I58ac49957d8d28ad904912986d89ac8db4820ff9
Change-Id: If30eaca900f0a046f7740c681e8707b5dce8e1a9
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.
This change uses component-override to enable the service by default.
Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth components.
Bug: 135048762
Test: adb shell pm query-services \
com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
adb shell pm query-services \
com.android.bluetooth/.hid.HidDeviceService
adb shell pm query-services \
com.android.bluetooth/.sap.SapService
Change-Id: I284d254a921b14d1533745611a083f4b5a27d9dc
This is a squash of the following:
Author: Dan Pasanen <dan.pasanen@gmail.com>
Date: Sat Oct 19 00:06:11 2019 -0500
floral: Reserve additional space on system/product/vendor
Change-Id: Iacd45444dd0d3f423314a8edb243370600f37cdb
Author: Nolen Johnson <johnsonnolen@gmail.com>
Date: Sun Aug 16 03:27:34 2020 +0530
floral: Don't reserve space for gapps WITH_GMS
Change-Id: Ie95b32654772622f7a061947c252b09a45db8fdd
Author: LuK1337 <priv.luk@gmail.com>
Date: Sun Sep 6 14:51:31 2020 +0200
floral: Don't limit system inode count when !WITH_GMS
Change-Id: I458edd755fa436feadeb9f5fb2aecb0da797b0ef
Author: Eamon Powell <eamonpowell@outlook.com>
Date: Fri Jan 1 11:59:38 2021 +1100
floral: Adjust reserved partition space
* Increase reserved partition space for vendor and add reserved
partition space for system_ext so both partitions can be
written to, regardless of GMS presence.
* Increase product reserved partition space so smaller addon
packages that write to the product partition like MindTheGapps
can be installed.
* Increase the amount of available space on the system partition
so the user can optionally choose to install other addon packages
that write to the system partition such as OpenGapps.
Change-Id: I8d3ecca3980d50621f960fd7dff22ba40f495fee
[SebaUbuntu] Always reserve at least 30MB on each partition
Change-Id: I0382f5070751ef4d1be0e48bb89c7abb7eba22c6