clover: Migrate "rounded_corner_content_padding"

With my previous CL [1], we can override

   rounded_corner_content_padding

at the Framework resource layer rather than the SysUI resource layer.

No matter whether

  persist.sys.ime.can_render_gestural_nav_buttons

is enabled or not, there should be no observable behavior change in
this CL.

 [1]: I0c3717c0bdfc928167c6eba06247b37caabf33b9
      24d6b891f572f7be419d3acc9793ca68d062cf35

Bug: 215554582
Test: Manually verified as follows.
  1. Build aosp_coral-userdebug and flash it
  2. adb shell cmd overlay lookup android \
       android:dimen/rounded_corner_content_padding
     -> 70.0px
  3. adb shell cmd overlay lookup com.android.systemui \
       com.android.systemui:dimen/rounded_corner_content_padding
     -> 70.0px
Change-Id: I391a504482f25c17f9b67f7eb8f56f362da71ae0
Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
Yohei Yukawa 2022-01-28 07:41:26 -08:00 committed by pix106
parent ef2e753e79
commit b703af216a
2 changed files with 3 additions and 20 deletions

View file

@ -27,4 +27,7 @@
<resources>
<!-- Default radius of the software rounded corners. -->
<dimen name="rounded_corner_radius">33px</dimen>
<!-- the padding of the rounded corner -->
<dimen name="rounded_corner_content_padding">8dp</dimen>
</resources>

View file

@ -1,20 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2006, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<resources>
<dimen name="rounded_corner_content_padding">8dp</dimen>
</resources>