InCallUI: Incoming Call in Background (1/3)
Patch ported from 4.2 which was done by our lovely HCP. A
very popular one so we bring it back and adapt it to 4.4
Allows user to set that Incoming Call UI will remain in background
if screen is on. Instead, a notification is added to StatusBar, which
can be used to bring up the Incoming Call UI. Ringtone and vibration
still occur as per system settings.
This has the same effect as apps marked as "immersive". It prevents
the incoming call from backgrounding the current activity.
PatchSet:
- show normal inCallUI if keyguard is currently active
PS:
- cleanup
PS
- do not try to get the services if the feature is disabled
PS:
- do not disable notificationshade and navbar if it is a background call
PS:
- derp
Change-Id: I68e432a548c10d07cc9d668782cb544fbb4d421d
2 files changed