base: Fix build after Parcel ABI fix in Binder

Adapt code to the fact that writeString16's first parameter
is now an uint16_t* to match the old ABI

Change-Id: I138af645c877f343f0490152b9702698b7d36582
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
SystemUI: fix memory leaks

ContentObservers are being registered without being unregistered,
causing old objects not to be garbage collected. This causes memory
leak if the classes are destroyed and recreated throughout the
device's uptime.

SearchPanelView is recreated every time the screen is turned on.
StatusBarIconView is created every time a notification is triggered.

JIRA: CYAN-650
Change-Id: Iabd3221fc2b0c848396af1790fd09424be602e7e

Conflicts:
	packages/SystemUI/src/com/android/systemui/SearchPanelView.java
	packages/SystemUI/src/com/android/systemui/statusbar/StatusBarIconView.java
Correct executable bit for source files

Many media files and source code files were marked as executable in Git.
Remove those.

Also a shell script and python script were not marked as executable.

Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
Signed-off-by: Chirayu Desai <cdesai@cyanogenmod.org>
SystemUI: partial revert of 3f72751c, we already had the fix in SearchPanelView

Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>

Change-Id: I05d9b000638c9ea0083a8a95cb199811a89164b4
Fix Photosphere/Camera FCs

Photosphere is setting a few parameters "blindly"
while the API says it should check the device capabilities first.
On TF101 the camera HAL doesn't handle FLASH_MODE & SCENE_MODE
and so it sends the required RuntimeException for these which makes PS to FC

=> check device capabilities & ignore these 2 parameters if the device doesn't support them.

Change-Id: I4848f6f144c5b1f56238b7d3893020483f434dbd
Fix Tablet UI WiFi Text

If custom carrier label was selected, it was overwriting the
wifi SSID display on Tablet Notification Title.

Change-Id: Iab647759d64c47ec47c9a093be36e58e7cbdd345
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Fix TabUI Notification icon layout.

Notifications were getting cut-off on bottom when System bar
re-sized.

Change-Id: I8268aa21ec0ca1c1601940f3f2c09b8eed9d47b8
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
FW: Fix AwesomeAction constants

Fixes 3 'Blank' entries in NavBar/Custom Toggle actions.
This was due to someone (SteveSpear!! :))  Adding actions
to the AwesomeActions variables without putting appropriate
string & drawable returns.

Change-Id: I8d12808337152b6010be6deb9a7d8984e6980a05
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Remove trailing tab

Change-Id: I5b715bd014db2b82395c7a3cd91f7381c83667e7
SystemUI: animate transparency changes

Change-Id: I597b245b2d98ae42118efc1ba7ccb837edfdbea9
Signed-off-by: Roman Birg <romanbirg@gmail.com>
SystemUI: Make the HSPA+ drawables more consistent with the HSPA drawables

Though the older HSPA+ drawables are sharper, that makes them look
out of place in comparison with the HSPA drawables.

Change-Id: I76313ae0125b3a8fda928b240f33715e48f77867
SystemUI: Fix blank Navring on boot,

Need to setDrawables peeps....

better...

Change-Id: I17b9d1f3652e9dbbb75d4106c6197aaaae35c09e
FW: Fix Potential FC on Hiding NavBar

If you touched/swiped the NavBar just as it was
trying to hide, you could get a FC.  This
catches those errors and just puts the status
back into hidden mode.

Change-Id: I03220d10d23b94716c28b748defcb39a525a2aa7
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Update Japanese translation

- Add missing translations

Change-Id: I26cfddb03f8078ed41fce5c262e6b5a58671eed5
Signed-off-by: rdgate <rdgate@gmail.com>
Fix Signal toggle layout

Change-Id: I56c298a7e2ce326e8bfacd1aa2702466a2f4cefc
Signed-off-by: sethyx <sethyx@gmail.com>
SystemUI: filter certain toggles

PS2: Also add wifi tether filter based on telephony

Change-Id: I8523ebc78d2d6f0ffdb44ad917cfabd94c9806b6
Signed-off-by: Roman Birg <romanbirg@gmail.com>
FW : Screen Sizing for TabUI when HiddenNav Enabled

Hidden Nav is not available to Tablets, but it could be
selected in RC for Phablet/Phone.  If UI then switched
to Tablet, PhoneWindowManager was calculating window sizes
as if NavHide was on.

Change-Id: Ib700fc944dcfb0ad42e7c651ee415f539ed5d134
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
FW:  Bring Transparency to Tablet UI {WIP}

This will enable Transparency settings in TabletUI.

Also this will fix some quirks introduced by the fading transparency changes.

Change-Id: I89b4e97f70af2e9ef5245524c7bd765293ef044b
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Remove unnecessary updateSurfaceScreenOn call.

This change stops updateSurfaceScreenOn() from being called one time
right after another. It's called at the end of stayAwake(boolean awake),
which is called right before updateSurfaceScreenOn() in release().
Wifi: Get the list of supported channels

Get the list of supported channels/frequencies from wpa_supplicant and provide
them thru WifiManager.getSupportedChannels();

One channel is represented thru the class WifiChannel which includes channel
number, frequency in MHz and a flag if IBSS mode is allowed on this channel.

Like isIbssSupported() we can only expect a result after WIFI_STATE_ENABLED has
been reached.

Change-Id: I9fc34642b9a0047f6871b180a3a7a69d47b7e2ff