Revert "Frameworks: Quick Settings...add all the things (1/3)"

This reverts commit cbb6379c1a033a51453004a982a69ec407e53a1b.

Conflicts:
	core/java/android/provider/Settings.java
	core/java/com/android/internal/util/gummy/GummyHelpers.java
	core/res/res/values/config.xml
	packages/DocumentsUI/res/drawable-inverted-xhdpi/ic_cab_accept.png
	packages/DocumentsUI/res/drawable-inverted-xhdpi/ic_root_usb.png
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/drawable-hdpi/ic_qs_2g_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_2g_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_adb_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_adb_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_0.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_100.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_15.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_28.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_43.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_57.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_71.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_85.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_bang_orange.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_bang_red.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_bang_white.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_charge_0.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_charge_100.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_charge_15.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_charge_28.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_charge_43.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_charge_57.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_charge_71.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_charge_85.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_unknown.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_bt_tether_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_bt_tether_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_clock_circle.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_clock_hour.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_clock_minute.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_gps_locked.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_gps_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_gps_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_ime.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_lte_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_lte_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_nfc_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_nfc_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_playing.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_quickrecord.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_quiet_hours_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_quiet_hours_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_reboot.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_recording.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_remote_display.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_remote_display_connected.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_saved.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_screenshot.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_silence_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_silence_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_sleep.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_sound_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_sound_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_sound_silent.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_sound_sound.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_sound_vibrate.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_stayawake_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_stayawake_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_sync_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_sync_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_torch_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_torch_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_usb_tether_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_usb_tether_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_vibrate_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_vibrate_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_wifi_tether_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_wifi_tether_on.png
	packages/SystemUI/res/drawable-hdpi/ic_sysbar_quicksettings.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_data_wimax_signal_0.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_data_wimax_signal_0_fully.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_data_wimax_signal_1.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_data_wimax_signal_1_fully.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_data_wimax_signal_2.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_data_wimax_signal_2_fully.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_data_wimax_signal_3.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_data_wimax_signal_3_fully.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_data_wimax_signal_disconnected.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_data_wimax_signal_idle.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_ime.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_remote_display.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_remote_display_connected.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_2g_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_2g_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_adb_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_adb_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_battery_0.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_battery_100.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_battery_15.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_battery_28.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_battery_43.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_battery_57.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_battery_71.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_battery_85.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_battery_bang_orange.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_battery_bang_red.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_battery_charge_100.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_battery_charge_15.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_battery_charge_28.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_battery_charge_43.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_battery_charge_57.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_battery_charge_71.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_battery_charge_85.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_bt_tether_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_bt_tether_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_clock_circle.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_clock_hour.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_clock_minute.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_gps_locked.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_gps_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_gps_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_ime.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_lte_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_lte_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_nfc_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_nfc_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_playing.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_quickrecord.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_quiet_hours_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_quiet_hours_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_recording.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_remote_display.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_remote_display_connected.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_saved.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_screenshot.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_silence_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_silence_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_sleep.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_sound_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_sound_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_sound_silent.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_sound_sound.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_sound_vibrate.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_stayawake_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_stayawake_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_sync_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_sync_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_torch_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_torch_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_usb_tether_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_usb_tether_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_vibrate_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_vibrate_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_wifi_tether_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_wifi_tether_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_sysbar_quicksettings.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_0.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_100.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_15.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_28.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_43.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_57.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_71.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_85.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_charge_anim0.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_charge_anim100.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_charge_anim15.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_charge_anim28.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_charge_anim43.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_charge_anim57.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_charge_anim71.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_battery_charge_anim85.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_data_wimax_signal_0.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_data_wimax_signal_0_fully.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_data_wimax_signal_1.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_data_wimax_signal_1_fully.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_data_wimax_signal_2.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_data_wimax_signal_2_fully.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_data_wimax_signal_3.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_data_wimax_signal_3_fully.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_data_wimax_signal_disconnected.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_data_wimax_signal_idle.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_remote_display.png
	packages/SystemUI/res/layout/toggle_tile_time.xml
	packages/SystemUI/res/layout/toggle_traditional_time.xml
	packages/SystemUI/res/values/colors.xml
	packages/SystemUI/res/values/gummy_strings.xml
	packages/SystemUI/res/values/strings_toggles.xml
	packages/SystemUI/src/com/android/systemui/gummy/GummyAction.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/BarTransitions.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Prefs.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/AirplaneModeToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/BaseToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/BatteryToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/BluetoothToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/BrightnessToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/ClockToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/CustomToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/FavoriteUserToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/GpsToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/ImeToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/LteToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/NfcToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/QuickRecordToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/RotateToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/ScreenshotToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/SettingsToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/SignalToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/SilentToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/SleepToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/SoundStateToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/StayAwakeToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/SyncToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/ToggleManager.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/TorchToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/TwoGToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/UsbTetherToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/UserToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/VibrateToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/WifiApToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/WifiToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/WirelessAdbToggle.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
	services/java/com/android/server/DevicePolicyManagerService.java
	telephony/java/android/telephony/TelephonyManager.java

Change-Id: I7723bc9047b9ac01178313fb60d5624a29af2aec
Gummy QuickSettings customization (1/2)

  based on cm quicksettings, code tweaked for Gummy code style and customization
  this patch adds the following tiles:

    -  AirplaneModeTile
    -  AlarmTile
    -  AutoRotateTile
    -  BatteryTile
    -  BluetoothTile
    -  BrightnessTile
    -  BugReportTile
    -  CompassTile
    -  ContactTile
    -  CustomTile
    -  DarkGummyTile
    -  EqualizerTile
    -  ExpandedDesktopTile
    -  HeadsUpTile
    -  InputMethodTile
    -  LocationTile
    -  LteTile
    -  MobileNetworkTile
    -  MobileNetworkTypeTile
    -  MusicTile
    -  NetworkTile
    -  NfcTile
    -  PerformanceProfileTile
    -  PreferencesTile
    -  QuickRecordingsDialog
    -  QuickRecordTile
    -  QuickSettingsTile
    -  QuickTileVisualizer
    -  QuietHoursTile
    -  RebootTile
    -  RemoteDisplayTile
    -  RingerModeTile
    -  ScreenTimeoutTile
    -  SleepScreenTile
    -  SyncTile
    -  ToggleLockscreenTile
    -  TorchTile
    -  UsbTetherTile
    -  UserTile
    -  VolumeTile
    -  WifiAPTile
    -  WiFiTile

  as well as adds user configurable background color, background pressed color, text color, alpha, and tiles per row

Change-Id: I0e1ddcf6c3310544e4005f20509eb829d18365b2
temp disable eq tile (1/2)

Change-Id: I201a5bab98fc3bac79c783c651de39eef05fb222
QS: Make PerformanceProfile Tile respect locale change for label.

Change-Id: I5afaa0c0f468e3b79f5b22c4c2804463d7a16651
Themes: Add STYLE_THUMBNAIL to PreviewColumns

Change-Id: Ie18264cbede92220335400428e67735866cd442d
Themes: Add helper methods for creating complete component maps

These methods can be used to apply a theme while replacing any
components not found in the theme with the defaults.

Default components come from the default theme for the system
with any missing components in that default theme coming from HOLO.

Change-Id: Idea55cc684ccc8304b01a991c36b6993f55b8880
Bluetooth: Fix to avoid object leaks during BT OFF

A case where script is running to do BT ON/OFF 2000 times,
Each time while turning off BT FULL_CONNECTED_ASYNC_CHANNEL
is disconnected by Pan Service. HALF_CONNECTED_ASYNC_CHANNEL
is not disconnected, which leads memory leak in Pan Service
object as messenger passed by PanService & ASYNC Channel object.
which are still referred from BT tethering framework code. So GC
does not claim for these objects. HALF_CONNECTED_ASYNC_CHANNEL
should be disconnected, once FULL_CONNECTED_ASYNC_CHANNEL
is disconnected to solve this issue.

Change-Id: I5a7a2beb0169a755cf4f3f37fd0a0ab7d08fd9e5
CRs-Fixed: 591180
server: make clat interface name public

modify clat interface name from private to public

Change-Id: Ib937c1dd7b4bc215fba57703fc2f4d694b336e6f
CRs-Fixed: 536223
(cherry picked from commit 43a76564f0a2771f4a09ba86edefec3fc66badbc)
(cherry picked from commit 0448fd4b63a179c953449c3e8b40345eec9727b1)
(cherry picked from commit cbde0fcd3fb6882f0572afb3200e122a4d30d909)
Add CAP_BLOCK_SUSPEND Linux capability to system server

Add block suspend capability to system server to allow
system server to hold wake locks in more recent Linux
kernels.

Change-Id: If37e6b3db43cde6b185e699926a940f6717aa05b
Reduce total number of background apps for low memory devices

Due to memory constraints, we anyway cannot fit the default number
of BG apps. So instead of killing background apps to
free up memory when launching, start with an already
reduced background set of apps.

Another side-effect is that launch latencies also improve.
This change is for low memory devices. (512MB RAM or less)

Change-Id: I9de0cb1734c0a386fc47cde71723e5c16825f5a3
frameworks/base: Update timelapse quality check

Updated timelapse quality check to include WQVGA

Change-Id: Ic2ef9ad78cbbc2daa14ff5e95ff3cfb6e10a7529
libmediaplayer: update MIME types to include DASH support

Update MIME types to include DASH support

CRs-Fixed: 539815
Change-Id: I300e3bec1425ec1e1170bd489097237218c52baf
When mInputText isn't on focus, hide the soft keyboard

Flash english keyboard quickly when press selected the
number of the date of each month in data usage

Change-Id: I0d2cbde1a72a575b009a2d84d2e020ad101ce5a3
Make sure that items are visible

Sometimes item is not visible in messaging recipient in landscape mode.

Change-Id: Icc96fe25fdba0d52aa3d4a62009b8a2e8b68a0be
SystemUI (MSIM): Fix Airplane mode toggle issue using Quick Access menu.

onAirplaneModeChanged() in QuickSettingsModel class needs to be called from
MSimNetworkController class (for MSIM) to update Airplane widget in Quick
Access menu. Same code is missing in MSimNetworkController class.
Add notifySignalsChangedCallbacks() at MSimNetworkController class.

Change-Id: I214f679b377f26fb58b6165a52c5e12c860f5111
CRs-Fixed: 543170
framework/base: Create surface based on the panel orientation.

  - Create Surface for boot animation based on panel orientation
  - Set the display projection values based on panel orientation.

Change-Id: Iaf66ac13cc44cf7910ff150b3a104eb52bcefdbf
DialogFragement: Add null pointer check for mDialog for protection

DialogFragement can be dissmissed just after the Dialog is
established. This will cause NullPointerException.

Add null pointer check for mDialog for protection

CRs-fixed: 549689

Change-Id: If57f81d03a8ec2906598363b681ea38806fb2a90
ChooseTypeAndAccountActivity: Fix the Null pointer Exception of monkey test

ChooseTypeAndAccountActivity crashed during monkey test, due to Null
pointer exception occurred.

To fix this issue, Add Null pointer check before we use it.

CRs-Fixed: 478250

Change-Id: Iae3e331edfda238ecb0c6d5d32b15329b1dfee0b
 Audio: SetForceUse config check in AudioService

 - Audio is routed to headset when BT is turned off while audio is
   played on speaker
 - Mediarouter does not have setForce device information when app forces
   audio to speaker. So while disconnecting BT, MediaRouter is routing
   audio to headset instead of speaker.
 - Added check for setforce config in AudioService.

 CRs-Fixed: 578316

Change-Id: Ie929f407bfa12eacd29cf36031024a4a6a979b63
Mms: Fix FC issue that when tapping contact icon many times

Add protection to check the extra string info from bundle before making
the URI, to avoid null pointer exception.

CRs-Fixed: 534089

Change-Id: Ie8c78ca42c290e16afa1fefeb01ea67c8e963b06