DO NOT MERGE Suppress notifications while projection is active

If a projection app, like AAP or Carplay is in the active foreground, we
should just post message notifications that originated from the phone
(and hence will already be shown in the projection app) silently in the
notification center without posting a HUN.

Bug: 138747359
Test: manual
Change-Id: I89dcbe55e6f115b4b5afd8c7dff3119777cbc98c
Fix: verified on IHU by having AAP  + non-AAP phone connected via BT:
Ensure SMS notifications appear when AAP isn't active,
Ensure SMS notifications for non-AAP device appear when AAP is active,
Ensure SMS notifications for AAP device don't appear when AAP is active.
Ensure SMS notifications still show up in the notification center
4 files changed
tree: 6674e8db96080d82c01b28025c69e2d08fd87a5b
  1. res/
  2. src/
  3. tests/
  4. Android.mk
  5. AndroidManifest.xml