Merge "Avoid string and varargs allocations for preconditions checks in hot methods" into main am: fb9a5ab99b

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2985111

Change-Id: Ieda4ff1c9427a8a86bbfebf39f9e744db38a6547
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>