tether: Link to legacy wifi for tiap_drv module based wlan

remember to set this in system.prop :
  wifi.ap.interface = tiap0

and in the frameworks overlay :
  <!-- whether Softap rely on a different interface (beware these flags can be badly understood) -->
  <bool name="config_wifi_ap_use_single_interface">true</bool>

  <!-- Dont reload the firmware via the framework, let wifi legacy and tiap_loader do that -->
  <bool name="config_wifi_ap_firmware_reload">false</bool>

Change-Id: I248d9e5c929386f5e03efa1dde6eafa56c38f5c7
Add multiple UUID tags to profile (1/2 Frameworks)

Adding multiple UUID tags to a profile allows us to share a single NFC tag across multiple devices.

NFC tag writing works as before.
NFC tag reading is expanded to check the UUID and the UUID tags of a profile.

When reading unknown profiles, the user is asked to attach the tag to an exising profile.
The NFC tag itself stays untouched.

Patch Set 1:
* initial commit

Patch Set 2:
* rebase
* remove getProfileByTag() and use getProfile()
* rename tag to secondary uuid

Patch Set 3:
* rename "tag" leftovers

Change-Id: I284f8a823ced48d3b88ce3b3a1e83152cb145d2d
Don't let apps disable the SIM PIN entry screen.

As the user (who controls the app behaviour after all) likely doesn't
see the PIN screen as a lock screen (he likely wants telephony) and the
PIN screen is not shown on a timer-driven basis, it should be treated
specially.

Change-Id: I6b029124311f93fb3ba57efbff85bd64aadfb81a
Don't consider input restricted if keyguard is still disabled.

Change-Id: I00a351311d0933fe326bda33f5c988a6232cca16
Port power widget improvements from CM7 to CM9.

This is a squash of the following change IDs:
I42b4ad02c4eb8b57a2f4cf51a31148c4b0546b81
I6f619740659cfedec3a3c9517fb55275f601d792
Iaee471b29b306e9ebcc6a81799f7e36872951002

Change-Id: I4e40d8e27b9bb11367e30223ffb8024985476e74

Conflicts:

	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/powerwidget/BrightnessButton.java
	packages/SystemUI/src/com/android/systemui/statusbar/powerwidget/FlashlightButton.java
	packages/SystemUI/src/com/android/systemui/statusbar/powerwidget/PowerButton.java
	packages/SystemUI/src/com/android/systemui/statusbar/powerwidget/PowerWidget.java
	packages/SystemUI/src/com/android/systemui/statusbar/powerwidget/WimaxButton.java
Power Widget: Add toggle profile button (1/2)

-Lets user toggle profile on button press from Power Widget
-Notification ticker displays the selected profile name

Change-Id: I44972c934fcc6284e85f36303d8f6f0c223d2aae

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/powerwidget/PowerButton.java
Give consistent names to properties controlling camera shutter sound

There is a property named "ro.camera.sound.force" which control if camera sound should be played
even if phone is in silent mode. This is standard property and it is not affected by this change.

Another property (used for HTC vivo/vivow/mecha devices) disables camera shutter sound on system level.
Currently it is named "persist.camera.shutter.disable". Renamed to "ro.camera.sound.disabled" to
keep consistent naming with previous option. Also, this property is intended to be read only
and therefore should live in "ro.*" namespace.

Adding support for third property, "persist.sys.camera-mute" which will allow control over camera
shutter sound if it is not disabled by prevoius property.

imported from gingerbread f62a0e8b12f06215454eee2a30f648e3d190be78

Change-Id: I447f9bc61ca20022d5b62ef9ea231d6a1d0b38d7

Conflicts:

	services/camera/libcameraservice/CameraService.cpp
SearchWidget: passing APP_DATA to voice intent

SearchView uses SearchManager.APP_DATA to pass data between the origin activity
and the search activity. This works for text searches (keyboard), but it's not
implemented by voice recognition searches. The method createVoiceAppSearchIntent
initializes a empty bundle that is filled with the QUERY parameter.
This patch adds the SearchManager.APP_DATA parameter if is present, let the
search activity access to the data passed by the origin activity

Change-Id: Ie88d32578d0a9dd01c464098a636a61397e89926