summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/AbstractInputMethodService.java
diff options
context:
space:
mode:
authorHao Ke <haok@google.com>2021-12-07 20:01:45 +0000
committerHao Ke <haok@google.com>2021-12-09 15:40:04 +0000
commit31fa51440013f915c2662a1fcbbb906d575447b8 (patch)
treed66368d570f653dd59f51a38c5b1f6fbf49a5c20 /core/java/android/inputmethodservice/AbstractInputMethodService.java
parent43981a856db5da38d20a797dddd1bb8c1fa8fc52 (diff)
Don't require T to extend Parcelable or Serializable in Parcel
This is because we want to support the use-case where the caller enforces a specific class type that doesn't implement Parcelable or Serializable but the child classes written on the payload implement them. One such use-case that needs this before migrating is https://cs.android.com/android/platform/superproject/+/master:frameworks/base/core/java/com/android/internal/infra/AndroidFuture.java;l=596;drc=2d6a545e3042d7cc91b54746e774681a05e0ff22: we need to enforce Throwable class but it doesn't implement Parcelable itself, while its children written on the wire are expected to. Test: atest -d android.os.cts.ParcelTest Bug: 195622897 Change-Id: I150416d0cfb0b87ddbaff1041d8d60aa205f6f39
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions