Merge "Catch ServiceSpecificException while fetching tethering stats from Netd"

This commit is contained in:
Treehugger Robot
2022-07-21 18:34:52 +00:00
committed by Gerrit Code Review

View File

@@ -2809,7 +2809,7 @@ public class NetworkStatsService extends INetworkStatsService.Stub {
throw new IllegalStateException("invalid tethering stats " + e);
}
}
} catch (IllegalStateException e) {
} catch (IllegalStateException | ServiceSpecificException e) {
Log.wtf(TAG, "problem reading network stats", e);
}
return stats;