Frameworks Base: Use public constant for SYSTEM_PROFILES_ENABLED

Use the public Settings.System.SYSTEM_PROFILES_ENABLED instead of private definition.

Change-Id: I571dd69f26a05f903779578da01c69addb2284f2
Merge branch 'jb-release' of https://android.googlesource.com/platform/frameworks/base into aosp

Conflicts:
	telephony/java/com/android/internal/telephony/cdma/CdmaSMSDispatcher.java
	telephony/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java

Change-Id: I7d199cab1bf8b69b94771ff6e241ae53520e0e8b
Fix mergefail

Change-Id: I98224af1c24a9181e512507c8ad6bfa4542c2618
SearchWidget: passing APP_DATA to voice intent (from ics)

ics: http://review.cyanogenmod.com/#/c/17826/1

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: I2d0d853b69b36aa4e52f3cd49b4364f5fbb5ab93
Fix 5772: Pattern screen lock shows incorrect attempts (from ics)

http://review.cyanogenmod.com/#/c/20211/1

Hide incorrect draw paths. If the pattern is incorrect a message is displayed
instead of incorrect pattern.

Change-Id: I5f74521738e9cdeaa561a946fb28ac4dc9785660
Fix Issue 5810: Framework Base: Uighur language

Initial commits for Uighur language
Depends: http://r.cyanogenmod.com/#/c/19818/1
Credits: Abduqadir Abliz

Patch 2: Remove trailing whitespaces
         Incorrect nodomain.html
Patch 3: Remove no translatable entries

Change-Id: Id5a8b070b78b80b97aaf4dbc708bd7cfb7300ba2
Framework Base: Power Widget scrollbar not showed

If the number of the buttons in the Power Widget exceeded the LAYOUT_SCROLL_BUTTON_THRESHOLD
the HorizontalScrollView created is not showed because notification areas is over the scrollbar.
This occurs because buttons layout has set a bottom padding to not overlap the buttons. This has
sense in ics (where buttons has indicators), but not in jb there are not button indicator.
Remove the bottom padding to show the scrollbar. The scrollbar aspect is in tune with the rest of
the power widget

Change-Id: I1d1784a3b34329a2c710a2a3605f253f3756bf0b
PT-BR: Added missing translations

Change-Id: If3a67c3f028f758fe5b990eef5ad53b188ca7cdf
Bluetooth: AVRCP 1.3 features changes (2/2)

Bluetooth module will listen metadata/event change intents
from Music app and post data to Bluez stack.

Merged the following from ICS:
Change-Id: 37151cf5162404e27c985a1b6a874cfd9a51d657
Change-Id: f3d9f182f0eacc3ead491f7d3f571f5ed93f7c20
Change-Id: 432fdab5fbbfb6687b571d1e06d6b51e944ed4d5
Change-Id: b4d51e3bc1b52f6c1ff1d006aae6cff261c739e9
Change-Id: f1c1549254c17be681066544efbbcf7ad1e25913

       modified:   core/java/android/server/BluetoothA2dpService.java
       new file:   core/java/fm/last/api/Station.java
       modified:   core/jni/android_server_BluetoothA2dpService.cpp
       modified:   core/jni/android_server_BluetoothEventLoop.cpp
       new file:   core/res/res/values/avrcp_data.xml
       modified:   core/res/res/values/public.xml

Signed-off-by: Trey Briggs <treybriggs@gmail.com>
base: External BT GPS

Change-Id: I869320d42f40e8b762b8b27702ea4495403f8fc5
Credit: Cuong <cuongbui@gmail.com>
Lockscreen Vibrate option 1 of 2

The new System setting Settings.System.LOCKSCREEN_VIBRATE_ENABLED
which defaults to 1, will effect the lockscreen on touch event
(when touching the unlock icon - or sliding it).

The GlowPadView (Slider) now has no Vibrate when the user selects the behaviour
in the Lockscreen Settings (see 2 of 2 patch).

No Restart is needed to make the change.

Change-Id: I59c52c6ea2f54427bbc883cd829952cefa58143c
SystemUI: Allow nav bar background to be themed

Change-Id: I53a1030547e431fe978a02353161cca76361281e
Fix: Back icon doesn't scale when changing navbar height

Contrary to the Home and Apps icons, the Back icon doesn't scale when changing
navigation bar height due to scaleType=center in the layout.xml.
Fix provided by Michael Schroyen.

Change-Id: Ia5abe1ec79fd4171e4a20095b4a7dc9ce98c9383
Fix system bar scrollview on landscape

Jellybean doesn't defines a size for landscape tablet powerwidget, then it causes
cut off when you add more than the stock jellybean toggles. Fix it by
adding a non-hardcoded dimension depending on the screen orientation

Change-Id: Id9350fce166ad173cf17d7fc877bf7e48c409457
Framework: Use holo alert drawable

Also remove the icon in the shutdown menu to match AOSP ICS
and later.

Change-Id: I9881c3940ba7bfc236fdec40bc98380d0dd7ccf8
Utilize CID as ADB notification icon

Patch Set 2: Moved up to balance vertical weight of CID's head

Change-Id: Id052039a4cedf1eaafdf1da8f1fa30fa588475ed
PowerManagerService: fix getAutoBrightnessValue for btn/kbd

getAutoBrightnessValue calculations are correct only for LCD
backlight brightness values increasing with higher light values.
Skip the calculation for the reversed button/keyboard backlight
arrays, where the backlight brightness decreases with increasing
light values.

Change-Id: Ib72b8325fe2b0f83780e91dc94eea2e38061224b