[MS83.1] Make some APIs module-lib instead of system current

Some of the internal classes are not available for priv-apps.
Thus, make them module-lib instead.

This change also adds some nullability annotations for existing
APIs according to go/android-api-guidelines.

Test: m
Test: m frameworks-base-api-system-current-compat
Fix: 217479745
Change-Id: I18de46b11df7232ab82b9465856fdde621283156
4 files changed
tree: 2a13784f95bd8234c513876c6c7273854db12b4e
  1. framework/
  2. framework-t/
  3. service-t/
  4. tests/