nsclient remove debug data that puts stress on the broadcast system
This commit is contained in:
parent
cfe8e0a23a
commit
c1e030d789
|
@ -31,13 +31,6 @@ public class BroadcastAckAlarm {
|
|||
intent.putExtras(bundle);
|
||||
intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES);
|
||||
context.sendBroadcast(intent);
|
||||
try {
|
||||
List<ResolveInfo> x = context.getPackageManager().queryBroadcastReceivers(intent, 0);
|
||||
log.debug("ACKALARM " + x.size() + " receivers");
|
||||
} catch (Exception e){
|
||||
//for testing
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -30,13 +30,5 @@ public class BroadcastAlarm {
|
|||
intent.putExtras(bundle);
|
||||
intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES);
|
||||
context.sendBroadcast(intent);
|
||||
|
||||
try{
|
||||
List<ResolveInfo> x = context.getPackageManager().queryBroadcastReceivers(intent, 0);
|
||||
|
||||
log.debug("ALARM " + x.size() + " receivers");
|
||||
} catch (Exception e){
|
||||
//for testing
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,12 +31,5 @@ public class BroadcastAnnouncement {
|
|||
intent.putExtras(bundle);
|
||||
intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES);
|
||||
context.sendBroadcast(intent);
|
||||
try {
|
||||
List<ResolveInfo> x = context.getPackageManager().queryBroadcastReceivers(intent, 0);
|
||||
|
||||
log.debug("ANNOUNCEMENT " + x.size() + " receivers");
|
||||
} catch (Exception e){
|
||||
//for testing
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,12 +31,5 @@ public class BroadcastCals {
|
|||
intent.putExtras(bundle);
|
||||
intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES);
|
||||
context.sendBroadcast(intent);
|
||||
try {
|
||||
List<ResolveInfo> x = context.getPackageManager().queryBroadcastReceivers(intent, 0);
|
||||
|
||||
log.debug("CAL " + x.size() + " receivers");
|
||||
} catch (Exception e){
|
||||
//for testing
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,12 +30,5 @@ public class BroadcastClearAlarm {
|
|||
intent.putExtras(bundle);
|
||||
intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES);
|
||||
context.sendBroadcast(intent);
|
||||
try {
|
||||
List<ResolveInfo> x = context.getPackageManager().queryBroadcastReceivers(intent, 0);
|
||||
|
||||
log.debug("CLEARALARM " + x.size() + " receivers");
|
||||
} catch (Exception e){
|
||||
//for testing
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,13 +50,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 " + part.length() + " records " + x.size() + " receivers");
|
||||
} catch (Exception e){
|
||||
//for testing
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,12 +31,5 @@ public class BroadcastMbgs {
|
|||
intent.putExtras(bundle);
|
||||
intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES);
|
||||
context.sendBroadcast(intent);
|
||||
try {
|
||||
List<ResolveInfo> x = context.getPackageManager().queryBroadcastReceivers(intent, 0);
|
||||
|
||||
log.debug("MBG " + x.size() + " receivers");
|
||||
} catch (Exception e){
|
||||
//for testing
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,13 +32,6 @@ public class BroadcastProfile {
|
|||
intent.putExtras(bundle);
|
||||
intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES);
|
||||
context.sendBroadcast(intent);
|
||||
try {
|
||||
List<ResolveInfo> x = context.getPackageManager().queryBroadcastReceivers(intent, 0);
|
||||
|
||||
log.debug("PROFILE " + x.size() + " receivers");
|
||||
} catch (Exception e){
|
||||
//for testing
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -49,13 +49,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
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -42,12 +42,5 @@ public class BroadcastStatus {
|
|||
intent.putExtras(bundle);
|
||||
intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES);
|
||||
context.sendBroadcast(intent);
|
||||
try {
|
||||
List<ResolveInfo> x = context.getPackageManager().queryBroadcastReceivers(intent, 0);
|
||||
|
||||
log.debug("STATUS: " + x.size() + " receivers");
|
||||
} catch (Exception e){
|
||||
//for testing
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -142,13 +142,6 @@ public class BroadcastTreatment {
|
|||
intent.putExtras(bundle);
|
||||
intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES);
|
||||
context.sendBroadcast(intent);
|
||||
try {
|
||||
List<ResolveInfo> x = context.getPackageManager().queryBroadcastReceivers(intent, 0);
|
||||
|
||||
log.debug("TREAT_REMOVE " + treatments.length() + " treatments " + x.size() + " receivers");
|
||||
} catch (Exception e){
|
||||
//for testing
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -30,12 +30,5 @@ public class BroadcastUrgentAlarm {
|
|||
intent.putExtras(bundle);
|
||||
intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES);
|
||||
context.sendBroadcast(intent);
|
||||
try {
|
||||
List<ResolveInfo> x = context.getPackageManager().queryBroadcastReceivers(intent, 0);
|
||||
|
||||
log.debug("URGENTALARM " + x.size() + " receivers");
|
||||
} catch (Exception e){
|
||||
//for testing
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue