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

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

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