summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Tiger <tigerhuang@google.com> 2024-03-13 20:23:13 +0800
committer Tiger Huang <tigerhuang@google.com> 2024-03-13 12:55:00 +0000
commit296f5c42b59aee27e085ce0713e8f4a9ce54539d (patch)
tree0659c5d11365ae935fca23374e34181ecb2b89b5 /libs/input/SpriteController.cpp
parent260d9c9ec6752e48e372d8de467d065b61de49ef (diff)
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
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions