[1/2] Add battery level around unlock ring

Change-Id: Iba94469fa414164e1e5fe57b2c48dc95fd328a73
Merge "[1/2] Add battery level around unlock ring" into kk4.4
Restore untrusted glStencilMask value on resume after functor

Fixes an issue where the stencil buffer is corrupted
(used in overdraw debugging, path clipping) when used in
conjunction with a HW accelerated WebView.

bug:15023700
bug:16465551

Change-Id: If201b503931380f7107a34e9a9a2f877a50f72b1
Broadcast tethered client inteface along with upstream interface name

On change in tethering upstream interface for IPV4 of IPV6 address,
broadcast an intent with both tethered client interface as well as
upstream interface name, ip address type and update type.

Change-Id: I2f23e2b8ec125339bedd454446accb23e33cacae
wifi: Support for AP with Chinese GBK Charset SSID

It doesn't support Chinese GBK Charset in original android.
But there are some APs with Chinese GBK Charset SSID, it will result
in that wifi can't display these APs nomally and connect to these APs.
Here make a conversion in wifi JNI layer. When "SCAN" or "GET_NETWORK"
command has the reply with Chinese GBK Charset SSID, convert GBK to UTF-8.

CRs-Fixed: 497995
Change-Id: If4d1d5bc3a98490db55c69ebcc0c78d526b7a563

Wifi: get rid of the log from Gbk2Utf

In android_net_wifi_Gbk2Utf.cpp, we set DBG as true,
this should be false in default.

Change-Id: Ib5673f0817677887d6b050191d96edb33fdb8799
CRs-Fixed: 690860
WiFi: Check data length before extracting

GBK to UTF convertion is carried on input data. The maximum data
that can be supported in framework is BUF_SIZE.
The gerrit is to check the size of input data  prior to parsing,
so that it will not lead to any crashes.

Change-Id: If8ff372dc26317b369643405dcea01ff28c4f1f3
CRs-Fixed: 708416
Ringtone: Add support for selection of phone ringtone for SIM-2.

-Issue: "The process android.process.media has stopped" pop up is
 displayed when ringtone for SIM-2 is selected.
-Rootcause: There is no type and URI defined for SIM-2 ringtone
 in the RingtoneManager. This is leading to SQl exception when
 executing a selection query.
-Fix: Add URIs for the SIM-2 and SIM-3 ringtones. Define
 interfaces to return them to app side based on subscription ID.

CRs-Fixed: 612945

Conflicts:

	media/java/android/media/Ringtone.java
	media/java/android/media/RingtoneManager.java

Change-Id: If68c2d008dd86d2b55d3fb7f5667bbadc238d0b3
Provider: Add multi SIM ringtone support in SettingsProvider

This change will handle multi-sim queries in
SettingsProvider.java when openFile and
openAssetFile APIs are called by other components.
Thus, it will ensure to play the correct ringtone
corresponding to the SIM.

CRs-Fixed: 661216
Change-Id: I7b22c233b9c41669c1ad948b83a7aa2c55442af1
CallLog: Support for active time in CDMA call log

Display the type(Active time/Call out time) in call log of CDMA call.

Change-Id: Icdc459b0e6aff2ae7f9d44395b6886232de16efe
frameworks: add SmartCover stubs

Change-Id: Ibde77eb23b604afb20b54642113fcdae9c87fd1b
Signed-off-by: Roman Birg <roman@cyngn.com>
Show/Hide lockscreen camera and searchlight buttons (1 of 2)

Change-Id: I22fc4abeb11b8cfa6a91a891ea4e286ebb58f0d3
Adapt softkey action handling from @vaniraosp and @AlmightyMegadeth00 (1 of 2)

This adaptation required minor adjustments in KBV for Eos ActionHandler
framework. Also, it became obvious we need a "SoftkeyActionHandler" class
similar to the NxActionHandler.

PS2: Introduce SoftkeyActionHandler extends ActionHandler
     Manages action state of soft keys, and dispatches
     actions

PS3: framework for configurable long press and double tap timeout

PS4: Default AOSP Tap timeout configuration

PS5: Actually observe the longpress timeout uri, it helps

PS6: Fix bringup and observer for real

PS7: Propagate mIsRecreating

Change-Id: I12db73ac6f5bcef508973180be7faf4d630736a9
Persistent menu soft key (1 of 2)

Shows all the time, except in lockscreen

Change-Id: I44048f16112dea7f31f2e4ecd3565ebbe1a53cee
Avoid collision with RIL constant 1138, used in some Samsung devices for RIL_UNSOL_TETHERED_MODE_STATE_CHANGED.
Needs http://review.cyanogenmod.org/#/c/61292/
Thanks to iptux on XDA for pointing out the change in constants between
CM-10.2 and CM-11.0.

Change-Id: I64011408f4cce9aeb1b56e325226f8e649eff2b6
Fix swollen back softkey icon on phones

For some reason, scale_center was set in xml.

Change-Id: I65a593aa8bcfcc9aed30ff633e39668da6121469
add MVNO info for tele2 in croatia
per CYAN-5178

Change-Id: I80f8bfbcf0f40abac397ddf63beaf2c0b2e46dfd
Telephony: Get SIM card capacity count of SMS.

Add one API:
- getSmsCapacityOnIcc: get the capacity of stored SMS on ICC card.

CRs-Fixed: 645022
Change-Id: I8064d694d35c4200074a24ee4159d09ecb2a779c
Merge remote-tracking branch 'upstream/kk4.4' into kk4.4