Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Grechuhin <i.grechuhin@gmail.com>2017-06-02 12:00:30 +0300
committerIlya Grechuhin <i.grechuhin@gmail.com>2017-06-02 12:00:30 +0300
commitcd4b8241fd8c1a09ce2d239281c46400b0534c13 (patch)
tree79b08292fec0cb8e5d6e5b2f1c5d477354c9f222 /android
parentb3d1196752e78e216bf6c3283a13c32b551b618d (diff)
[MAPSME-4641] Added ChargingStatus to Platform.MAPSME-4641
Diffstat (limited to 'android')
-rw-r--r--android/jni/com/mapswithme/platform/Platform.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/android/jni/com/mapswithme/platform/Platform.cpp b/android/jni/com/mapswithme/platform/Platform.cpp
index 6a958e47fb..829464fba2 100644
--- a/android/jni/com/mapswithme/platform/Platform.cpp
+++ b/android/jni/com/mapswithme/platform/Platform.cpp
@@ -54,6 +54,11 @@ Platform::EConnectionType Platform::ConnectionStatus()
return static_cast<Platform::EConnectionType>(env->CallStaticByteMethod(static_cast<jclass>(*clazzConnectionState), getConnectionMethodId));
}
+Platform::ChargingStatus Platform::GetChargingStatus()
+{
+ return Platform::ChargingStatus::Unknown;
+}
+
namespace android
{
void Platform::Initialize(JNIEnv * env,