Update the behavior to match the documentation. am: c2bc1c8399

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

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