Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2bb9f62 authored by Todd Poynor's avatar Todd Poynor
Browse files

BatteryService: Fix compile warning

Add unhandled enum constant in switch.

Change-Id: I3c7635d9cf1fa1e57b139b9b66103bf660afe3a4
parent a6017bc4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);