QS: RSSITile: Finally fix the data indicator

The X for data off now changes based on the mobile data enabled setting.
If mobile data is enabled, the rssi tile behaves like stock.
If mobile data is disabled, the X shows to indicate that the user disabled data.

PS1: Inital commit
PS2: Nothin to see here...
PS3: Remove uneccesary wifi check.
     The overlay should be nulled any time the other conditions aren't met
PS4: Remove unused import

Change-Id: I76e63c606f2651a8463f9cd0b3665543b420d72c
Signed-off-by: Evan Anderson <evan1124@gmail.com>
Quicksettings: Rework behavior on edit mode for temporary tiles.

* Animation:
  - Make them disappear when edit mode is enabled.
  - Put them back when edit mode is disabled.
* Fix broken touch listeners after toggling edit mode after boot.
  Adressing JIRA AOSPA-4 issue.

PS2: Simplify logic and code.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: I4da623ec5fffad4ddf414c70a18f3ee547d83fc5
Merge "Quicksettings: Rework behavior on edit mode for temporary tiles." into kitkat
QS: Use AnimatorListenerAdapter

No need to implement all the unused methods

PS2: Underp and better commit name

Change-Id: I12116e06950e5162fdfb5b63e22531a5df1ad691
Merge branch 'kitkat' of https://github.com/AOSPA/android_frameworks_base into kitkat
Core: Initial IT translation.

Italian translation for core strings in system.

PS2: Fix bottom immersive confirmation description.
PS3: Fix tabs.

Signed-off-by: Filippo Favaro <faavaro@gmail.com>
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: Ia041b7834a0c80bbd9f99a71c2e81b77320f22b7
Quick Settings: Initial IT translation.

Italian translation for Quick Settings.

PS2: Some fixes.

Signed-off-by: Filippo Favaro <faavaro@gmail.com>
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: I713c8ee501037992cc6a87fd3a7aa12d1ced40f7
Fixed race condition in Spinner.DialogPopup on null reference.

NullPointerException is triggered when DialogPopup is
dismissed due to object mPopup being null when not showing.
Race condition is triggered when dialog is dismissed before
touch event to dismiss dialog has been processed properly.

Fixed by adding a null check prior to accessing mPopup object.

Change-Id: I3c4fe9c279d92a7103fb4f68189d1d42beedc606
server: Treat non-default route as host route

When constructing ip route command in addRouteWithMetric,
we used to check whether the given route is a host route.
In some cases, the isHostRoute() check can return false for
non-default routes. To make this check more foolproof,
check whether a route is non-default in order to treat it
as a host route.

Change-Id: I5e396e67e1c82bbe22600c47f1e52cc7c750cdc6
Bluetooth: Fix to avoid framework reboot during monkey.

A case where monkey is running & sometimes framework is
disconnected due to unhandled java Exception during the
unbinding of HID device service on unsuccessful unbinding.
Handling java Illegal Argument exception while unbinding
HID device service solves this issue.

Change-Id: I61a5620e756119d25f2a235e67d6404b216f4cbf
CRs-Fixed: 601533
ProcessCpuTracker: Fix ArrayIndexOutofBoundsException in tempSpeeds

If time_in_state file is not available mCpuSpeeds is created with size 0
and subsequent call if the file becomes available there is an
ArrayIndexOutofBoundsException.
This change avoids the crash by breaking out of the loop, also adds error
logging

CRs-Fixed: 553569
Change-Id: Id5e219ca1cd3f058f714aecd5902ec2f6c11ae03
Merge "Quick Settings: Initial IT translation." into kitkat
Fix: Duplicate translation strings

Change-Id: I06b0fa850a91c5fd56174fdd108d53b4a98e098b
Merge remote-tracking branch 'PA/kitkat' into kitkat
Merge remote-tracking branch 'pa-legacy-kitkat/kitkat' into kitkat