(1/2) Base: allow to disable smartcover

Change-Id: I830928794fdfc1c42acc381458603b3554b94155
Telephony: fix tdsdma asu invalid value

The magic value for invalid asu is "99", not "255". This error is causing the value validity checks to fail incorrectly, fixit.

Change-Id: Ief816eb577ccf371b3c85df1fe9515eb0bfb3f06
Themes: Build icon cache when applying icons

The theme service will schedule building of the icon cache when
an icon pack is applied.  This will allow the icon cache to be
populated immediately after icons are applied rather than build
it up as icons are requested.

Change-Id: I453eda5f6298ff79e22827c622a0eddcab9c721d
Themes: Pass resource IDs instead of bitmaps [1/2]

Rather than passing around bitmaps in the ComposedIconInfo we
can pass the resource IDs associated with each of the components
and retrieve those drawables when composing the icon.

Change-Id: If855e60e505571f25316e6728e423fbee62c32d3
Themes: Allow clearing the wallpaper and ls wallpaper

By providing an empty string for the MODS_LAUNCHER and
MODS_LOCKSCREEN components, the theme service will clear out any
existing wallpaper the user had set.  This provides the same
functionality as if the user was picking "No wallpaper" from the
picker.

Change-Id: I0c349ad4afa2bcef2c302105315709786510c0aa
Themes: setUserRequired(false) when updating audibles

This prevents the following exception
F/Environment(18007): Path requests must specify a user by using UserEnvironment
F/Environment(18007): java.lang.Throwable
F/Environment(18007):   at android.os.Environment.throwIfUserRequired(Environment.java:787)

Change-Id: Ic6ac7537079ed27912c40683c877e05992b708e9
Revert a lot of telephony stuff

this reverts:
e18dac7 Revert "Samsung STK support"
8513d15 Revert "core and telephony: Additional HSPAP support"
621bcec Revert "CDMA RIL: add SVDO support (1/2)"
a784238 Revert "telephony: hide needsOldRilFeature"
8b4c907 Revert "TelephonyProperties: Alpha ID fix for OPEN_CHANNEL and other p-commands (1/2)"
72fbaf5 Revert "Enable SVDO. (2/2)"
5a623d0 Revert "ServiceState: add support for DCHSPAP"
04d073e Revert "Signal strength: add more checks to signal strength,"
59fe9c2 Revert "Telephony: fix typo"
dff07c0 Revert "Telephony: Add support for NETWORK_TYPE_GSM"
5ec5117 Revert "Telephony: Add TD-SCDMA network modes"
e9ec74a Revert "SignalStrength: Hotfix TD-SCDMA"
8db846c Revert "SignalStrength: Hotfix TD-SCDMA take 2"
e17121b Revert "QS: Add TD-SCDMA support to the LTE toggle tile"
f5164fb Revert "frameworks/base: forward port DC-HSPAP support from cm-10"
b505e3a Revert "Telephony: Ignore the timingAdvance field in SignalStrength"
Fix ressource leak in getFileCrC

Change-Id: If8a63fa355664d360aab6ecba92c82cd56b745b8
PowerManager : Make proximity check opt-in

Change-Id: I7cf64a82530da2e655018e43683ba7a5584d54f8
Make sure ThemeConfig is non-null when loading resources

When the device boots into safemode, the theme config will end up
being null and we need to check that prior to using it to retrieve
resources for the StatusBarIconView

This fixes CYAN-5009

Change-Id: I1a90bc9f9c65cb41a6e58947bbd1b6d7728a952b
Themes: Add ability to apply color filters to composed icons

Themes can include one or more of the following filter tags in
assets/icons/res/xml/appfilter.xml

    <!-- HUE filter
         Integer value between -180 and 180 representing the degree.
         0 = no change
    -->
    <filter name="hue">0</filter>

    <!-- SATURATION filter.
         0 = grayscale, 100 = no change, 200 = over saturated
    -->
    <filter name="saturation">0</filter>

    <!-- BRIGHTNESS filter.
         0 = pitch black, 100 = no change, 200 = 200% brightness
    -->
    <filter name="brightness">100</filter>

    <!-- CONTRAST filter.
         -100 = minimal contrast, 0 = no change, 100 = maximum contrast
    -->
    <filter name="contrast">100</filter>

    <!-- ALPHA filter.
         0 = transparent, 100 = opaque
    -->
    <filter name="alpha">75</filter>

    <!-- INVERT filter.
         Valid values are true or false
         true = invert colors
    -->
    <filter name="invert">false</filter>

    <!-- TINT filter.
         A hexadecimal value representing ARGB
    -->
    <filter name="tint">#ff0000ff</filter>

Change-Id: I2431237dd2766176be16c730020557ce87d623e4