Skip to content

Commit cb6bedb

Browse files
Reordered system services list in alphabetical order.
1 parent 9ba2d7b commit cb6bedb

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

AndroidAnnotations/androidannotations/src/main/java/com/googlecode/androidannotations/model/AndroidSystemServices.java

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -28,33 +28,33 @@ public class AndroidSystemServices {
2828
private Map<String, String> registeredServices = new HashMap<String, String>();
2929

3030
public AndroidSystemServices() {
31-
registeredServices.put("android.view.WindowManager", "android.content.Context.WINDOW_SERVICE");
32-
registeredServices.put("android.view.LayoutInflater", "android.content.Context.LAYOUT_INFLATER_SERVICE");
33-
registeredServices.put("android.app.ActivityManager", "android.content.Context.ACTIVITY_SERVICE");
34-
registeredServices.put("android.os.PowerManager", "android.content.Context.POWER_SERVICE");
35-
registeredServices.put("android.app.AlarmManager", "android.content.Context.ALARM_SERVICE");
36-
registeredServices.put("android.app.NotificationManager", "android.content.Context.NOTIFICATION_SERVICE");
37-
registeredServices.put("android.app.KeyguardManager", "android.content.Context.KEYGUARD_SERVICE");
38-
registeredServices.put("android.location.LocationManager", "android.content.Context.LOCATION_SERVICE");
39-
registeredServices.put("android.app.SearchManager", "android.content.Context.SEARCH_SERVICE");
40-
registeredServices.put("android.os.Vibrator", "android.content.Context.VIBRATOR_SERVICE");
41-
registeredServices.put("android.net.ConnectivityManager", "android.content.Context.CONNECTIVITY_SERVICE");
42-
registeredServices.put("android.net.wifi.WifiManager", "android.content.Context.WIFI_SERVICE");
43-
registeredServices.put("android.view.inputmethod.InputMethodManager", "android.content.Context.INPUT_METHOD_SERVICE");
44-
registeredServices.put("android.app.UiModeManager", "android.content.Context.UI_MODE_SERVICE");
45-
registeredServices.put("android.app.DownloadManager", "android.content.Context.DOWNLOAD_SERVICE");
31+
registeredServices.put("android.view.accessibility.AccessibilityManager", "android.content.Context.ACCESSIBILITY_SERVICE");
32+
registeredServices.put("android.accounts.AccountManager", "android.content.Context.ACCOUNT_SERVICE");
33+
registeredServices.put("android.app.ActivityManager", "android.content.Context.ACTIVITY_SERVICE");
34+
registeredServices.put("android.app.AlarmManager", "android.content.Context.ALARM_SERVICE");
35+
registeredServices.put("android.media.AudioManager", "android.content.Context.AUDIO_SERVICE");
36+
registeredServices.put("android.text.ClipboardManager", "android.content.Context.CLIPBOARD_SERVICE");
37+
registeredServices.put("android.net.ConnectivityManager", "android.content.Context.CONNECTIVITY_SERVICE");
38+
registeredServices.put("android.app.admin.DevicePolicyManager", "android.content.Context.DEVICE_POLICY_SERVICE");
39+
registeredServices.put("android.app.DownloadManager", "android.content.Context.DOWNLOAD_SERVICE");
40+
registeredServices.put("android.os.DropBoxManager", "android.content.Context.DROPBOX_SERVICE");
41+
registeredServices.put("android.view.inputmethod.InputMethodManager", "android.content.Context.INPUT_METHOD_SERVICE");
42+
registeredServices.put("android.app.KeyguardManager", "android.content.Context.KEYGUARD_SERVICE");
43+
registeredServices.put("android.view.LayoutInflater", "android.content.Context.LAYOUT_INFLATER_SERVICE");
44+
registeredServices.put("android.location.LocationManager", "android.content.Context.LOCATION_SERVICE");
45+
registeredServices.put("android.nfc.NfcManager", "android.content.Context.NFC_SERVICE");
46+
registeredServices.put("android.app.NotificationManager", "android.content.Context.NOTIFICATION_SERVICE");
47+
registeredServices.put("android.os.PowerManager", "android.content.Context.POWER_SERVICE");
48+
registeredServices.put("android.app.SearchManager", "android.content.Context.SEARCH_SERVICE");
4649
registeredServices.put("android.hardware.SensorManager", "android.content.Context.SENSOR_SERVICE");
47-
registeredServices.put("android.text.ClipboardManager", "android.content.Context.CLIPBOARD_SERVICE");
48-
registeredServices.put("android.telephony.TelephonyManager", "android.content.Context.TELEPHONY_SERVICE");
49-
registeredServices.put("android.media.AudioManager", "android.content.Context.AUDIO_SERVICE");
50-
registeredServices.put("android.view.accessibility.AccessibilityManager", "android.content.Context.ACCESSIBILITY_SERVICE");
51-
registeredServices.put("android.accounts.AccountManager", "android.content.Context.ACCOUNT_SERVICE");
52-
registeredServices.put("android.app.WallpaperManager", "android.content.Context.WALLPAPER_SERVICE");
53-
registeredServices.put("android.os.DropBoxManager", "android.content.Context.DROPBOX_SERVICE");
54-
registeredServices.put("android.app.admin.DevicePolicyManager", "android.content.Context.DEVICE_POLICY_SERVICE");
5550
registeredServices.put("android.os.storage.StorageManager", "android.content.Context.STORAGE_SERVICE");
56-
registeredServices.put("android.nfc.NfcManager", "android.content.Context.NFC_SERVICE");
51+
registeredServices.put("android.telephony.TelephonyManager", "android.content.Context.TELEPHONY_SERVICE");
52+
registeredServices.put("android.app.UiModeManager", "android.content.Context.UI_MODE_SERVICE");
5753
registeredServices.put("android.hardware.usb.UsbManager", "android.content.Context.USB_SERVICE");
54+
registeredServices.put("android.os.Vibrator", "android.content.Context.VIBRATOR_SERVICE");
55+
registeredServices.put("android.app.WallpaperManager", "android.content.Context.WALLPAPER_SERVICE");
56+
registeredServices.put("android.net.wifi.WifiManager", "android.content.Context.WIFI_SERVICE");
57+
registeredServices.put("android.view.WindowManager", "android.content.Context.WINDOW_SERVICE");
5858
}
5959

6060
public boolean contains(TypeMirror serviceType) {

0 commit comments

Comments
 (0)