231040 Commits

Author SHA1 Message Date
Pavlin Radoslavov
2c6c25f246 Merge "Grant CAP_WAKE_ALARM to the Bluetooth process for any user" am: 26fdbc1833
am: dc84cff34f

* commit 'dc84cff34f020e4768e99fa08749bbe0b87a2233':
  Grant CAP_WAKE_ALARM to the Bluetooth process for any user
2016-01-28 04:21:25 +00:00
Tomasz Mikolajewski
ab821a517d Merge "Unhide DocumentsContract.isTreeUri." 2016-01-28 04:20:43 +00:00
Arunesh Mishra
4666057155 Merge "SoundTrigger system API changes." 2016-01-28 04:10:38 +00:00
Tyler Gunn
d5ee47033f DO NOT MERGE Add capability to determine if downgrade to audio is denied.
am: a3fc54f0d8  -s ours

* commit 'a3fc54f0d879cbf0bdbb5bd2fe5043dd19232191':
  DO NOT MERGE Add capability to determine if downgrade to audio is denied.
2016-01-28 04:08:49 +00:00
Jason Monk
a9f128832f Add preview section to nav bar tuner.
It uses density scaling to show a slightly smaller real time version
of the nav bar, so you can see edits without possibly breaking the
nav bar.

Also fix rotation in the tuner, cause it was broken.

Change-Id: I3de89c3df25c6adb18f0aef41b597c96446d1631
2016-01-27 23:05:11 -05:00
Jason Monk
8457ad89a8 Add keycode buttons to nav bar tuner
Allow a keycode (list generated from KeyEvent.java) and a image to
be selected as a new KeyButtonView to be shown in the nav bar.

Change-Id: I26fcad5b74a96090f2c5574fd214b4afbcadbb30
2016-01-27 23:05:11 -05:00
Jason Monk
3b58714344 Add clipboard to tuner
Allow button to be added to nav bar that acts as a drag target/source
for the clipboard.

Change-Id: I94ca3c7decd1a1b178ceb9a4b4ab9e275c90acbb
2016-01-27 23:05:06 -05:00
Jason Monk
46a196e250 Allow width control of nav bar buttons
Encode the width as part of the spec as a float. For instance:
"home[.5]" is a home button with half its normal width.

The UI will allow users to adjust the width of standard buttons and
spaces from .25 to 1.75, excluding the app shelf, which fills all
available space.

Change-Id: Icd2f498c164933d61f55d779b3e9be0afaba9c2d
2016-01-27 23:03:36 -05:00
Jason Monk
3ebd23943b Nav bar tuner
Allows reorginization of the navigation bar.  First pass.

Change-Id: If546ca5835412d15c05c41ffd5c5aa0857b9417f
2016-01-27 23:03:36 -05:00
Jason Monk
f0c6f64e5b SysUI Tuner: Color mod v2
Change-Id: Id2734c2f4ee8724ef7d7e633fed124454e2d8c5a
2016-01-27 23:03:36 -05:00
Tyler Gunn
a3fc54f0d8 DO NOT MERGE Add capability to determine if downgrade to audio is denied.
By default we assume downgrade to audio is permitted; this capability
probides a means for a carrier to specifically deny that.

Bug: 22728624

Change-Id: I75e0a5b9e5ad2d970003a4691b6fc0ac0dcfe9e0
2016-01-27 19:45:23 -08:00
Tenghui Zhu
de3dbb463c Merge "Gradient for VectorDrawable's fill and stroke" 2016-01-28 03:41:15 +00:00
Daichi Hirono
c8718b57b7 Merge "Add varietions of MtpDevice's mehtods using long." 2016-01-28 02:56:34 +00:00
Daichi Hirono
e0e6654a31 Add varietions of MtpDevice's mehtods using long.
BUG=26525304

Change-Id: I0a0b187910cf498720d8e7b8fbe9b0590e67e65e
2016-01-28 11:54:57 +09:00
Jean-Michel Trivi
297489448b Merge "Dynamic audio policies by UID" 2016-01-28 02:48:00 +00:00
Suprabh Shukla
5fc9b8b86b Merge "Added a constant to be used as an Intent extra" 2016-01-28 02:32:34 +00:00
Winson Chung
bed00cc437 Merge "Part 2: Adding clear-all to history" 2016-01-28 02:20:55 +00:00
xin He
cb3308a335 Merge "Remodel Network Selection" into mm-wireless-dev
am: 2fdee90b68

* commit '2fdee90b685781ec5e30f0788b727f692df32d40':
  Remodel Network Selection
2016-01-28 02:15:56 +00:00
Pavlin Radoslavov
dc84cff34f Merge "Grant CAP_WAKE_ALARM to the Bluetooth process for any user"
am: 26fdbc1833

* commit '26fdbc18337a8e9d16e18255e39ce7a16e83d57b':
  Grant CAP_WAKE_ALARM to the Bluetooth process for any user
2016-01-28 02:12:42 +00:00
xin He
2fdee90b68 Merge "Remodel Network Selection" into mm-wireless-dev 2016-01-28 02:08:23 +00:00
Chien-Yu Chen
bd098d4ed3 Merge changes from topic 'camera-hardening'
* changes:
  Add cameraserver process
  Camera: update connect call
2016-01-28 02:04:37 +00:00
Arunesh Mishra
6a8fd7935f SoundTrigger system API changes.
This CL exposes the SoundTriggerManager and SoundTriggerDetector as a
system/privileged API. The API is protected by a system/priv permission
and also via SEpolicy rules.

Bug: 22860713

Change-Id: I07ee3548ef0d5c584570004645267f5021dfa84c
2016-01-27 18:04:30 -08:00
Lifu Tang
45fbe46da6 Merge changes from topic '2016 GPS Changes'
* changes:
  Framework support to read newly added fields
  Added an API to query GPS hardware version info
  GPS Measurement and Navigation APIs go public
  Supported GNSS multi-constellation in frameworks
2016-01-28 02:02:17 +00:00
Lifu Tang
e5a0e21b6f Framework support to read newly added fields
Change-Id: Ie43395addd102656a4dbf9c25111ac50ec9afe41
2016-01-27 18:01:33 -08:00
Suprabh Shukla
74a2fe4f03 Added a constant to be used as an Intent extra
Added a constant which can be specified to skip the uninstallation
confirmation dialog. Useful in cases where we want to show a different
warning message to the user before starting the UninstallerActivity

Change-Id: Ia87184a9ad715b628118feb447388625b8bf7f1c
2016-01-27 17:51:40 -08:00
Stephan Linzner
3b3e57ef2b Merge "Revert "Deprecated platform Android testing APIs"" 2016-01-28 01:42:21 +00:00
Stephan Linzner
b1ac3142f0 Revert "Deprecated platform Android testing APIs"
This reverts commit d46a7d0d6edbb36aa1a851af3769cc528d943ba0.

Change-Id: I4e4079d17f3bcdde7dc84e440a2168bb3e6d89d3
2016-01-28 01:40:29 +00:00
Lifu Tang
82f893d6df Added an API to query GPS hardware version info
Change-Id: Ic45357d30da350759f56c9d061e60196acb3255b
2016-01-27 17:38:24 -08:00
Adam Powell
2ebfc6f59e Merge "Pinning components in ChooserActivity" 2016-01-28 01:38:05 +00:00
Winson
214f0f0dc8 Part 2: Adding clear-all to history
Change-Id: I9cd51f2a97ebe0f306e4934cdcac1a522526cf50
2016-01-27 17:25:02 -08:00
Joe LaPenna
a301c9f45b [DO NOT MERGE ANYWHERE]: Allow button events in ambient. am: 7528f57c4d -s ours am: 2bccc45cec -s ours am: b47972df80 -s ours
am: ab00e4e38c  -s ours

* commit 'ab00e4e38c113e2e0b60cde5d210e39683c75040':
  [DO NOT MERGE ANYWHERE]: Allow button events in ambient.
2016-01-28 01:21:38 +00:00
Adam Powell
ec6bc41e18 Pinning components in ChooserActivity
Move ChooserActivity to SystemUI. This is a safer place for it to live
and still be able to persist data to storage.

Add a context menu to long press for chooser targets allowing users to
'pin' a target component from an app. This causes it to sort to the
front of the list so that a user's favorite apps are always available
from share UIs, etc. Similarly, all ChooserTargets from a pinned
component receive an impossibly large boost for sorting so that they
will always appear first.

Bug 26791843

Change-Id: Ib4e603d9d4263403e98ce619287452ddab593044
2016-01-27 17:17:31 -08:00
Joe LaPenna
ab00e4e38c [DO NOT MERGE ANYWHERE]: Allow button events in ambient. am: 7528f57c4d -s ours am: 2bccc45cec -s ours
am: b47972df80  -s ours

* commit 'b47972df80ffa40c4ea8541f96275c25ed939d7b':
  [DO NOT MERGE ANYWHERE]: Allow button events in ambient.
2016-01-28 01:17:24 +00:00
Joe LaPenna
b47972df80 [DO NOT MERGE ANYWHERE]: Allow button events in ambient. am: 7528f57c4d -s ours
am: 2bccc45cec  -s ours

* commit '2bccc45cec5201c5b613134ebb0b398bc45483ef':
  [DO NOT MERGE ANYWHERE]: Allow button events in ambient.
2016-01-28 01:12:36 +00:00
Steve McKay
d114cd0733 Merge "Remember view mode by root." 2016-01-28 01:08:51 +00:00
Sailesh Nepal
35c205862f Merge "Make CallScreening.CallResponse static" 2016-01-28 01:07:24 +00:00
Joe LaPenna
2bccc45cec [DO NOT MERGE ANYWHERE]: Allow button events in ambient.
am: 7528f57c4d  -s ours

* commit '7528f57c4ddbde1c6d0a2a352bd8a1af43711013':
  [DO NOT MERGE ANYWHERE]: Allow button events in ambient.
2016-01-28 01:06:28 +00:00
Stephan Linzner
b79a68368b Merge "Deprecated platform Android testing APIs" 2016-01-28 01:05:34 +00:00
Tomasz Mikolajewski
7db9c81937 Unhide DocumentsContract.isTreeUri.
Bug: 22212976
Change-Id: I5267e5de0037559eba5bd3adf16d552c25ca8037
2016-01-28 10:00:52 +09:00
Jaesung Chung
9f774342aa Merge "Fix GpsTimeStamp format string" 2016-01-28 00:53:34 +00:00
Sailesh Nepal
f44607142f Make CallScreening.CallResponse static
A small mistake in my previous CL. The response object
needs to be static.

Change-Id: Idf9bca7a7076275f53475c2531090f406daecab9
2016-01-27 16:53:15 -08:00
Pavlin Radoslavov
26fdbc1833 Merge "Grant CAP_WAKE_ALARM to the Bluetooth process for any user" 2016-01-28 00:52:41 +00:00
Peng Xu
03b22506c1 Merge "Dynamic Sensor Discovery Implementation" 2016-01-28 00:46:29 +00:00
Peng Xu
a35b5539a9 Dynamic Sensor Discovery Implementation
Defined the dynamic sensor meta data type and UUID of sensor, as well
as the broadcast intent that is related to dynamic sensor status
change.

Modify SensorManager, SystemSensorManager and the JNI layer to support
dynamic sensor discovery.

Added SensorNotificationService to notify apps that sensor connected
or disconnected via broadcast.

Change-Id: I28adfb005357d7e3983d65117d6865830c75027d
2016-01-27 16:37:22 -08:00
Winson Chung
3f64f3a3c3 Merge "Part 1: Tweaking history transition to match design." 2016-01-28 00:35:36 +00:00
Teng-Hui Zhu
dbee9bb342 Gradient for VectorDrawable's fill and stroke
Add ComplexColor interface for both GradientColor and ColorStateList.
Set up constant state, factory, theme attrs for GradientColor, while
refactoring the ColorStateList's similar code. (Functionality in CSL should
be the same).

Support themeing in both the root and item level in GradientColor.
For example, both startColor in <gradient> tag or color in <item> tag can
have theme color.
Add tests for both simple and complex cases with themeing etc.

Hook up the native VectorDrawable implementation using 2 extra JNI calls for
simplicity. Such calls only happen at inflate and applyTheme call.

b/22564318

Change-Id: Ibdc564ddb4a7ee0133c6141c4784782f0c93ce0e
2016-01-27 16:32:42 -08:00
Lajos Molnar
58ec1b5a6e Merge "media: expose media format keys for color characteristics" 2016-01-28 00:31:43 +00:00
Steve McKay
3eb2d07fd3 Remember view mode by root.
Now stored in local prefs, not recents DB.
Don't consult preferences for recents from DocumentsActivity.

Bug: 22671255 26689962 26411301
Change-Id: I492d85c450253bce984c929a6dd15d7c31ee6a0b
2016-01-27 16:28:28 -08:00
Pavlin Radoslavov
2956beeec9 Grant CAP_WAKE_ALARM to the Bluetooth process for any user
Use multiuser_get_app_id(uid) to check for AID_BLUETOOTH
and allow the CAP_WAKE_ALARM capability for any user.

Bug: 26784675
Change-Id: I11641e212b7c815e9137ae5620da6ad55f95a899
2016-01-27 16:22:15 -08:00
Makoto Onuki
df6c8d0bc0 Merge "Fix exception message" 2016-01-28 00:20:35 +00:00