AndroidGcmController function ( Context arg0 ) { synchronized ( lock ) { if ( androidGcmController == null ) { androidGcmController = new AndroidGcmController ( arg0 , GcmNetworkManager . getInstance ( arg0 ) ) ; } } return androidGcmController ; }
a getter method for androidgcmcontroller singleton which also initializes it if it was n't already initialized . concode_field_sep String GOOGLE_PLAY_SERVICES_PACKAGE concode_elem_sep int QUESO_PLAY_SERVICES_VERSION concode_elem_sep GcmNetworkManager gcmNetworkManager concode_elem_sep Logger logger concode_elem_sep Context context concode_elem_sep AndroidGcmController androidGcmController concode_elem_sep Object lock concode_field_sep void fetchToken concode_elem_sep String getSenderId concode_elem_sep void overrideAndroidGcmControllerForTests concode_elem_sep boolean shouldFetchToken concode_elem_sep void onMessageReceived concode_elem_sep void initializeGcm