231020 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Makoto Onuki
df6c8d0bc0 Merge "Fix exception message" 2016-01-28 00:20:35 +00:00
Makoto Onuki
ca3f6fae60 Fix exception message
Change-Id: I6fe4b8b745414ed589337079e2893d87dadb34f5
2016-01-27 16:19:38 -08:00
Lifu Tang
a8b7bb5a50 GPS Measurement and Navigation APIs go public
Those APIs are already used by first-party Apps for a while. We now make them
available to third-party Apps as well.

Change-Id: I87d9f0dbb04831fc849228d7df03a2686e2eb383
2016-01-27 16:07:09 -08:00
Jack Yu
b98fac6f1f Merge "Reduced more radio log spam" into mm-wireless-dev
am: 24c5e7c4ce

* commit '24c5e7c4ceb31c85868fe2c03e8a507e2cb0520f':
  Reduced more radio log spam
2016-01-28 00:05:14 +00:00
Adam Lesinski
72c3927f86 Merge "Record ModemActivityInfo and distribute power blame to apps" 2016-01-28 00:03:56 +00:00
Jack Yu
24c5e7c4ce Merge "Reduced more radio log spam" into mm-wireless-dev 2016-01-28 00:00:04 +00:00
Miao Wang
104aff50bd Merge "[RenderScript] Unhide new Allocation APIs" 2016-01-27 23:49:23 +00:00
Adam Lesinski
21f76aa770 Record ModemActivityInfo and distribute power blame to apps
Telephony expsoses a getModemActivity() method, which BatteryStats
will poll when a change in network activity occurs (on the modem).

The time spent in various states (tx, idle, rx) are distributed amongst
the apps that did rx/tx traffic during that window.

Bug:23147562
Change-Id: I480a85df95786f87c382b96816fe2ed4bb2d5a42
2016-01-27 15:45:30 -08:00
Sanket Padawe
d11c15d418 Merge "Add new RIL command for sending ack to solicited async and unsolicited msg." into mm-wireless-dev
am: 2ed3add734

* commit '2ed3add734df1b9b35d91b69f2722b9554d2cf2b':
  Add new RIL command for sending ack to solicited async and unsolicited msg.
2016-01-27 23:29:25 +00:00
Sanket Padawe
2ed3add734 Merge "Add new RIL command for sending ack to solicited async and unsolicited msg." into mm-wireless-dev 2016-01-27 23:25:09 +00:00
Phil Burk
dc5f027783 AudioTrack: make low latency APIs public
Allow apps to lower their Java audio latency.

Bug: 21019153
Change-Id: I1be9a083c46e9fcf7db2635e813cab13dbad810a
Signed-off-by: Phil Burk <philburk@google.com>
2016-01-27 23:24:20 +00:00
Felipe Leme
8b0b0e3b92 Merge "Minor improvements on parseCommandArgs," 2016-01-27 23:21:14 +00:00
Sudheer Shanka
ff2feb4ca6 Merge "Fix UserAvatarView.setDisabled method." 2016-01-27 23:20:52 +00:00
Stephan Linzner
d46a7d0d6e Deprecated platform Android testing APIs
- Deprecated most android.test.* APIs
- Kept ProviderTestCase2 and LoaderTestCase since we don't have a
replacement yet
- Deprecated android.test.suitebuilder
- Added Javadoc to all deprecated APIs with links to corresponding
Android Testing Support Library APIs
- Removed all trailing whitespace

Change-Id: Iab0699f56c286e29b5af46f7580bec5f29955fd3
2016-01-27 15:16:20 -08:00
Winson
49df4209cf Part 1: Tweaking history transition to match design.
- Adding background scrim that can be controlled across transitions 
  within recents.  As a result, we can remove the status bar scrim.
- Moving the history view into the RecentsView now that it animates in
  parallel with the task stack
- Transition home from history no longer goes back to stack view first
- Removing some extra allocations when going into history and loading 
  tasks

Change-Id: I665baefcdd619de5e9366923eaaf4c558261141a
2016-01-27 15:15:44 -08:00
Ian Pedowitz
c0b2f09a92 Merge "Need to call getApplicationInfo from System id" 2016-01-27 22:54:26 +00:00
Eino-Ville Talvala
41d43a6b6d Merge "Camera2: Clarify LEVEL_3 requirements." 2016-01-27 22:51:21 +00:00
xinhe
584dc6b8b9 Remodel Network Selection
There are two main changes in this CL:
    (1) Add user selection preference support. If user
    explicitly chooses a network, framework will remember
    it and consider user has a higher preference of this
    network over all other visible networks.

    (2) Seperate user set BSSID and framework chosen BSSID.
    The BSSID under WifiConfiguration is set by user and is
    not allowed to be overrided. The BSSID under Network
    selection status is the best BSSID chosen by the
    framework to associate with.

BUG=26012244
BUG=26721725

Change-Id: Iece91d20b139ef1c6aec05828c734d1706d81007
2016-01-27 14:50:42 -08:00
Miao Wang
c29bcd0dcd [RenderScript] Unhide new Allocation APIs
Bug: 23535524

  - ByteBuffer getByteBuffer()
  - long getStride()
  - Allocation[] createAllocations(rs, type, usage, num)
  - long getTimeStamp()

Change-Id: I0cad88c81f9f48c7aca59af159c49f506b234aee
2016-01-27 14:42:03 -08:00
Lajos Molnar
6d9ef6419a media: expose media format keys for color characteristics
Bug:  25684127
Change-Id: Ib4aa7487d1bca27eff5f31cd736e935f5bb7e8f0
2016-01-27 14:39:09 -08:00
Ashutosh Joshi
e97a3cc4ca Merge "Adding new sensor types." 2016-01-27 22:37:41 +00:00