Deprecated SCREEN_DIM_WAKE_LOCK, are there any problems?

I really have no problem with the code. I'm just worried that there is fatigue in my Java class. Are there any alternatives? It seems that there may be incompatibilities with the API level. The same denial issue applies to SCREEN_BRIGHT_WAKE_LOCK. Is there any alternative to this (at least making code without fatigue), or is there really not a single moment?

+4
source share

All Articles