KeymapManager () { Application app = ApplicationManager.getApplication(); if (app == null || !LoadingState.CONFIGURATION_STORE_INITIALIZED.isOccurred()) { return null; } KeymapManager instance = INSTANCE; if (instance == null) { instance = app.getService(KeymapManager.class); INSTANCE = instance; } return instance; }