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

Skip to content
Commit 296f5c42 authored by Tiger's avatar Tiger Committed by Tiger Huang
Browse files

Refine the error message about the cutout mode

This CL separates the error message from the error caused by
fitInsetsTypes and refine both messages.

Improvements:
1. The activity name will be printed.
2. The actual value and the expected one will be printed.
3. Stop printing the entire LayoutParams which can confuse the reader
   because it contains much unrelated information, and the 'default'
   cutout mode won't be printed within it.

Fix: 328308830
Bug: 309578419
Test: Open an app which violates the edge-to-edge enforcement, and see
      if the error message is printed as expected.
Change-Id: Ide9d42f51cfdb215bc0efd9ded6720f1baf07329
parent 260d9c9e
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