Merge "Replace AppGlobals @hide APIs" am: feb3a2ee1b am: be8e7530da am: f67921a470

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

Change-Id: Iaaa7052697a04f094a4d0ac37848b6dc3bf5c849