diff options
author | Todd Poynor <toddpoynor@google.com> | 2013-04-19 17:39:04 -0700 |
---|---|---|
committer | Todd Poynor <toddpoynor@google.com> | 2013-04-22 18:16:17 -0700 |
commit | b2bb9f623231e9d77ab2c1999eb39ba0156a04c6 (patch) | |
tree | b69fb770f96d65510ab388a20c8de93c5b4517a0 /services/jni | |
parent | a6017bc4bfb64b743ab74ec35925d060a90bd237 (diff) | |
download | frameworks_base-b2bb9f623231e9d77ab2c1999eb39ba0156a04c6.zip frameworks_base-b2bb9f623231e9d77ab2c1999eb39ba0156a04c6.tar.gz frameworks_base-b2bb9f623231e9d77ab2c1999eb39ba0156a04c6.tar.bz2 |
BatteryService: Fix compile warning
Add unhandled enum constant in switch.
Change-Id: I3c7635d9cf1fa1e57b139b9b66103bf660afe3a4
Diffstat (limited to 'services/jni')
-rw-r--r-- | services/jni/com_android_server_BatteryService.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/services/jni/com_android_server_BatteryService.cpp b/services/jni/com_android_server_BatteryService.cpp index 089ba4b..0c8b4a5 100644 --- a/services/jni/com_android_server_BatteryService.cpp +++ b/services/jni/com_android_server_BatteryService.cpp @@ -371,6 +371,9 @@ int register_android_server_BatteryService(JNIEnv* env) if (access(path, R_OK) == 0) gPaths.batteryTechnologyPath = path; break; + + case ANDROID_POWER_SUPPLY_TYPE_UNKNOWN: + break; } } closedir(dir); |