Fix NPE for WiFi off notification action

Change-Id: Ieaa4026f192c1487e74e7b6a96f628661602c595
Signed-off-by: Gergely Szell (sethyx) <sethyx@gmail.com>
Merge "Fix NPE for WiFi off notification action" into kitkat
Hang off call by power button while screen is on

Enable power button end call and screen is off.  User use power button
to turn on screen will end call.  Should turn on screen and not end call

Change-Id: Idf34f7724dbf1796205332c5c7ef663102f8a30c
Signed-off-by: shower <shower929@gmail.com>
take account of RotationVector's new extra parameter

Rotation vector has a new 5th parameter introduced in API 18. But the code classified the 5 parameter the same as it would be 3 and overriden the 4th parameter which is unnecessary and also caused an unexpected behavior.

Issue #63268:
https://code.google.com/p/android/issues/detail?id=63268
Signed-off-by: Balint Ureczky <ubalint@gmail.com>

Change-Id: I6f9a5fc401da655695ab03694b4a74dc5be936ed
Merge "take account of RotationVector's new extra parameter" into kitkat
Merge remote-tracking branch 'aokp/kitkat' into kitkat