Loading services/core/java/com/android/server/InputMethodManagerService.java +3 −3 Original line number Diff line number Diff line Loading @@ -214,8 +214,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub Context.BIND_AUTO_CREATE | Context.BIND_NOT_VISIBLE | Context.BIND_NOT_FOREGROUND | Context.BIND_IMPORTANT_BACKGROUND | Context.BIND_SHOWING_UI; | Context.BIND_IMPORTANT_BACKGROUND; /** * Binding flags used only while the {@link InputMethodService} is showing window. Loading @@ -223,7 +222,8 @@ public class InputMethodManagerService extends IInputMethodManager.Stub private static final int IME_VISIBLE_BIND_FLAGS = Context.BIND_AUTO_CREATE | Context.BIND_TREAT_LIKE_ACTIVITY | Context.BIND_FOREGROUND_SERVICE; | Context.BIND_FOREGROUND_SERVICE | Context.BIND_SHOWING_UI; @Retention(SOURCE) @IntDef({HardKeyboardBehavior.WIRELESS_AFFORDANCE, HardKeyboardBehavior.WIRED_AFFORDANCE}) Loading services/core/java/com/android/server/TextServicesManagerService.java +1 −1 Original line number Diff line number Diff line Loading @@ -598,7 +598,7 @@ public class TextServicesManagerService extends ITextServicesManager.Stub { Slog.w(TAG, "bind service: " + info.getId()); } if (!bindCurrentSpellCheckerService(serviceIntent, connection, Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE_WHILE_AWAKE)) { Context.BIND_AUTO_CREATE | Context.BIND_IMPORTANT_BACKGROUND)) { Slog.e(TAG, "Failed to get a spell checker service."); return null; } Loading Loading
services/core/java/com/android/server/InputMethodManagerService.java +3 −3 Original line number Diff line number Diff line Loading @@ -214,8 +214,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub Context.BIND_AUTO_CREATE | Context.BIND_NOT_VISIBLE | Context.BIND_NOT_FOREGROUND | Context.BIND_IMPORTANT_BACKGROUND | Context.BIND_SHOWING_UI; | Context.BIND_IMPORTANT_BACKGROUND; /** * Binding flags used only while the {@link InputMethodService} is showing window. Loading @@ -223,7 +222,8 @@ public class InputMethodManagerService extends IInputMethodManager.Stub private static final int IME_VISIBLE_BIND_FLAGS = Context.BIND_AUTO_CREATE | Context.BIND_TREAT_LIKE_ACTIVITY | Context.BIND_FOREGROUND_SERVICE; | Context.BIND_FOREGROUND_SERVICE | Context.BIND_SHOWING_UI; @Retention(SOURCE) @IntDef({HardKeyboardBehavior.WIRELESS_AFFORDANCE, HardKeyboardBehavior.WIRED_AFFORDANCE}) Loading
services/core/java/com/android/server/TextServicesManagerService.java +1 −1 Original line number Diff line number Diff line Loading @@ -598,7 +598,7 @@ public class TextServicesManagerService extends ITextServicesManager.Stub { Slog.w(TAG, "bind service: " + info.getId()); } if (!bindCurrentSpellCheckerService(serviceIntent, connection, Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE_WHILE_AWAKE)) { Context.BIND_AUTO_CREATE | Context.BIND_IMPORTANT_BACKGROUND)) { Slog.e(TAG, "Failed to get a spell checker service."); return null; } Loading