diff options
author | Chilun Huang <chilunhuang@google.com> | 2020-08-18 02:53:49 +0000 |
---|---|---|
committer | Chilun <chilunhuang@google.com> | 2020-09-18 14:36:10 +0800 |
commit | d5af95b56f232e120a7c824637d522d02b60efe4 (patch) | |
tree | 97e93556011ab781fc88aee2a5a66cf879c6ad32 /rs/java/android/renderscript/ProgramStore.java | |
parent | 48e000d788187714f799eb30df16a6a043b5a03e (diff) |
Revert "Revert "Introduce ActivityTransactionItem and reduce null checks""
This reverts commit fd2be2c17882c7db2833ed35c2b4da975801e527.
Reason for revert: Reland the CL
This class is used for activity-targeting item to inherit,
which encapsulate null checks of activity client record.
This patch also change signature of ClientTransactionHandler#handle*
and reduces null checks.
In addition, add some null pointer checks after getActivityClient().
Also fix a typo in performStopActivityInner() and
performDestroyActivity().
Bug: 127877792
Bug: 164982975
Test: atest frameworks/base/core/tests/coretests/src/android/app/servertransaction
Test: atest ActivityThreadTest ActivityThreadClientTest
Test: atest TransactionExecutorTests#testActivityItemNullRecordThrowsException
Test: atest TransactionExecutorTests#testActivityItemExecute
Test: atest CtsAppTestCases:LocalActivityManagerTest
Change-Id: Ida612f1c8af7ecd7a04e69ade461403b8711508a
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions