6 Commits

Author SHA1 Message Date
AmeChanRain
5d63853d25 sm6375-common: gps: Fix misleading indentation
* 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>
2024-05-07 21:54:38 +02:00
Drpto
96447a4029 sm6375-common: gps: Fix some Indentation error
Authorship Goes to github.com/Subratam6296 aka rdx55

Signed-off-by: Drpto <dr.juniornoob@gmail.com>
2024-05-07 21:54:30 +02:00
Michael Bestas
316cc65a8b sm6375-common: gps: Resolve unused parameter warnings
Change-Id: I0acef3da2c3567a28edd0a71dac89a5828f7725d
2023-07-05 02:59:09 +07:00
Giovanni Ricca
6bb9e5065a sm6375-common: gps: Update to LA.UM.9.14.r1-19200.02-LAHAINA.QSSI13.0
Change-Id: I467ece57b82127382f11e48d0dd80e362df0d1c9
Signed-off-by: Ahmad Rulim <personal@rulim34.dev>
2023-07-05 02:59:09 +07:00
Pirama Arumuga Nainar
57b2869a91 sm6375-common: Fix Wbitwise-instead-of-logical introduced by clang-r445002
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>
2023-01-16 02:22:02 +00:00
Arian
21baf7e3a4 sm6375-common: Import gps hal from LA.UM.9.14.r1-16700-LAHAINA.0
Change-Id: I134d6418f1357a4d7ce37358481d6b765d93e1a5
2022-09-04 12:59:30 +00:00