organicmaps/android
Roman Tsisyk b9af105fff [android] Remove BATTERY_STATS system permission
This system permission must not be used by regular apps. The only one
potential user of battery level information is util/BatteryState class.
This class uses `Intent.ACTION_BATTERY_CHANGED` intent which doesn't
require any additional permissions [1]. The updated version without
BATTERY_STATS permission works well up to API 21. There is no difference
at all. It is not clear why this permission was needed at all.
Please note that this code is only called in "Automatic" power-save mode
enabled in settings.

[1]: https://developer.android.com/training/monitoring-device-state/battery-monitoring.html

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2022-10-06 12:15:02 +03:00
..
assets Updated hierarchy.txt, removed external_resources.txt 2022-04-19 16:18:55 +03:00
flavors [android] Update Logger usages to static calls 2022-06-15 17:21:00 +03:00
gradle/wrapper [android] Updated gradle and dependencies 2022-05-08 08:56:49 +02:00
jni Added GetMeasurementUnits function. 2022-10-06 11:53:10 +03:00
res [strings] Regenerated 2022-10-06 10:34:39 +03:00
script Update uninstall.sh 2022-10-06 10:40:10 +03:00
src [android] use numbers for transit intermediate points 2022-10-04 02:10:40 +03:00
tests Replaced array of ints with list. 2022-02-18 12:49:04 +03:00
.gitignore [android][ios] Upload metadata and screenshots to AppStore / GooglePlay 2021-08-14 09:54:00 +03:00
AndroidManifest.xml [android] Remove BATTERY_STATS system permission 2022-10-06 12:15:02 +03:00
build.gradle [android] Updated NDK to 25.1.8937393 2022-09-25 23:41:56 +03:00
code_style_scheme.xml [android] Fixed c++ style in android studio code style scheme 2020-04-23 20:01:12 +03:00
debug.keystore Fixed configure.sh script and gh actions 2021-03-23 17:47:44 +01:00
gradle.properties [android] Sorted dependencies 2022-05-31 11:50:48 +03:00
gradlew [android] Updated gradle wrapper to the latest 7.3.3 version 2022-01-30 14:42:03 +01:00
gradlew.bat [android]: Secure Gradle version as suggested by linter 2021-03-14 19:20:35 +03:00
HOW_TO_USE_GRADLE.txt [docs] Expand and simplify dev env setup docs 2021-11-23 23:47:17 +03:00
ic_launcher-playstore.png [android][ios] New logo 2021-06-05 09:20:44 +03:00
multidex-config.txt [android] Refactor logging for simplicity and efficiency 2022-06-15 17:21:00 +03:00
proguard-mwm.txt [android] Proguard fix for release and beta builds 2022-06-14 09:34:09 +03:00