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:
parent
bfd4e42c8d
commit
320e313d2c
1 changed files with 2 additions and 1 deletions
|
|
@ -305,7 +305,8 @@ public class NetworkStatsManager {
|
|||
*/
|
||||
public void registerUsageCallback(int networkType, String subscriberId, long thresholdBytes,
|
||||
UsageCallback callback) {
|
||||
registerUsageCallback(networkType, subscriberId, thresholdBytes, null /* handler */);
|
||||
registerUsageCallback(networkType, subscriberId, thresholdBytes, callback,
|
||||
null /* handler */);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue