Merge "Catch ServiceSpecificException while fetching tethering stats from Netd"
This commit is contained in:
@@ -2809,7 +2809,7 @@ public class NetworkStatsService extends INetworkStatsService.Stub {
|
|||||||
throw new IllegalStateException("invalid tethering stats " + e);
|
throw new IllegalStateException("invalid tethering stats " + e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (IllegalStateException e) {
|
} catch (IllegalStateException | ServiceSpecificException e) {
|
||||||
Log.wtf(TAG, "problem reading network stats", e);
|
Log.wtf(TAG, "problem reading network stats", e);
|
||||||
}
|
}
|
||||||
return stats;
|
return stats;
|
||||||
|
|||||||
Reference in New Issue
Block a user