Is there a way to set levelAndFlags and tag parameters for newWakeLock android method ?
The reason behind this question is that I want to set a specific tag that should be useful for Huawei/Honor devices that might kill app services unless they have some whitelisted wakelock tags.
Is there a way to set
levelAndFlags
andtag
parameters for newWakeLock android method ?The reason behind this question is that I want to set a specific tag that should be useful for Huawei/Honor devices that might kill app services unless they have some whitelisted wakelock tags.
More info about this can be found here