ril: Fix update screen events.
authorMohamad Ayyash <mkayyash@google.com>
Thu, 16 Oct 2014 21:01:13 +0000 (14:01 -0700)
committerMohamad Ayyash <mkayyash@google.com>
Thu, 16 Oct 2014 21:54:23 +0000 (14:54 -0700)
commitb9597d030e970e13e1c399301e671542b52db3b5
tree04ae2fcf9fa59a6bdeed1b99e1ee29ff86fd785a
parent8eb4b07b8535c04901cc46dc7860c87aa9e9fbfc
ril: Fix update screen events.

- Handle invalid states in updateScreenState.
- Call updateScreenState in onRadioAvailalbe instead.

BUG: 17991196
Change-Id: I567aa74b1dd6b4bbadb273c05296fe82be575f7f
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
src/java/com/android/internal/telephony/RIL.java