Commit Graph

8448 Commits

Author SHA1 Message Date
Adam Lesinski
2586c89656 am 0bb27d84: am ed9be6fb: am 38daa3c5: Merge "Second iteration of the UsageStats API" into lmp-dev
* commit '0bb27d848264459c08f3d81406edb591c54aad87':
  Second iteration of the UsageStats API
2014-08-08 22:49:43 +00:00
Sandeep Siddhartha
eaaaab8165 am 7a1f38c6: am eb2af5c2: am 0edd1360: Merge "Add the capture session (and its availability) in the EventPayload" into lmp-dev
* commit '7a1f38c6ab92d0600d533996ed976fd9fb7ba0b8':
  Add the capture session (and its availability) in the EventPayload
2014-08-08 22:37:53 +00:00
Svetoslav
4412771589 am 01c2a68a: am 32c7fd28: am 3b94d0d8: Merge "Polish the new cross-profile app widget APIs" into lmp-dev
* commit '01c2a68a4ebdc01ff8bc4c6789f3d99ce997d82a':
  Polish the new cross-profile app widget APIs
2014-08-08 21:24:52 +00:00
ztenghui
f0d5c7bc5a am c04a21f8: am bbbe3d7b: am 6ab0f21f: Merge "Update attrs / public.xml for VectorDrawable opacity removal" into lmp-dev
* commit 'c04a21f84b466ea54d46f4fd3bb26fb0b7c6f90c':
  Update attrs / public.xml for VectorDrawable opacity removal
2014-08-08 21:16:51 +00:00
Winson Chung
265b6fc548 am 8aa64bdf: am 0ecbe9d6: am 14176afa: Merge "Exposing taskDescription for apps to read from their own AppTasks. (Bug 16826622)" into lmp-dev
* commit '8aa64bdf9fb4d37fda6590b709f63204693bde17':
  Exposing taskDescription for apps to read from their own AppTasks. (Bug 16826622)
2014-08-08 21:06:14 +00:00
John Spurlock
df6a28475b am ba5c934c: am fa8faa9b: am 508dc373: Merge "New api to sync zen mode state from listeners." into lmp-dev
* commit 'ba5c934c7e3562df7492b77ecb7904847011eedf':
  New api to sync zen mode state from listeners.
2014-08-08 20:25:07 +00:00
Adam Lesinski
81f6d857c1 Merge "Second iteration of the UsageStats API" into lmp-dev 2014-08-08 18:15:47 +00:00
Adam Lesinski
3516800b61 Second iteration of the UsageStats API
Based on feedback from API council, updated the API.
Also added support for querying the event log.

Change-Id: Ibaa008b9e5bd145acdfe8e20c25c2ed2d96be123
2014-08-08 12:08:15 -07:00
John Spurlock
5c8ea2c369 Merge "New api to sync zen mode state from listeners." into lmp-dev 2014-08-08 18:15:47 +00:00
RoboErik
c660d0266c am 7e63287b: am 7a312929: am 6ac104ce: Merge "Combine MediaSession Callback and TransportControlsCallback" into lmp-dev
* commit '7e63287b7d1732df3015d102b508fff9eb3a3afd':
  Combine MediaSession Callback and TransportControlsCallback
2014-08-08 17:52:46 +00:00
RoboErik
5ee166565c am aa69645e: am d5a2bc2d: am b64e9e56: Unhide MediaMetadata.Description
* commit 'aa69645edfab276c4884a5d78331f92c35858a81':
  Unhide MediaMetadata.Description
2014-08-08 17:47:51 +00:00
ztenghui
61a6184681 Merge "Update attrs / public.xml for VectorDrawable opacity removal" into lmp-dev 2014-08-08 17:26:08 +00:00
ztenghui
d0d0f1ff59 Update attrs / public.xml for VectorDrawable opacity removal
bug:16850076

Change-Id: Ib6fea828b14e85cacccc8a901227a8fb068f9121
2014-08-08 19:48:36 +00:00
RoboErik
6d9fe654b5 Merge "Combine MediaSession Callback and TransportControlsCallback" into lmp-dev 2014-08-08 17:26:08 +00:00
RoboErik
67098d0963 Unhide MediaMetadata.Description
This unhides the method and inner class for getting a small version
of the metadata for display.

Change-Id: I22f484cecd5f0630ac22bb648baad842d211d135
2014-08-08 17:16:37 +00:00
Winson Chung
4f70cacd45 Merge "Exposing taskDescription for apps to read from their own AppTasks. (Bug 16826622)" into lmp-dev 2014-08-08 16:09:03 +00:00
Winson Chung
e9217a0729 Exposing taskDescription for apps to read from their own AppTasks. (Bug 16826622) 2014-08-08 11:27:41 -07:00
Dan Sandler
3487508f8f am a3108454: am 41c58fcd: am b3bf3230: Publicize Material notification text styles.
* commit 'a310845481e6db9b5ed61ab75af1d7e7d702690e':
  Publicize Material notification text styles.
2014-08-08 13:25:20 +00:00
Dan Sandler
dd06d04064 Publicize Material notification text styles.
Important for anyone attempting to make custom content views
that match the Material style of Builder-created
notifications.

Bug: 16520833
Change-Id: Ifc6c54cc50aaceed252dfbab7459b15216d53df1
2014-08-08 09:01:50 -04:00
Adam Powell
c4ce10c766 am a7c71afd: am 5a3081cb: am f16d870f: Merge "Un-hide WindowInsets#isConsumed" into lmp-dev
* commit 'a7c71afdcde11a01310e0da58244103e1f9ef313':
  Un-hide WindowInsets#isConsumed
2014-08-08 04:09:57 +00:00
Raph Levien
bd7959f554 am 5966b802: am cf4e6098: am 922ce8a7: Make letterSpacing and fontFeatureSettings public
* commit '5966b802f31becfa10f2cbf6d695dfbd497a01d5':
  Make letterSpacing and fontFeatureSettings public
2014-08-08 04:09:43 +00:00
Alan Viverette
0131545c27 am db414347: am fd02efc4: am 6f1efdb8: Add insets to dialog background
* commit 'db414347e0507dc68456649ef5aa73953aa3d5aa':
  Add insets to dialog background
2014-08-08 04:09:28 +00:00
Jeff Sharkey
f29e31a78e am b9f4f995: am ab65680e: am 393a0e2b: Logic to confirm uninstalls.
* commit 'b9f4f995a1ecfee05248a19a5cf8bf3be961f95b':
  Logic to confirm uninstalls.
2014-08-08 03:20:35 +00:00
Nancy Chen
4a4a11dc4f am f2ce43c4: am f7a93289: am 0893aadf: Add "CONNECTING" state for before outgoing call broadcast returns
* commit 'f2ce43c403c17eb2c96347893779ba5062fe9578':
  Add "CONNECTING" state for before outgoing call broadcast returns
2014-08-08 02:25:58 +00:00
ztenghui
6de50540e4 am 8598b11f: am 1acf763b: am b236c8b1: Removing fill and stroke opacity
* commit '8598b11f4b9b7c0b57d83dbe01c839cf41874e09':
  Removing fill and stroke opacity
2014-08-08 02:25:18 +00:00
Jeff Sharkey
ed999b7737 am 4c1e5544: am 736d597e: am f6f6798c: Logic to confirm permissions on install sessions.
* commit '4c1e554465b6fc2289b791fb571b7c59832897a0':
  Logic to confirm permissions on install sessions.
2014-08-08 02:25:01 +00:00
Adam Powell
49c50729a7 am 326f7c87: am e45b2db3: am 886f54b5: Add AbsListView#fling
* commit '326f7c8722850e0c65285de31b54b69fddf74292':
  Add AbsListView#fling
2014-08-08 02:23:57 +00:00
Michael Wright
cd0e704bb5 am 8f32bb1e: am 44af6db6: am 97b2b671: Allow media projections to create public presentations.
* commit '8f32bb1e7ad2d5690c0328e6d38bce6841a6059b':
  Allow media projections to create public presentations.
2014-08-08 02:22:43 +00:00
Sandeep Siddhartha
140dd87333 am 22a3c9e6: am 9ac2891f: am 53f4a335: Merge "Handle microphone contention/Phone calls while recognition is active" into lmp-dev
* commit '22a3c9e6d899197f772837dabb810a539d3782ac':
  Handle microphone contention/Phone calls while recognition is active
2014-08-08 02:21:46 +00:00
Raph Levien
e272a26de1 Make letterSpacing and fontFeatureSettings public
We added APIs and TextView xml attributes to give access to letter
spacing and OpenType features. This patch makes these changes part of
the public API.

Bug: 15246510
Bug: 15594400

Change-Id: I7a54cb0da2746304a5c72a687612a279cac652e0
2014-08-07 18:37:16 -07:00
Alan Viverette
4afbbfd547 Add insets to dialog background
Also adds inset attribute to InsetDrawable to control all four insets.

BUG: 16868069
Change-Id: I909d05a6dc69747e9092e9ac34551b18d70d2b9f
2014-08-08 01:06:26 +00:00
Jeff Sharkey
f060095423 Logic to confirm uninstalls.
Prompt user for confirmation when caller doesn't have DELETE_PACKAGES
permission.  Also extend uninstall events to return failure codes.

Bug: 16515814
Change-Id: I15b52190ff02dbeaaf038b92364264f64c57ba89
2014-08-08 00:45:20 +00:00
RoboErik
477d1197c3 Combine MediaSession Callback and TransportControlsCallback
This combines them into a single Callback class and adds default
handling to media buttons to check the available actions and call
one of the other methods if appropriate.

Change-Id: If9897d8cf6d8d8046aa85a646c22382f1db1461b
2014-08-07 16:54:52 -07:00
Nancy Chen
e20930fc56 Add "CONNECTING" state for before outgoing call broadcast returns
Immediately add a call to Telecomm before the outgoing call broadcast
intent returns, this will reduce the latency for the InCallUI by
allowing the InCallActivity to start before Telecomm has responded.

Bug: 16396523
Change-Id: Iada2a6bdb803794a765b81edb2dfb0953445ae43
2014-08-07 16:39:04 -07:00
ztenghui
f143ae8ffe Removing fill and stroke opacity
bug:16850076

attrs/public.xml update will be separated for build break friday.

Change-Id: I5863193d5fecd7e210bd6db5294868f1a70e0d2f
2014-08-07 22:48:46 +00:00
Jeff Sharkey
7328a1b39b Logic to confirm permissions on install sessions.
When an app without INSTALL permission attempts to commit a session,
we involve user to confirm permissions.  We currently point at the
base APK, which defines all permissions for an app, handling the case
where a session may only be adding splits.

Add failure codes to represent rejection.  Fix bug by ignoring stages
during initial boot scan.

Bug: 16515814
Change-Id: I702bb72445216817bcc62b79c83980c1c2bb0120
2014-08-07 22:40:38 +00:00
Adam Powell
4884c64288 Add AbsListView#fling
ScrollViews can programmatically fling from public API and now
ListViews/GridViews can too. This helps support applications that wish
to propagate flings across scrolling containers as part of nested
scrolling.

Bug 15538504

Change-Id: I0318c6717c7fb8788a006f96c8f8170556dd8b9e
2014-08-07 14:19:25 -07:00
Michael Wright
6720be4e8c Allow media projections to create public presentations.
Change-Id: I3b6e0b54d658352942a38be6a24486bdfc179efd
2014-08-07 20:07:04 +00:00
Sandeep Siddhartha
4f5e1baa11 am 2c28164d: am 84e8121f: am b6c0b037: Merge "Read audio format from the recognition event" into lmp-dev
* commit '2c28164df8c56ff26b4b0f045d40fb756697b44d':
  Read audio format from the recognition event
2014-08-07 19:17:05 +00:00
Svetoslav
7c91b34364 Merge "Polish the new cross-profile app widget APIs" into lmp-dev 2014-08-07 18:49:59 +00:00
Svetoslav
8e1d299da2 Polish the new cross-profile app widget APIs
bug:14991269

Change-Id: I5996f8c69a3d151ff1ecd8f19403dd606f588150
2014-08-08 20:35:59 +00:00
Sandeep Siddhartha
cb4e81c7fe Handle microphone contention/Phone calls while recognition is active
Internally we pause the recognition when:
 - a phone call is active/off-hook/ringing
 - or some other application grabs the microphone

we auto-resume when the condition that caused us to pause reverses.

Both these events are notified to the client via callbacks so that they can choose to display on their UI,
that the recognition is paused for some reason.

Bug: 16515468
Bug: 16740806
Bug: 16514535
Change-Id: Ib274d68522c8cf37d42402c875b16159957657f0
2014-08-07 11:53:02 -07:00
Sandeep Siddhartha
06629c1f2e Merge "Add the capture session (and its availability) in the EventPayload" into lmp-dev 2014-08-07 15:37:25 +00:00
Sandeep Siddhartha
fd7070fdff Add the capture session (and its availability) in the EventPayload
Keep it hidden till the API to start capture using a session isn't public

Bug: 16731718
Change-Id: I112dec307257739ef1e6c5c1e0358b6ecabe9a9e
2014-08-08 15:10:44 -07:00
Adam Powell
82a53881f1 Un-hide WindowInsets#isConsumed
Bug 16874227

Change-Id: I8b6386b46e71a06890cda2d3d6d9278ab35fc700
2014-08-07 18:52:22 -07:00
Sandeep Siddhartha
2178e2e085 Read audio format from the recognition event
Bug: 16549061
Change-Id: I9e418f7be67eb330b7bfaa97bbb90d0b5640469d
2014-08-07 10:48:51 -07:00
Chet Haase
7fb80a7aa5 am f05ef04c: am b965512b: am 95aab922: Allow TimePicker/DatePicker to use legacy layout style
* commit 'f05ef04c0f3707727e458065c8edc54afddabc25':
  Allow TimePicker/DatePicker to use legacy layout style
2014-08-07 14:41:01 +00:00
Chet Haase
3053b2fdcf Allow TimePicker/DatePicker to use legacy layout style
In L, the TimePicker was rewritten to use a clock face and the
DatePicker was rewritten to use a calendar. This
change allows developers to opt into the old style instead
(android:timePickerMode="spinner|clock" and
android:datePickerMode="spinner|calendar").)

Issue #16717952 Pre-L style android.widget.TimePicker on L
Issue #16846963 Allow developer to use legacy DatePicker appearance

Change-Id: I4ee071fcbc5bf25eab83d6a5cb6ff352a603f90a
2014-08-07 14:28:49 +00:00
Jeff Sharkey
89a8afe6ea am 59eeb5fa: am 744e367e: am 197ec8d3: Surface user action events when un/installing.
* commit '59eeb5fa26c0bb7eee513170ccc53d0d040f9d4e':
  Surface user action events when un/installing.
2014-08-07 00:44:22 +00:00
Svetoslav
d97d65900a am a13e3ab6: am 3892dcfb: am f287eb85: Polish of the app widgets cross-profiles feature.
* commit 'a13e3ab6c7621ba7d02941bfd001baa9400af56b':
  Polish of the app widgets cross-profiles feature.
2014-08-07 00:39:40 +00:00