History log of /frameworks/opt/telephony/src/java/com/android/internal/telephony/DeviceStateMonitor.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f15cc290d7fb870ed5a1c7a0824bf6177f234f62 02-Mar-2017 Jack Yu <jackyu@google.com> Added remote display support

If one of the logical screens (e.g. Android auto, wifi display,
HDMI display, wifi display, etc...) is on, then behave like
the main screen is on. This will ehnance the user experience on
Android auto or Chromcasting from the phone.

Test: Telephony sanity tests
bug: 20125037
Change-Id: I3ecf9d4504a50eac5cbe2cb22b512953cb78a7f7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/DeviceStateMonitor.java
50b941e59787a21dd2d4f3d25d700538efb9abc5 18-Feb-2017 Jack Yu <jackyu@google.com> Added device state monitor

Added DeviceStateMonitor to replace the legacy screen state RIL
API. Instead of sending the screen state to the modem, the new
device state monitor can explicitly turn on/off the unsolicited
response from the modem based on difference scenarios (e.g.
tethering, charging, screen state). It also sends more device
state to the modem including charging state, power saving state,
and low data expected state.

Note that in order to support the old vendor RIL, framework will
still invoke the legacy screen state API to ensure the best
user experience on those devices.

Test: Manual. Unit tests.
bug: 32223897, 20125037, 28294587

Merged-In: I76ce307bde1d3160af2ac44a57f101e4cafc7ae4
Change-Id: I76ce307bde1d3160af2ac44a57f101e4cafc7ae4
/frameworks/opt/telephony/src/java/com/android/internal/telephony/DeviceStateMonitor.java