Merge "Fix infinite loop when registering data usage callback." into nyc-dev

This commit is contained in:
Antonio Cansado
2016-06-20 22:23:34 +00:00
committed by Android (Google) Code Review

View File

@@ -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 */);
}
/**