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

Unverified Commit 978eefa8 authored by Alexander Martinz's avatar Alexander Martinz
Browse files

batteryservice: remove unneeded catch clause and fix build



The IOException clause already catches the FNF one.
Also in 9f8e6008 the import for
FNF got removed, fix the build.

Change-Id: Iaa8bc77b5191ca6abb62e2ea51fd54614ab3c53b
Signed-off-by: default avatarAlexander Martinz <eviscerationls@gmail.com>
parent 9f8e6008
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -369,8 +369,6 @@ public final class BatteryService extends SystemService {
            vbattNow =  vbattNow / 1000;
            br.close();
            fileReader.close();
        } catch (FileNotFoundException e) {
            Slog.e(TAG, "Failure in reading battery voltage", e);
        } catch (IOException e) {
            Slog.e(TAG, "Failure in reading battery voltage", e);
        }