diff options
author | Yunfan Chen <yunfanc@google.com> | 2018-07-27 14:47:21 +0900 |
---|---|---|
committer | Yunfan Chen <yunfanc@google.com> | 2018-09-22 15:35:35 +0900 |
commit | 75157d77914565b7b6fa48292607d8e537d3a57e (patch) | |
tree | f20112d8f676c835bd20bcdfe3b69566ca2e51ae /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | af8f3fcf3e244c3751112c0e41ebd2f734353887 (diff) |
Introduce process configuration to WindowProcessController
Introduced the process config and adjusted mergedconfiguration
related calls. Such that we can override configuration for a process
when need to.
The potential use cases include:
1. Maintain process window bounds for the latest activity to override
the display info for legacy apps;
2. Override the display info for IME process to make sure the IME can be
shown with the correct display metrics.
ActivityManagerService:
- Use process configuration instead of the global configuration when
it's for app.
ActivityStackSupervisor:
- Use process configuration when start activity.
WindowProcessController:
- Make it a ConfigurationContainer.
ActivityTaskManagerService:
- Add interface to get configuration for a process. If the process is a
system process or non-existing process, return the global
configuration.
- Return device configuration related to the process.
- Propagate configuration updates from Global to Process.
ActivityTaskManagerInternal:
- API to update configuration for IME process.
WindowManagerService/WindowManagerInternal:
- Propagate the process configuration change to wm.
WindowState:
- Use process configuration instead of global.
Test: go/wm-smoke
Test: servicestests will remain the same result as without this patch.
Bug: 113253755
Change-Id: I3660723352d2e8779d40528ae92d71f59ddbf1f1
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions