QS: Fix handling of dialer checks

Fixes an issue with network tile. Previously, if SystemUI crashed the network
mode tile would be disabled per the dialer check because constructor initialized
mUsesAospDialer to false.  Now we initialize it to the value of the system setting
and set it to 0 on shutdown.

Corrects display of disabled when the user has google dialer installed. Before,
the rssiTile would default to unknown.  Now it checks if google dialer is being
used and properly sets the disabled string.

PS1: Initial implement
PS2: Fix indents
PS3: Refactor content resolver
PS4: Update commit message
PS5: Style fixes

Signed-off-by: Evan Anderson <evan@thelinuxman.us>
Change-Id: I75cd767667924762fa432c29192674ce9c402c20

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
Revert "QS: Fix handling of dialer checks"

This reverts commit 69acca22693182a4fde1adfd01b5cb3d7e7c9468.

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
[2/3] Frameworks: Add AOSP Dialer check

Disable QS Network tile if Google dialer is used

Change-Id: I0f49b75429aa4e60794016f9d3d162cf086bba4c

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

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
Frameworks: Update Google dialer check for QS 3.0

As the network tile is now on the back of the rssi tile instead of it's own tile,
it's no longer feasible to simply hide the network tile if the google dialer is installed.

Quick setting tiles are created BEFORE boot, but we can only confirm the dilaer type AFTER
boot. Instead of recreating the rssi tile as a single tile, simply disable the
on click network mode toggle if google dialer is present and provide an appropriate toast.

Change-Id: Ia74c7d0622446464a2a57395cf3f336eeb172ca3

Conflicts:
	packages/SystemUI/res/values/pa_strings.xml
QS: Fix handling of dialer checks

Fixes an issue with network tile. Previously, if SystemUI crashed the network
mode tile would be disabled per the dialer check because constructor initialized
mUsesAospDialer to false.  Now we initialize it to the value of the system setting
and set it to 0 on shutdown.

Corrects display of disabled when the user has google dialer installed. Before,
the rssiTile would default to unknown.  Now it checks if google dialer is being
used and properly sets the disabled string.

PS1: Initial implement
PS2: Fix indents
PS3: Refactor content resolver
PS4: Update commit message
PS5: Style fixes

Signed-off-by: Evan Anderson <evan@thelinuxman.us>
Change-Id: I75cd767667924762fa432c29192674ce9c402c20

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java