commit | b4bdd38d7ccc7de4caf420adc32f1e06b6437ab1 | [log] [tgz] |
---|---|---|
author | Yunfan Chen <yunfanc@google.com> | Tue Sep 06 18:19:18 2022 +0900 |
committer | Yunfan Chen <yunfanc@google.com> | Fri Oct 07 04:20:38 2022 +0000 |
tree | d33523c9eb3c56b28eb0001111911e27432b8a00 | |
parent | fa42e5b625c5b83f3c863bb2d6e3d5e22fb37fa0 [diff] |
Migrate status bar to the flexible insets API This CL removes the hard-coded logic in the frameworks and use the new flexible insets way to implement the status bar related insets. This moved the display cutout touchable region related calculation from the DisplayPolicy in the system core to the StatusBarWindowController. Test: DisplayPolicyInsetsTests Bug: 239145252 Change-Id: I9911597e6522625e22857821f4c8f0b1dc5b17f4