commit | a27da72cd1b03cf99cbe810c985a9c8bde1cbbb5 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Tue Jan 22 17:11:01 2019 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Tue Jan 22 18:44:12 2019 +0900 |
tree | 7fbd6444dda92cdaa963aac0fb09423ce559ae32 | |
parent | 20f1e0ca1d6c3a0724e94b8fbcbe4b36c93b42b8 [diff] |
Expose ServiceSpecificException as @SystemApi. This class is useful as a system API because: - It is one of the few exceptions that is natively Parcelable. - It is directly supported by native code without using JNI, using Status::fromServiceSpecificError. - Unlike other natively parcelable exceptions, it contains both an error message and an error code. Test: m Bug: 112869080 Change-Id: Ica3e88c2b6877e429a61b053d75f69b9f19fc74a