OSDN Git Service

Prevent system server crash while start activity failed.
authorwilsonshih <wilsonshih@google.com>
Fri, 21 Jun 2019 08:15:08 +0000 (16:15 +0800)
committerWei Sheng Shih <wilsonshih@google.com>
Tue, 2 Jul 2019 03:56:04 +0000 (03:56 +0000)
commit380626cf5482e0c27ffa5ad23a2a6aad483afe9a
treef47d2cfe645edf953f6fb90cc1cc6d9ee12c33b9
parentbce828f157d905bc7f731fc400bdc0466bdfbfa1
Prevent system server crash while start activity failed.

NPE at PendingActivityLaunch#sendErrorResult, callerApp can be null.

Bug: 135648362
Test: atest ActivityStarterTests
Change-Id: I7949dc1effcc171834f6bc3ff0333f9090b58480
Merged-In: I7949dc1effcc171834f6bc3ff0333f9090b58480
(cherry picked from commit 0c0fb22eabf8bb654dfd93ff1b0ef86afbb76e14)
services/core/java/com/android/server/wm/ActivityStackSupervisor.java