nsclient remove debug data that puts stress on the broadcast system 3

This commit is contained in:
AdrianLxM 2017-07-19 16:09:34 +02:00
parent 621c32d832
commit e6ce35485a
2 changed files with 0 additions and 14 deletions

View file

@ -27,13 +27,6 @@ public class BroadcastDeviceStatus {
intent.putExtras(bundle);
intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES);
context.sendBroadcast(intent);
try {
List<ResolveInfo> x = context.getPackageManager().queryBroadcastReceivers(intent, 0);
log.debug("DEVICESTATUS " + x.size() + " receivers");
} catch (Exception e){
//for testing
}
}
public static void handleNewDeviceStatus(JSONArray statuses, Context context, boolean isDelta) {

View file

@ -32,13 +32,6 @@ public class BroadcastSgvs {
intent.putExtras(bundle);
intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES);
context.sendBroadcast(intent);
try {
List<ResolveInfo> x = context.getPackageManager().queryBroadcastReceivers(intent, 0);
log.debug("SGV " + x.size() + " receivers");
} catch (Exception e){
//for testing
}
}
public static void handleNewSgv(JSONArray sgvs, Context context, boolean isDelta) {