summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Chen Bai <chenbai@google.com> 2023-08-14 20:14:58 -0700
committer Chen Bai <chenbai@google.com> 2023-09-26 19:28:34 -0700
commitfc965accb2f1928f90e55c769de5aede0fdee3a9 (patch)
tree36f175481ede03a221275c0feab4494f657e6015 /libs/androidfw/FileStream.cpp
parent8f00d9753d9bc19c97a547757d0e7e266827f4e7 (diff)
do wom: DisplayOffload hook to DisplayManager
Instead of connecting DisplayOffload with PowerManager, we decided to hook it to DisplayManager. See detailed analysis in comment of ag/23643082. - Add DisplayOffloadSession that associate a internal display with a DisplayOffloader. Its registered by DisplayManager and used to control offloading entry/exit. - Add a feature flag enable_display_offload. Use following command to toggle the displayoffload feature and reboot. ``` adb shell device_config put display_manager com.android.server.display.feature.flags.enable_display_offload <true/false> ``` If cmd above doesn't, try following: ``` adb shell setprop persist.sys.com.android.server.display.feature.flags.enable_display_offload true ``` - Add tests. TEST: atest DisplayServiceTests BUG: 287561002 Change-Id: I7f1d7b70f66cf19a732eed3d96651967d6a21056
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions