summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Louis Chang <louischang@google.com> 2023-03-22 02:30:34 +0000
committer Louis Chang <louischang@google.com> 2023-03-24 07:55:50 +0000
commita0b530e2850e1cacd10003b1e98ff827242a9f45 (patch)
treeb2acc4f9d69849fd32c347315b0acbe40d4c3458 /libs/androidfw/FileStream.cpp
parentdc8992c4b0f67cde919a79fdaef32f70b4bb1c0f (diff)
Ensure the activity type is set to the activity
This CL reverts the changes in commit f920308. The activity type was an attribute in ActivityRecord, but added as part of window configuration after unify. To keep the same behavior as it used to be, this CL makes sure the activity type is set to the activity's requested override configuration. In general, the activity type is not necessary to be set while creating a Task. The activity type of a Task is determined while the first activity added into the task. Also throw exceptions on debuggable builds if activity type is changed once set. Bug: 274751858 Test: wm presubmit Test: drag contacts to split-screen Change-Id: Ibf18bd6ec932ffef21bf556beea9004c25473203
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions