commit | 7b766fd31b8158bb682edf63f6e7993d60910087 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Mon Jan 28 21:14:59 2019 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Wed Mar 06 01:16:57 2019 +0800 |
tree | 3d1716d906ee8fd6f64158cd602b85b19911d49f | |
parent | 5af401bd35a188a4a8c928f66993bf2c22247f2c [diff] |
Add APIs to notify and restart activity in size compatibility mode - Notify listeners about whether the resumed activity is using the native screen configuration. - Able to restart foreground activity with saved state. Bug: 112288258 Test: atest ActivityRecordTests#testRestartProcessIfVisible Test: atest ActivityDisplayTests#testHandleActivitySizeCompatMode Change-Id: I0b916b25f187e9406154afced0214a41c02c761a