Merge "Remove Preconditions, Protocol @hide usage" am: 5b78f171ec am: 90e458ba81

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

Change-Id: I2194168aa0d8bf73a95be2369fd7eb84e41c3c95