summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorMilton Wu <mingjuwu@google.com>2021-09-11 12:24:49 +0000
committerMilton Wu <mingjuwu@google.com>2021-09-29 12:43:44 +0800
commit0f3e6b7ac1d0be59ab7bea05de25d3e22f037ae6 (patch)
treee8a4508aa5f3c03c8ed957a763b09a715bba0a1f /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent48fc814a732fc38690abeacfb6d7794fcf2bd738 (diff)
Add privacy dot flag for SystemUI
Add privacy dot flag, it is used to clearly indicate related components to keep the maring spaces, or add related overlay views for it. And also prevent NPE issues at b/199060326 even the phone configs for cutout or rounded conrner are incorrect. Detail: 1. ScreenDecorations: a.Read privacy dot flag, and follow original shouldShowRoundedCorner() method logic to provide another shouldShowPrivacyDot() method. The existence of privacy dot container is determinated throguht the return value of shouldShowPrivacyDot(). b. DisplayCutout::getCutout is a sync method, cache the return value as local variable. 2. KeyguardStatusBarView: update keyguard status bar left/right margin as this config. 3. StatusBarContentInsetsProvider: update phone status bar left/right margin as this config Bug: 190922585 Bug: 199060326 Bug: 199463850 Test: atest com.android.systemui.ScreenDecorationsTest Change-Id: If1aa97b877ba374d6fa47615591bb91a4ebab421
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions