Fix the option to enable/disable wifi name from notification drawer

Change-Id: Ib2201d3014dd7b26e6a226dc2ea07eccbb30db7b
Create BusyDialog to be used for boot message dialog and power dialog

Change-Id: Ifb608134e97df04a129bda7e47d3ba66ceb67a97
Revert "[1/3] base: allow disabling non intrusive incall ui"

This reverts commit 6050b3b6cc2109c033b17cda2333321db3a95088.

Conflicts:
	core/java/android/provider/Settings.java

Change-Id: I0f7c2d180b93cbf7fcabd6c38bfd8c6481536548
Add Fast Charge QS Tile [1/2]

Change-Id: I07ec3ae2f708dadecab0bcd35caa2ed45d071880
Clean code and added Spirit controls tile (1/2)

Change-Id: I4f5558a9bebced7ac4e92a8fa3c5a5b89f0d0db4
Status Bar Color [1/2]

Change-Id: I4f7d0f7d1ee49910e7f506a682b3d87462807923
Improvements to custom status bar (colors) [2/2]

* Prevent restarting SystemUI anytime a change is made

Change-Id: I6cd0557cf754ffdf7663f4afcb0b672789e61576
Fix MIUI-like carrier label appearing at random when applying theme

Change-Id: Ibe10b4586988183c149e9b8a1111714394bda34d
Fix icons overflowing status bar view in center clock and date layout

Based on @maxwen commits
1 - https://github.com/maxwen/frameworks_base/commit/5b4d7714ea5fcc493712b569f456f655bf696076
2 - https://github.com/maxwen/frameworks_base/commit/5b4d7714ea5fcc493712b569f456f655bf696076
3 - https://github.com/maxwen/frameworks_base/commit/b5f7820e50fd03522b5462777779a4520594c796

All credits goes to him.

Change-Id: I23be4b166941159d6b5891442bfcefa3678a0603
Keyguard: Save Italy

Being low on battery is bad enough, don't make those Italians
suffer from additional UI crashes.

Change-Id: Idb905a27fc107433595e4376f88deebe1bc0c3d8
Revert "SystemUI: Fix missing top task in recent panel."

See http://review.cyanogenmod.org/#/c/74397/

This reverts commit 0616667d980db1aa32d6dd1956d6fc2e232cf5a3.

Change-Id: I0d024a3b75204521546380c955680cb4c8c9468e
Core: Fix AOSP JA translations

Change-Id: Ie4068b23a3966131c42ed9611b06d5218e8ce2c5
wifi: show devices behind a firewall that are connected to the  WiFi hotspot

* Clients that are behind a firewall, in particular Windows-PCs tend
to not respond to the request invoked by the isReached(val)-method.
Executing a ping instead and evaluating the outcome enables us to
bypass the firewall.

Change-Id: If857545c7a4d5fbc9d2dc919096a9c84e64d6877
P2P:initiate provisioning on persistant group removed.

The initiator, on a response from the peer with unknown group during
the persistent reinvocation has to transit to the provisioning state
to handle all the config methods (PIN and PBC).
This commit ensures the same.

Change-Id: Iafd8e14681628c002f613172ad36a1da7efb5369
CRs-fixed: 653078
Wifi: Add a feature to control wifi auto connect.

If wifi connection type and gsm to wifi connection type is auto connect,
auto connect wifi.
CRs-Fixed: 507965

Change-Id: Icbfc58c93f13e97a2b6c6526d154153031e4b77c
P2P: Change supplicant scan intervel during WFD session

During WFD session supplicant scan intervel is one minute. If
there are some saved profiles, then supplicant will issue a scan
for every one minute, this is causing some ping latency in WFD.
    Hence supplicant scan intervel should change to five minutes
to improve ping latency in WFD session only.

Change-Id: If827bab6f186ebeaac90f297935bc8b987eb4d09
CRs-Fixed: 669404
WiFi: Fix data2Wifi caused not enableAllNetworks.

Use shouldAutoConnect() to judge if Wi-Fi networks have to get
enabled.
Ensure that the Wi-Fi networks are enabled in all the conditions
where the requirement for Auto Connection meet.
Thus, if there is no active Mobile Network, enable all the
Wi-Fi networks, though isDataToWifiAutoConn policy is not TRUE.

Change-Id: I082d0797347593ea6f878181908fea4bb64ca158
CRs-Fixed: 683197
WIFI: FIX wifi not auto-connect issue.

If the active network type is wifi, wifi connection type is auto,
auto connect to wifi.

This allows Wifi to auto-connect while wifi disconnected
for unexpected reason.

CRs-Fixed: 633648

Change-Id: I9f7f125cd7ffba18cbf5052e683cb31c6f71c573
Wifi: wifi not connecting, once the APN gets disabled state

APNs are disabled on select network and they are enabled on
receiving connected event.
But forgetting an APN before the connected event is received,
will result all the remaining APN to be in disabled state and
they never connect.
So, Enabling all the disabled APN on forget network will help
to connect automatically to a saved APN.

Change-Id: I6ac5e9856d6ec0b72c089b159206abd2de98e6a3
CRs-fixed: 496165
Wifi: fix auto connect policy for forgetNetwork

Use shouldAutoConnect() to judge if Wi-Fi networks have to get
enabled.
Thus, after forget network, if shouldAutoConnect() is false,
do not enable other saved networks to prevent auto connect.

Change-Id: I05b00bba54876f2d0d928e0faa9476b8d51b84b4
CRs-Fixed: 684684