Merge "Fix infinite loop when registering data usage callback." into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
55e82ab60f
@@ -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