* That makes clang17 happy
* Fix:
device/xiaomi/sm6150-common/gps/android/utils/battery_listener.cpp:191:13: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation]
auto r = mHealth->unlinkToDeath(this);
^
device/xiaomi/sm6150-common/gps/android/utils/battery_listener.cpp:189:9: note: previous statement is here
if (mHealth != NULL)
^
1 warning and 1 error generated.
Change-Id: I3be1e3de45ce184c9d3dbcede57a312375a91498
Signed-off-by: Nanhumly <admin@warbler.cc>
Default to false if the property is not set.
Device init scripts will need to be adapted to restart
loc_launcher service when property change is detected.
Change-Id: Icbda789cd2a9a3391f437af2c07fc5127f2f09ab
This fixes enum-conversion warning due to implicit type enum casting
between linked_list and msg_q which happens only for status -6.
Change-Id: I27ba74c4d840b7ba0cb1017d69a30fc25b80d6b9
-Wreorder-ctor is a compile-time, Clang-only flag which is enabled by
default since Clang 12, which will warn whenever a specified field will
be initialized right after field specified below it. However, since it
doesn't sweep through all fields, compiler may miss some of them.
This order has been checked thoroughly through many trial and errors to
ensure that no such warns will be triggered anymore.
Change-Id: Id24cbb7277dc8d6c02767f8f365818ab6c017683
Bug: http://b/215753485
This warning is introduced in clang-r445002. In code where the bitwise
operation was used to avoid short-ciruit evaluation, make that explicit
by introducing temporary variables.
Test: build with clang-r445002.
Change-Id: Ia7ccf1d48922d926313f691888d26c3e314c1056
Signed-off-by: kleidione <kleidione@gmail.com>
Squashed with:
Author: Michael Bestas <mkbestas@lineageos.org>
Date: Fri Jan 15 22:14:25 2021 +0200
sm6375-common: Remove unused gps certificates
* They are used by xtwifi-inet-agent which we disabled.
Change-Id: I4fbf6e02276b508a27f320e630ddad3c9aada5a8
Author: Arian <arian.kulmer@web.de>
Date: Thu Apr 1 01:09:38 2021 +0200
sm6375-common: Remove xtwfi-client and xtwifi-inet-agent
Change-Id: I232fd3b351f0e47b86f7d5d7b2a2bd0f28712d64
Change-Id: I70f39d8d611167f65bb3912590b05f8a8d121c80