Fix infinite loop when registering data usage callback.
Trivial fix is to call the method that takes the handler as a param. Bug: 29508547 Change-Id: I75ba30a1663be265eed56b24deda82e83fd47a43
This commit is contained in:
@@ -305,7 +305,8 @@ public class NetworkStatsManager {
|
|||||||
*/
|
*/
|
||||||
public void registerUsageCallback(int networkType, String subscriberId, long thresholdBytes,
|
public void registerUsageCallback(int networkType, String subscriberId, long thresholdBytes,
|
||||||
UsageCallback callback) {
|
UsageCallback callback) {
|
||||||
registerUsageCallback(networkType, subscriberId, thresholdBytes, null /* handler */);
|
registerUsageCallback(networkType, subscriberId, thresholdBytes, callback,
|
||||||
|
null /* handler */);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user