OSDN Git Service

Correct ActivityInfo constructors.
authorRobert Carr <racarr@google.com>
Tue, 15 Sep 2015 19:30:42 +0000 (12:30 -0700)
committerRob Carr <racarr@google.com>
Tue, 20 Oct 2015 17:48:11 +0000 (17:48 +0000)
commit8ab115a9aaf96cd165c683bfd8a47cfda1239f82
tree1e33c84ae3510249cb8f27f6b9f6ba8bfe527bc5
parent1a4efb77dd3c503634f1f6495d931d1a570f51f5
Correct ActivityInfo constructors.

ActivityInfo was missing initialization for the
documentLaunchMode flag in the copy-constructor
and the Parcel constructor. The copy-constructor
is used in multi-user/profile mode to create a
seperate instance of the ActivityInfo per uid
and this was manifesting in the linked bug.

Bug: 21590916
Change-Id: I6f71d94ec32ec6326d23c9b62e9d8d319e2fa25e
(cherry picked from commit 3e2e0117858eb02fef55ca4c245e8b920aedc6eb)
core/java/android/content/pm/ActivityInfo.java