OSDN Git Service

nullcheck Activity.getIntent() for AssistContent
authorAdam Skory <skory@google.com>
Wed, 22 Apr 2015 17:29:31 +0000 (11:29 -0600)
committerAdam Skory <skory@google.com>
Wed, 22 Apr 2015 17:29:31 +0000 (11:29 -0600)
commit4aaed145f8331b73f39617bd1fee73664cb0c90b
tree15a03eb187b9de894c87603e46ae7870566ffdb4
parentce510d5f62a0e4dc46d3d3c05fafe9b08eb5b497
nullcheck Activity.getIntent() for AssistContent

Nothing stopping an Activity from giving us a
null Intent, and the Intent copy constructor
requires a non-null arg.

Bug: 20419159
Change-Id: I8b12a127431869394697e947e2298d4dbbe08604
core/java/android/app/ActivityThread.java