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
Loading
Please register or sign in to comment