OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Add varietions of MtpDevice's mehtods using long."
Daichi Hirono [Thu, 28 Jan 2016 02:56:34 +0000 (02:56 +0000)]
Merge "Add varietions of MtpDevice's mehtods using long."

8 years agoAdd varietions of MtpDevice's mehtods using long.
Daichi Hirono [Fri, 15 Jan 2016 05:42:53 +0000 (14:42 +0900)]
Add varietions of MtpDevice's mehtods using long.

BUG=26525304

Change-Id: I0a0b187910cf498720d8e7b8fbe9b0590e67e65e

8 years agoMerge "Dynamic audio policies by UID"
Jean-Michel Trivi [Thu, 28 Jan 2016 02:48:00 +0000 (02:48 +0000)]
Merge "Dynamic audio policies by UID"

8 years agoMerge "Added a constant to be used as an Intent extra"
Suprabh Shukla [Thu, 28 Jan 2016 02:32:34 +0000 (02:32 +0000)]
Merge "Added a constant to be used as an Intent extra"

8 years agoMerge "Part 2: Adding clear-all to history"
Winson Chung [Thu, 28 Jan 2016 02:20:55 +0000 (02:20 +0000)]
Merge "Part 2: Adding clear-all to history"

8 years agoMerge "Remodel Network Selection" into mm-wireless-dev
xin He [Thu, 28 Jan 2016 02:15:56 +0000 (02:15 +0000)]
Merge "Remodel Network Selection" into mm-wireless-dev
am: 2fdee90b68

* commit '2fdee90b685781ec5e30f0788b727f692df32d40':
  Remodel Network Selection

8 years agoMerge "Remodel Network Selection" into mm-wireless-dev
xin He [Thu, 28 Jan 2016 02:08:23 +0000 (02:08 +0000)]
Merge "Remodel Network Selection" into mm-wireless-dev

8 years agoMerge changes from topic 'camera-hardening'
Chien-Yu Chen [Thu, 28 Jan 2016 02:04:37 +0000 (02:04 +0000)]
Merge changes from topic 'camera-hardening'

* changes:
  Add cameraserver process
  Camera: update connect call

8 years agoMerge changes from topic '2016 GPS Changes'
Lifu Tang [Thu, 28 Jan 2016 02:02:18 +0000 (02:02 +0000)]
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

8 years agoFramework support to read newly added fields
Lifu Tang [Tue, 26 Jan 2016 02:02:17 +0000 (18:02 -0800)]
Framework support to read newly added fields

Change-Id: Ie43395addd102656a4dbf9c25111ac50ec9afe41

8 years agoAdded a constant to be used as an Intent extra
Suprabh Shukla [Wed, 27 Jan 2016 20:57:24 +0000 (12:57 -0800)]
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

8 years agoMerge "Revert "Deprecated platform Android testing APIs""
Stephan Linzner [Thu, 28 Jan 2016 01:42:21 +0000 (01:42 +0000)]
Merge "Revert "Deprecated platform Android testing APIs""

8 years agoRevert "Deprecated platform Android testing APIs"
Stephan Linzner [Thu, 28 Jan 2016 01:40:29 +0000 (01:40 +0000)]
Revert "Deprecated platform Android testing APIs"

This reverts commit d46a7d0d6edbb36aa1a851af3769cc528d943ba0.

Change-Id: I4e4079d17f3bcdde7dc84e440a2168bb3e6d89d3

8 years agoAdded an API to query GPS hardware version info
Lifu Tang [Fri, 22 Jan 2016 02:15:33 +0000 (18:15 -0800)]
Added an API to query GPS hardware version info

Change-Id: Ic45357d30da350759f56c9d061e60196acb3255b

8 years agoMerge "Pinning components in ChooserActivity"
Adam Powell [Thu, 28 Jan 2016 01:38:05 +0000 (01:38 +0000)]
Merge "Pinning components in ChooserActivity"

8 years agoPart 2: Adding clear-all to history
Winson [Tue, 26 Jan 2016 21:37:37 +0000 (13:37 -0800)]
Part 2: Adding clear-all to history

Change-Id: I9cd51f2a97ebe0f306e4934cdcac1a522526cf50

8 years ago[DO NOT MERGE ANYWHERE]: Allow button events in ambient. am: 7528f57c4d -s ours...
Joe LaPenna [Thu, 28 Jan 2016 01:21:38 +0000 (01:21 +0000)]
[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.

8 years agoPinning components in ChooserActivity
Adam Powell [Wed, 27 Jan 2016 17:09:35 +0000 (09:09 -0800)]
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

8 years ago[DO NOT MERGE ANYWHERE]: Allow button events in ambient. am: 7528f57c4d -s ours...
Joe LaPenna [Thu, 28 Jan 2016 01:17:24 +0000 (01:17 +0000)]
[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.

8 years ago[DO NOT MERGE ANYWHERE]: Allow button events in ambient. am: 7528f57c4d -s ours
Joe LaPenna [Thu, 28 Jan 2016 01:12:36 +0000 (01:12 +0000)]
[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.

8 years agoMerge "Remember view mode by root."
Steve McKay [Thu, 28 Jan 2016 01:08:51 +0000 (01:08 +0000)]
Merge "Remember view mode by root."

8 years agoMerge "Make CallScreening.CallResponse static"
Sailesh Nepal [Thu, 28 Jan 2016 01:07:24 +0000 (01:07 +0000)]
Merge "Make CallScreening.CallResponse static"

8 years ago[DO NOT MERGE ANYWHERE]: Allow button events in ambient.
Joe LaPenna [Thu, 28 Jan 2016 01:06:28 +0000 (01:06 +0000)]
[DO NOT MERGE ANYWHERE]: Allow button events in ambient.
am: 7528f57c4d  -s ours

* commit '7528f57c4ddbde1c6d0a2a352bd8a1af43711013':
  [DO NOT MERGE ANYWHERE]: Allow button events in ambient.

8 years agoMerge "Deprecated platform Android testing APIs"
Stephan Linzner [Thu, 28 Jan 2016 01:05:34 +0000 (01:05 +0000)]
Merge "Deprecated platform Android testing APIs"

8 years agoMerge "Fix GpsTimeStamp format string"
Jaesung Chung [Thu, 28 Jan 2016 00:53:34 +0000 (00:53 +0000)]
Merge "Fix GpsTimeStamp format string"

8 years agoMake CallScreening.CallResponse static
Sailesh Nepal [Thu, 28 Jan 2016 00:45:51 +0000 (16:45 -0800)]
Make CallScreening.CallResponse static

A small mistake in my previous CL. The response object
needs to be static.

Change-Id: Idf9bca7a7076275f53475c2531090f406daecab9

8 years agoMerge "Dynamic Sensor Discovery Implementation"
Peng Xu [Thu, 28 Jan 2016 00:46:29 +0000 (00:46 +0000)]
Merge "Dynamic Sensor Discovery Implementation"

8 years agoDynamic Sensor Discovery Implementation
Peng Xu [Wed, 20 Jan 2016 08:05:45 +0000 (00:05 -0800)]
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

8 years agoMerge "Part 1: Tweaking history transition to match design."
Winson Chung [Thu, 28 Jan 2016 00:35:36 +0000 (00:35 +0000)]
Merge "Part 1: Tweaking history transition to match design."

8 years agoMerge "media: expose media format keys for color characteristics"
Lajos Molnar [Thu, 28 Jan 2016 00:31:43 +0000 (00:31 +0000)]
Merge "media: expose media format keys for color characteristics"

8 years agoRemember view mode by root.
Steve McKay [Tue, 26 Jan 2016 03:00:22 +0000 (19:00 -0800)]
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

8 years agoMerge "Fix exception message"
Makoto Onuki [Thu, 28 Jan 2016 00:20:35 +0000 (00:20 +0000)]
Merge "Fix exception message"

8 years agoFix exception message
Makoto Onuki [Thu, 28 Jan 2016 00:19:38 +0000 (16:19 -0800)]
Fix exception message

Change-Id: I6fe4b8b745414ed589337079e2893d87dadb34f5

8 years agoGPS Measurement and Navigation APIs go public
Lifu Tang [Tue, 26 Jan 2016 09:22:10 +0000 (01:22 -0800)]
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

8 years agoMerge "Reduced more radio log spam" into mm-wireless-dev
Jack Yu [Thu, 28 Jan 2016 00:05:14 +0000 (00:05 +0000)]
Merge "Reduced more radio log spam" into mm-wireless-dev
am: 24c5e7c4ce

* commit '24c5e7c4ceb31c85868fe2c03e8a507e2cb0520f':
  Reduced more radio log spam

8 years agoMerge "Record ModemActivityInfo and distribute power blame to apps"
Adam Lesinski [Thu, 28 Jan 2016 00:03:56 +0000 (00:03 +0000)]
Merge "Record ModemActivityInfo and distribute power blame to apps"

8 years agoMerge "Reduced more radio log spam" into mm-wireless-dev
Jack Yu [Thu, 28 Jan 2016 00:00:04 +0000 (00:00 +0000)]
Merge "Reduced more radio log spam" into mm-wireless-dev

8 years agoMerge "[RenderScript] Unhide new Allocation APIs"
Miao Wang [Wed, 27 Jan 2016 23:49:23 +0000 (23:49 +0000)]
Merge "[RenderScript] Unhide new Allocation APIs"

8 years agoRecord ModemActivityInfo and distribute power blame to apps
Adam Lesinski [Mon, 25 Jan 2016 20:27:06 +0000 (12:27 -0800)]
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

8 years agoMerge "Add new RIL command for sending ack to solicited async and unsolicited msg...
Sanket Padawe [Wed, 27 Jan 2016 23:29:25 +0000 (23:29 +0000)]
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.

8 years agoMerge "Add new RIL command for sending ack to solicited async and unsolicited msg...
Sanket Padawe [Wed, 27 Jan 2016 23:25:09 +0000 (23:25 +0000)]
Merge "Add new RIL command for sending ack to solicited async and unsolicited msg." into mm-wireless-dev

8 years agoAudioTrack: make low latency APIs public
Phil Burk [Mon, 18 Jan 2016 01:27:30 +0000 (17:27 -0800)]
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>
8 years agoMerge "Minor improvements on parseCommandArgs,"
Felipe Leme [Wed, 27 Jan 2016 23:21:14 +0000 (23:21 +0000)]
Merge "Minor improvements on parseCommandArgs,"

8 years agoMerge "Fix UserAvatarView.setDisabled method."
Sudheer Shanka [Wed, 27 Jan 2016 23:20:52 +0000 (23:20 +0000)]
Merge "Fix UserAvatarView.setDisabled method."

8 years agoDeprecated platform Android testing APIs
Stephan Linzner [Fri, 22 Jan 2016 23:49:47 +0000 (15:49 -0800)]
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

8 years agoPart 1: Tweaking history transition to match design.
Winson [Tue, 26 Jan 2016 01:33:34 +0000 (17:33 -0800)]
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

8 years agoMerge "Need to call getApplicationInfo from System id"
Ian Pedowitz [Wed, 27 Jan 2016 22:54:26 +0000 (22:54 +0000)]
Merge "Need to call getApplicationInfo from System id"

8 years agoMerge "Camera2: Clarify LEVEL_3 requirements."
Eino-Ville Talvala [Wed, 27 Jan 2016 22:51:21 +0000 (22:51 +0000)]
Merge "Camera2: Clarify LEVEL_3 requirements."

8 years agoRemodel Network Selection
xinhe [Tue, 26 Jan 2016 18:32:03 +0000 (10:32 -0800)]
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

8 years ago[RenderScript] Unhide new Allocation APIs
Miao Wang [Tue, 26 Jan 2016 22:19:25 +0000 (14:19 -0800)]
[RenderScript] Unhide new Allocation APIs

Bug: 23535524

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

Change-Id: I0cad88c81f9f48c7aca59af159c49f506b234aee

8 years agomedia: expose media format keys for color characteristics
Lajos Molnar [Wed, 27 Jan 2016 02:57:28 +0000 (18:57 -0800)]
media: expose media format keys for color characteristics

Bug:  25684127
Change-Id: Ib4aa7487d1bca27eff5f31cd736e935f5bb7e8f0

8 years agoMerge "Adding new sensor types."
Ashutosh Joshi [Wed, 27 Jan 2016 22:37:41 +0000 (22:37 +0000)]
Merge "Adding new sensor types."

8 years agoAdding new sensor types.
Ashutosh Joshi [Tue, 26 Jan 2016 04:24:20 +0000 (20:24 -0800)]
Adding new sensor types.

Adding new sensor types for the following -
     i) Stationay Detection
     ii) Motion Detection
     iii) Heart Beat Detection

Change-Id: I95dd81605e0ce2467fe5e0b65dbd25447bba412b

8 years agoCamera2: Clarify LEVEL_3 requirements.
Eino-Ville Talvala [Wed, 27 Jan 2016 22:16:20 +0000 (14:16 -0800)]
Camera2: Clarify LEVEL_3 requirements.

Bug: 25114814
Change-Id: I0d7e0c17c8860e443cded79506e9144db25fe10b

8 years agoMerge "Make DPM.clearProfileOwner() public."
Makoto Onuki [Wed, 27 Jan 2016 22:25:43 +0000 (22:25 +0000)]
Merge "Make DPM.clearProfileOwner() public."

8 years agoMerge changes I80100f39,I4b39c1c4,I65ce9a23,I5094a137,Id898752f, ...
Jorim Jaggi [Wed, 27 Jan 2016 22:23:39 +0000 (22:23 +0000)]
Merge changes I80100f39,I4b39c1c4,I65ce9a23,I5094a137,Id898752f, ...

* changes:
  Make sure SysUI is not constantly redrawing status bar
  Fix app staying in drag resizing when undocking
  Fix flicker when dismissing non-docked stack
  Start drawing immediately
  Improve dismiss/scrolling handling in recents
  Dim harder when dismissing

8 years ago[DO NOT MERGE ANYWHERE]: Allow button events in ambient.
Joe LaPenna [Fri, 22 Jan 2016 15:11:49 +0000 (07:11 -0800)]
[DO NOT MERGE ANYWHERE]: Allow button events in ambient.

See thread: "key presses & Ambient"

BUG: 25964771
BUG: 26524301

Change-Id: I914edd447c38678a06d27677be4597c0ee384635

8 years agoMerge "Added more granular states to DATA_CHANNEL_STATE"
Ta-wei Yen [Wed, 27 Jan 2016 22:18:23 +0000 (22:18 +0000)]
Merge "Added more granular states to DATA_CHANNEL_STATE"

8 years agoMerge "AudioFormat: add ENCODING_IEC61937"
Phil Burk [Wed, 27 Jan 2016 22:17:53 +0000 (22:17 +0000)]
Merge "AudioFormat: add ENCODING_IEC61937"

8 years agoMerge "Add new public API to allow call screening"
Sailesh Nepal [Wed, 27 Jan 2016 22:16:59 +0000 (22:16 +0000)]
Merge "Add new public API to allow call screening"

8 years agoMake sure SysUI is not constantly redrawing status bar
Jorim Jaggi [Wed, 27 Jan 2016 22:16:21 +0000 (14:16 -0800)]
Make sure SysUI is not constantly redrawing status bar

When status bar was collapsed, bounds were negative thus triggering
a infinite draw loop.

Change-Id: I80100f394fa5e0dd5858569f9535563eac3aeeb4

8 years agoMerge "Expose a meta-data value to allow dialer ringing"
Sailesh Nepal [Wed, 27 Jan 2016 22:15:48 +0000 (22:15 +0000)]
Merge "Expose a meta-data value to allow dialer ringing"

8 years agoAudioFormat: add ENCODING_IEC61937
Phil Burk [Wed, 27 Jan 2016 19:45:06 +0000 (11:45 -0800)]
AudioFormat: add ENCODING_IEC61937

Allows applications to wrap compressed audio in a PCM
stream and pass through directly to HDMI output.

Bug: 24541671
Bug: 20891646
Bug: 26373761
Change-Id: I67a25672a3b5066b5747380d013c26e60c14c272
Signed-off-by: Phil Burk <philburk@google.com>
8 years agoMake DPM.clearProfileOwner() public.
Makoto Onuki [Wed, 27 Jan 2016 21:49:19 +0000 (13:49 -0800)]
Make DPM.clearProfileOwner() public.

Bug 26827204

Change-Id: Ib32e5370b493aa3e36b869d9ed3d78782df4c895

8 years agoMerge "[RenderScript] Implement APIs for better multi-frame process support." am...
Miao Wang [Wed, 27 Jan 2016 22:02:17 +0000 (22:02 +0000)]
Merge "[RenderScript] Implement APIs for better multi-frame process support." am: 6ebdbfa549
am: d90b4a3266

* commit 'd90b4a3266ab2af3cbc6f131a0ed320f7a795a09':
  [RenderScript] Implement APIs for better multi-frame process support.

8 years agoMerge "Add KEY_VVM_PREFETCH_BOOLEAN to CarrierConfigManager"
Ta-wei Yen [Wed, 27 Jan 2016 22:00:27 +0000 (22:00 +0000)]
Merge "Add KEY_VVM_PREFETCH_BOOLEAN to CarrierConfigManager"

8 years agoFix app staying in drag resizing when undocking
Jorim Jaggi [Wed, 27 Jan 2016 10:10:08 +0000 (02:10 -0800)]
Fix app staying in drag resizing when undocking

When dismissing the docked stack, the fullscreen stack stayed in drag
resize mode because it got a relayout, but because the bounds didn't
change (it switches to the fullscreen layout a bit earlier) it never
called WM.relayoutWindow, so it stayed in drag resize mode indefinitely.

To fix this, introduce forceRelayout in Window.resized(), which makes
sure the client always calls relayoutWindow. Set this to true whenever
drag resizing is changing.

For some very weird reason this also broke that home button was not
responding anymore.

Bug: 26806532
Change-Id: I4b39c1c419a166aa7093c31226f2a4915f642328

8 years agoFix flicker when dismissing non-docked stack
Jorim Jaggi [Wed, 27 Jan 2016 09:01:06 +0000 (01:01 -0800)]
Fix flicker when dismissing non-docked stack

Because the right/bottom side of divider moves offscreen when dismissing non
docked stack, it results in empty bounds which then results in window manager
thinking the just dismissed activity is fullscreen, which leads to a black
flicker. Make sure not to calculate garbage when calculating the bounds for the
non-docked stack.

Bug: 26070457
Change-Id: I65ce9a23dc216971a3ae4df8058d5b86b1b792a5

8 years agoAdd new public API to allow call screening
Sailesh Nepal [Mon, 25 Jan 2016 02:21:53 +0000 (18:21 -0800)]
Add new public API to allow call screening

This CL adds a new service that the default dialer can implement to
screen incoming calls.

If the service is implemented then Telecom uses it to decide if a call
should be shown to the user or rejected.

Note, I initially tried to simply extend InCallService instead of
creating a whole new service. The problem with this approach is that:
  - this breaks some in call services which show UI as soon as they are
    bound to
  - the in call service lifecycle is tightly coupled to adding and
    removing calls. Call screening happens before a call is added which
    makes it a bad fit to in call service
  - call screening is a function of only the default dialer's in call
    service but the existing code also binds to "controller" call
    services

For these reasons it seemed simpler to just create a new optional
service.

BUG: 22857261
Change-Id: I53f2ef93360e0af19b6ce45af21026be6cf3a7f3

8 years agoMerge "Fix SoundTriggerModel uses to GenericSoundModel."
Arunesh Mishra [Wed, 27 Jan 2016 21:49:58 +0000 (21:49 +0000)]
Merge "Fix SoundTriggerModel uses to GenericSoundModel."

8 years agoStart drawing immediately
Jorim Jaggi [Wed, 27 Jan 2016 02:48:44 +0000 (18:48 -0800)]
Start drawing immediately

We used to have a condition to start drawing only in the second traversal,
which added a delay of about 10-15ms. We believe that we don't need this
anymore, because we have other means of synchronizing the app transition
animation with the app drawing - we wait for all surfaces to be drawn
in window manager.

Bug: 21035872
Change-Id: I5094a1377817dc7e0a2392cc8f522e99cd7b4d6e

8 years agoImprove dismiss/scrolling handling in recents
Jorim Jaggi [Wed, 27 Jan 2016 02:34:13 +0000 (18:34 -0800)]
Improve dismiss/scrolling handling in recents

Make sure to only enter dismiss mode if xDiff is bigger than yDiff,
and only start scrolling if yDiff is bigger than xDiff.

Change-Id: Id898752ff7a08df549e234678aed0dad074b202d

8 years agoDim harder when dismissing
Jorim Jaggi [Tue, 26 Jan 2016 03:45:42 +0000 (19:45 -0800)]
Dim harder when dismissing

Also fix a bug when selecting the dim target stack.

Change-Id: Id9d5e28caf5e810c7eef1e3b0fd7a9f945f8d146

8 years agoMerge "[RenderScript] Implement APIs for better multi-frame process support."
Miao Wang [Wed, 27 Jan 2016 21:43:27 +0000 (21:43 +0000)]
Merge "[RenderScript] Implement APIs for better multi-frame process support."
am: 6ebdbfa549

* commit '6ebdbfa5498c486a96f2b8b07858eb1a25a6d08a':
  [RenderScript] Implement APIs for better multi-frame process support.

8 years agoMerge "media: define vp9 profile and level"
Ronghua Wu [Wed, 27 Jan 2016 21:37:59 +0000 (21:37 +0000)]
Merge "media: define vp9 profile and level"

8 years agoFix SoundTriggerModel uses to GenericSoundModel.
Arunesh Mishra [Wed, 27 Jan 2016 21:29:12 +0000 (13:29 -0800)]
Fix SoundTriggerModel uses to GenericSoundModel.

Change-Id: I30308b39536864d7b9640367861730e3b1b12129

8 years agoMerge "[RenderScript] Implement APIs for better multi-frame process support."
Miao Wang [Wed, 27 Jan 2016 21:30:00 +0000 (21:30 +0000)]
Merge "[RenderScript] Implement APIs for better multi-frame process support."

8 years agoMerge "PowerManager: Adds the Sustained performance API."
Ruchi Kandoi [Wed, 27 Jan 2016 21:21:06 +0000 (21:21 +0000)]
Merge "PowerManager: Adds the Sustained performance API."

8 years agoPowerManager: Adds the Sustained performance API.
Ruchi Kandoi [Tue, 12 Jan 2016 22:39:24 +0000 (14:39 -0800)]
PowerManager: Adds the Sustained performance API.

Adds a new type of wakelock - SUSTAINED_PERFORMANCE_WAKELOCK. This
wakelock can only be acquired when the application is in the foreground.
And it is not effective when the application is no longer in the
foreground.

Acquiring this wakelock enables the Sustained performance mode which
guarantees a certain level of performance.

Bug: 22864186

Change-Id: Id0ececc756fe014779db6efde7aede23ea181dc5
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
8 years agoMerge "IBluetooth: remove dump(), support arguments" am: d63847a866
Marie Janssen [Wed, 27 Jan 2016 21:04:14 +0000 (21:04 +0000)]
Merge "IBluetooth: remove dump(), support arguments" am: d63847a866
am: f3c5230bf3  -s ours

* commit 'f3c5230bf36401e9c8be718a9f2e620ba77e55bd':
  IBluetooth: remove dump(), support arguments

8 years agoMerge "Add policy for enforcing that all users are ephemeral."
Lenka Trochtova [Wed, 27 Jan 2016 20:58:55 +0000 (20:58 +0000)]
Merge "Add policy for enforcing that all users are ephemeral."

8 years agoMerge "SoundTrigger API improvements."
Arunesh Mishra [Wed, 27 Jan 2016 20:57:18 +0000 (20:57 +0000)]
Merge "SoundTrigger API improvements."

8 years agoMerge "Remove the unused Looper param from Tethering constructor."
Jeremy Klein [Wed, 27 Jan 2016 20:54:01 +0000 (20:54 +0000)]
Merge "Remove the unused Looper param from Tethering constructor."

8 years agoMerge "IBluetooth: remove dump(), support arguments"
Marie Janssen [Wed, 27 Jan 2016 20:49:55 +0000 (20:49 +0000)]
Merge "IBluetooth: remove dump(), support arguments"
am: d63847a866

* commit 'd63847a86680df271cc518a6baaac30a7e07c9f5':
  IBluetooth: remove dump(), support arguments

8 years agoSoundTrigger API improvements.
Arunesh Mishra [Mon, 25 Jan 2016 18:33:11 +0000 (10:33 -0800)]
SoundTrigger API improvements.

This CL implements the SoundTrigger API improvements as given in b/22860713. Only the java-level
parts are implemented in this CL.

Key changes include:

* Addition of a SoundTriggerManager/SoundTriggerDetector system API to manage
  the sound-trigger based sound models.
* Addition of a SoundTriggerService service that manages all sound models
  including voice (keyphrase) and sound-trigger based models.
* Includes logic to write sound-trigger based models to the database.
* VoiceInteractionManager service now uses SoundTriggerService instead of
  SoundTriggerHelper.

Bug: 22860713
Change-Id: I7b5c0ed80702527c4460372efeb5e542d3693a69

8 years agoMerge "IBluetooth: remove dump(), support arguments"
Marie Janssen [Wed, 27 Jan 2016 20:42:07 +0000 (20:42 +0000)]
Merge "IBluetooth: remove dump(), support arguments"

8 years agoMerge "Add WorkSource to BLE scanning API"
Adam Lesinski [Wed, 27 Jan 2016 20:41:45 +0000 (20:41 +0000)]
Merge "Add WorkSource to BLE scanning API"

8 years agoMerge "Add data disabled icon"
Jason Monk [Wed, 27 Jan 2016 20:34:28 +0000 (20:34 +0000)]
Merge "Add data disabled icon"

8 years agoAdd data disabled icon
Jason Monk [Wed, 27 Jan 2016 20:18:41 +0000 (15:18 -0500)]
Add data disabled icon

Change-Id: Ic6d7c367e99a9460a42d9eaab062c73a75c292fd

8 years agomedia: define vp9 profile and level
Ronghua Wu [Wed, 20 Jan 2016 18:35:17 +0000 (10:35 -0800)]
media: define vp9 profile and level

Bug: 25684127
Change-Id: I806f87847e0c75c3a39cea0c5ffcc3df28d60a75

8 years agoNeed to call getApplicationInfo from System id
Carlos Valdivia [Wed, 27 Jan 2016 20:16:25 +0000 (12:16 -0800)]
Need to call getApplicationInfo from System id

Otherwise it trys to enforce INTERACT_ACROSS_USERs when a package is in
a different INTERACT_ACROSS_USERs. Still figuring out why this is
triggering for the regular getApplicationInfo call.

Change-Id: I9b07646aeaf35e2db4a6849e217129077b50b624

8 years agoAdd policy for enforcing that all users are ephemeral.
Lenka Trochtova [Thu, 7 Jan 2016 16:20:34 +0000 (17:20 +0100)]
Add policy for enforcing that all users are ephemeral.

BUG: 24883058

Change-Id: I8e53ca677c935a6c828dd6ece00b345d0eff182a

8 years agoMerge "Remove variants of "show/hide" internal storage string."
Steve McKay [Wed, 27 Jan 2016 19:47:50 +0000 (19:47 +0000)]
Merge "Remove variants of "show/hide" internal storage string."

8 years agoMerge "Revert "Eliminate the "productivity_device" setting.""
Steve McKay [Wed, 27 Jan 2016 19:25:07 +0000 (19:25 +0000)]
Merge "Revert "Eliminate the "productivity_device" setting.""

8 years agoRevert "Eliminate the "productivity_device" setting."
Steve McKay [Wed, 27 Jan 2016 19:24:25 +0000 (19:24 +0000)]
Revert "Eliminate the "productivity_device" setting."

This reverts commit d0a0fc2cd1fbb629f329cf10e0413a674a8e54b6.

Missed a use. Prema-revert.

Change-Id: I6bce595646e2e2bf1e506388a2da9e1cd8f61a09

8 years agoMerge "sysui: refactor NavigationBarInflaterView"
Xiaohui Chen [Wed, 27 Jan 2016 19:19:15 +0000 (19:19 +0000)]
Merge "sysui: refactor NavigationBarInflaterView"

8 years agoMerge "Allow volume dialog dimensions to be customized."
Anthony Chen [Wed, 27 Jan 2016 19:15:54 +0000 (19:15 +0000)]
Merge "Allow volume dialog dimensions to be customized."

8 years agoAllow volume dialog dimensions to be customized.
Anthony Chen [Tue, 26 Jan 2016 23:34:12 +0000 (15:34 -0800)]
Allow volume dialog dimensions to be customized.

The volume dialog originally had the same dimensions as the regular
notification panel. However, Android Auto wants a larger dialog. As a
result, separate out the icon size and dialog size so that they can be
customized.

Change-Id: Idcaf94d64bcd5ce7d8f6f0ad5da916cf7226a527

8 years agoMerge "move framework metrics over to new proto"
Chris Wren [Wed, 27 Jan 2016 19:02:14 +0000 (19:02 +0000)]
Merge "move framework metrics over to new proto"

8 years agosysui: refactor NavigationBarInflaterView
Xiaohui Chen [Mon, 25 Jan 2016 19:11:11 +0000 (11:11 -0800)]
sysui: refactor NavigationBarInflaterView

Bug: 26742568
Change-Id: Id0cb541c39457b3d15b09c98552a22e2d533102d