private void initScreenShotSaver ( ) { if ( screenShotSaverThread == null || screenShotSaver == null ) { screenShotSaverThread = new HandlerThread ( "ScreenShotSaver" ) ; screenShotSaverThread . start ( ) ; screenShotSaver = new ScreenShotSaver ( screenShotSaverThread ) ; } }
This method initializes the aysnc screenshot saving logic