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

Commit b1a13a73 authored by Sorin Basca's avatar Sorin Basca Committed by Android (Google) Code Review
Browse files

Merge "Revert "Enforce declared permissions on getCellularBatteryStats() and...

Merge "Revert "Enforce declared permissions on getCellularBatteryStats() and getWifiBatteryStats()"" into sc-dev
parents 6678a6bb 1fa8dbda
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2499,7 +2499,6 @@ public final class BatteryStatsService extends IBatteryStats.Stub
     * @hide
     */
    public CellularBatteryStats getCellularBatteryStats() {
        enforceCallingPermission();
        // Wait for the completion of pending works if there is any
        awaitCompletion();
        synchronized (mStats) {
@@ -2512,7 +2511,6 @@ public final class BatteryStatsService extends IBatteryStats.Stub
     * @hide
     */
    public WifiBatteryStats getWifiBatteryStats() {
        enforceCallingPermission();
        // Wait for the completion of pending works if there is any
        awaitCompletion();
        synchronized (mStats) {