first of all i assume you are talking about shielding apps.
when i tried to trigger the threshold callbacks i noticed that the threshold i defined was reached not by one app i selected but as a sum of the usage of all the apps i selected. maybe start from there?
if you defined an DeviceActivityEvent with a threshold of X and passed several applications, it means that if the total usage for all the apps combined is X than the callback will fire
if you want each app to have different threshold consider creating DeviceActivityEvent for each app separately
tell me if it was helpful for you
Topic:
Business & Education
SubTopic:
General
Tags: