diff options
| author | Steven Ng <stevenckng@google.com> | 2022-02-10 17:22:33 +0000 |
|---|---|---|
| committer | Steven Ng <stevenckng@google.com> | 2022-02-14 18:48:41 +0000 |
| commit | f9da7872aed0d4319b42b66f999f6c72aad4cf25 (patch) | |
| tree | 0251532f2b229a00fed0280d2de28cb74bd341ba /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | de1ab8513a791af28710ea7c0a13cd4317f421b2 (diff) | |
Throw IllegalArgumentException when calling setNightModeCustomType with an unsupported type
Also
1. update documentation about the IllegalArgumentException thrown in
setNightModeCustomType
2. modify NightModeCustomType to not include MODE_NIGHT_CUSTOM_TYPE_UNKNOWN
3. add @IntDef, NightModeCustomReturnType, for the getNightModeCustomType
4. Fix lint warning
Test: atest FrameworksUiServicesTests:UiModeManagerServiceTest
Bug: 218860231
Change-Id: Id8b1f1d7a3ee60f62a0ff6cdee0b5e416a130d63
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
