Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4863ac4c authored by Shane's avatar Shane
Browse files

Replace getVisibity and getAlpha function in getSizePercentage

1. Replace the getVisibity and getAlpha functions with the logic directly
to avoid NullPointerException.
2. Move the flag to cover the entire getSizePercentage function

Bug: 316852908
Test: atest ViewTest & atest ViewRootImplTest
Change-Id: I979302ce9830027d8d0e5d9e47820584f9ba1ef8
parent 779bb8ef
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