diff options
| author | 2023-11-07 17:01:02 +0800 | |
|---|---|---|
| committer | 2023-11-07 17:26:05 +0800 | |
| commit | 86f0961397bd00669257e13fad1c6319ef42d0c6 (patch) | |
| tree | b55d72df38d0c87f0b1f90c69176446497f06b8a /api/api.go | |
| parent | f6be07144bce58e2d458e50de99d63234d4c4321 (diff) | |
Let certain apps go edge-to-edge by default
This CL adds an integer system property which is an SDK version that if
an app targets that version or above, the app will go edge-to-edge by
default. This gives the app developer a chance to preview what their UI
will look like if the edge-to-edge policy for apps is forcibly enabled.
To make the app go edge-to-edge by default, this CL changes the
following default values:
1. mDecorFitsSystemWindows. The new default value is false.
See: Window#setDecorFitsSystemWindows
2. mStatusBarColor. The new default color is transparent.
See: Window#setStatusBarColor
3. mNavigationBarColor. The new default color is transparent.
See: Window#setNavigationBarColor
Bug: 309578419
Test: manual
Change-Id: Ieeb27b0c6c1bda42dbb06d0babc6473817c98bfc
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions