private void acquirePrecachingWakeLock ( ) { if ( mPrecachingWakeLock == null ) { PowerManager pm = ( PowerManager ) getSystemService ( Context . POWER_SERVICE ) ; mPrecachingWakeLock = pm . newWakeLock ( PowerManager . PARTIAL_WAKE_LOCK , TAG ) ; } mPrecachingWakeLock . acquire ( ) ; }
Acquire the precaching WakeLock .