@@ -28,33 +28,33 @@ public class AndroidSystemServices {
28
28
private Map <String , String > registeredServices = new HashMap <String , String >();
29
29
30
30
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" );
46
49
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" );
55
50
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" );
57
53
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" );
58
58
}
59
59
60
60
public boolean contains (TypeMirror serviceType ) {
0 commit comments