Skip to content
Commit cb466474 authored by Milton Wu's avatar Milton Wu
Browse files

Move rounded corner to provider

Move rounded corners code from ScreenDecorations.
1. Move business logic to RoundedCornerDecorProviderFactory.
2. Move view and inflating into RounedCornerDecorProviderImpl.

Bug: 218951516

Test: atest ScreenDecorationsTest \
            OverlayWindowTest \
            PrivacyDotDecorProviderFactoryTest \
            RoundedCornerDecorProviderFactoryTest \
            RoundedCornerResDelegateTest
Test: Manually testing rounded corner when display size, rotation
      changed on normal devices, foldable devices, and hardware-overlay
      devices

Change-Id: I60e8a0ceaca19dc45117fb98db45f4063cbfe1b3
parent 48b334a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment