6694 Commits

Author SHA1 Message Date
RoboErik
3f32ef550e am 668885a4: Merge "Add Session API calls to RCC and AudioManager"
* commit '668885a41af63ed7a889e7fb2fa939f5ce3150c6':
  Add Session API calls to RCC and AudioManager
2014-05-01 17:20:26 +00:00
RoboErik
6e6a6e863d Merge "Add Session API calls to RCC and AudioManager" 2014-05-01 17:14:56 +00:00
RoboErik
f1372428f2 Add Session API calls to RCC and AudioManager
This makes RCC and MediaButtonReceiver (via AudioManager) also use the new Session APIs in parallel to their existing code. This will allow us to bring up the Session compatibility pieces without disrupting the old behavior and then switch everything over to just using the new APIs when ready.

Change-Id: I33ce0a044dea3ec763f2302b91a5e415be27d4a4
2014-05-01 17:14:01 +00:00
Nicolas Prevot
6483a805d4 am 4cd07224: Merge "Introduce forwarding intents across profiles."
* commit '4cd07224df582d6b6f9be5b1d04ab65bbd00d3f7':
  Introduce forwarding intents across profiles.
2014-05-01 09:20:35 +00:00
Nicolas Prevot
ff2e05e1f6 Merge "Introduce forwarding intents across profiles." 2014-05-01 09:17:13 +00:00
Nicolas Prevot
10fa67c77e Introduce forwarding intents across profiles.
The package manager service maintains, for some user ids, a list of forwarding intent filters.
A forwarding intent filter is an intent filter with a destination (a user id).
If an intent matches the forwarding intent filter, then activities in the destination can also respond to the intent.

When the package manager service is asked for components that resolve an intent:
If the intent matches the forwarding intent filter, and at least one activity in the destination user can respond to the intent:
The package manager service also returns the IntentForwarderActivity.
This activity will forward the intent to the destination.

Change-Id: Id8957de3e4a4fdbc1e0dea073eadb45e04ef985a
2014-04-30 19:24:52 +01:00
Kenny Guy
76f08ee7df am 56afa6d5: Merge "Extend LauncherApps service to expose enabled state."
* commit '56afa6d53216541aa397b051ab74c130f488cd96':
  Extend LauncherApps service to expose enabled state.
2014-04-30 17:39:33 +00:00
Kenny Guy
7e5264ced7 Merge "Extend LauncherApps service to expose enabled state." 2014-04-30 17:38:10 +00:00
George Mount
3ee5f40da2 am 8721a548: Merge "Add mechanism for Transitions to target a class."
* commit '8721a548c13281b4e603db88791d90141acac65c':
  Add mechanism for Transitions to target a class.
2014-04-29 21:33:28 +00:00
George Mount
97ff65442a am f1526de2: Merge "Transfer image of shared element to launched Activity."
* commit 'f1526de298e4bfbf1378ba70e04f88286b2f5594':
  Transfer image of shared element to launched Activity.
2014-04-29 21:33:25 +00:00
George Mount
989a4e9b13 Merge "Add mechanism for Transitions to target a class." 2014-04-29 21:30:37 +00:00
George Mount
f31d367a5c Merge "Transfer image of shared element to launched Activity." 2014-04-29 21:30:27 +00:00
George Mount
96829515c4 am d7fe8929: Merge "Add Transform and ClipBounds Transitions."
* commit 'd7fe8929426453ac0fa22cca6b92f2a77c8f340d':
  Add Transform and ClipBounds Transitions.
2014-04-29 20:58:35 +00:00
George Mount
b061087212 Merge "Add Transform and ClipBounds Transitions." 2014-04-29 20:56:18 +00:00
George Mount
430f910f37 am cb9f337a: Merge "Add ability to exclude Views in transition XML."
* commit 'cb9f337af3994a4424ca305258bcde8518b9cb40':
  Add ability to exclude Views in transition XML.
2014-04-29 20:54:42 +00:00
George Mount
6eb2bc52a5 Merge "Add ability to exclude Views in transition XML." 2014-04-29 20:49:26 +00:00
Jae Seo
ed18089025 am c1201aa5: Merge "Add more URI patterns for accessing TV metadata"
* commit 'c1201aa56381a548c4d7ce80e7ad47fd832699f0':
  Add more URI patterns for accessing TV metadata
2014-04-29 20:25:57 +00:00
Jae Seo
994925d666 Merge "Add more URI patterns for accessing TV metadata" 2014-04-29 20:21:51 +00:00
George Mount
a98fb7ab6a Add mechanism for Transitions to target a class.
Bug 14289299

Added ability to target a specific class similarly to the
mechanism for excluding a specific class in Transitions.
Also changed XML tag from excludeTargetId to excludeId to
make it symmetric with excludeClass.

Change-Id: Ib371820ec75761243e75b659565b905b1b19c9a2
2014-04-29 13:08:39 -07:00
George Mount
caa03107d4 Transfer image of shared element to launched Activity.
First pass of the API will use a Bitmap. Future versions will use
more efficient mechanisms.

Change-Id: I111474dd031fef0b86de871017c85dc679166acf
2014-04-29 13:08:37 -07:00
George Mount
608b87d9e5 Add Transform and ClipBounds Transitions.
Made MoveImage use an overlay view. Drawables
cover all Views in the overlay and there may
be a desire to order the overlays.

Change-Id: Ic7b81f0d26d8cce3f475c2eebbce01538bc55d46
2014-04-29 13:08:35 -07:00
George Mount
f976c3d42b Add ability to exclude Views in transition XML.
Bug 14259955

Change-Id: I47bb10c530c9fec8910ddd96156fc38d6027e1f6
2014-04-29 13:08:33 -07:00
Chris Craik
fd82eeef32 am c011558a: Merge "Add Z property to View"
* commit 'c011558a90329731e87d3eaf25af15b452001c4e':
  Add Z property to View
2014-04-29 19:29:16 +00:00
Chris Craik
f38475bc28 Merge "Add Z property to View" 2014-04-29 19:24:47 +00:00
Kenny Guy
53fa4ec7f4 Extend LauncherApps service to expose enabled state.
Provide methods for checking if a package or activity
is enabled for a given profile.

Change-Id: If9cb15dc9398a709e60e7b689b664c24c49fcc16
2014-04-29 19:28:31 +01:00
Jae Seo
e115c5ec83 am 6b60d5ea: Merge "Dispatch input events to the TV input"
* commit '6b60d5ea3df01024069f8f7374251e0e2eee1e47':
  Dispatch input events to the TV input
2014-04-29 07:35:29 +00:00
Jae Seo
19db0f036a Merge "Dispatch input events to the TV input" 2014-04-29 06:22:00 +00:00
Jae Seo
6a6059a29e Dispatch input events to the TV input
TvInputManagerService now creates an InputChannel pair and passes one
end to the app and the other end to the service. Then the TvInputManager
in the app creates an InputEventSender around one end of the channel to
send events and the service creates an InputEventReceiver around the
other end of the channel to receive events.
Most of the newly added code here was borrowed heavily from the IME.

Change-Id: I0bd83847cba0033ccb6f4b6dad267ebeaf5e9c7c
2014-04-29 14:18:55 +09:00
Chris Craik
9103e4f748 Add Z property to View
Change-Id: Iff0b2fc616c650c46e5567a1cc81301afffcbfce
2014-04-28 17:00:44 -07:00
Chris Craik
e3bd1a9a25 am dced3e9a: Fix build
* commit 'dced3e9a8b0bd01d5605a2592304f091fc0b8aab':
  Fix build
2014-04-28 23:43:56 +00:00
Chris Craik
5830df4d59 Fix build
Change-Id: I4f55b27425899f25cb22d4466e3413ad27b5a302
2014-04-28 16:38:31 -07:00
Jae Seo
cdf6bd22e0 Add more URI patterns for accessing TV metadata
The following URI patterns are added:
  content://com.android.tv/input/*/*/channel
  content://com.android.tv/input/*/*/channel?browsable_only=
  content://com.android.tv/channel/#/program
  content://com.android.tv/channel/#/program?start_time=&end_time=

This allows us to disable user-provided selection on query/delete/update to help
avoid SQL injection.

Bug: 14133838
Change-Id: I6c86ac33cb5bc8aaa5248a80ed0f0fe0899a15b8
2014-04-29 08:28:44 +09:00
Chris Craik
ceeccd434c am 40310481: Merge "Add elevation, Z properties to View"
* commit '403104813cb424ae28df6b4245bafaab21969917':
  Add elevation, Z properties to View
2014-04-28 23:07:59 +00:00
Chris Craik
139349b7de Merge "Add elevation, Z properties to View" 2014-04-28 23:03:42 +00:00
Chris Craik
cc39e16cb9 Add elevation, Z properties to View
Change-Id: I3dd3b683a66e248a0fdf2ca69d1e962615b0daf9
2014-04-28 14:33:33 -07:00
Yorke Lee
fedd55a424 am a6521d78: Merge "Add setOverlay method to QuickContactsBadge"
* commit 'a6521d78a4ce3c273b241eed214c85ec12a30d32':
  Add setOverlay method to QuickContactsBadge
2014-04-28 21:31:31 +00:00
Yorke Lee
2e9c300b91 Merge "Add setOverlay method to QuickContactsBadge" 2014-04-28 21:24:21 +00:00
Yorke Lee
a702ccdf9f Add setOverlay method to QuickContactsBadge
Allow apps to disable/configure their own overlay to be used
on the QuickContactsBadge

Bug: 13747208

Change-Id: Id84c6ee1ebde6ce17477c12d22522ca19c27ea9b
2014-04-28 13:57:04 -07:00
Alan Viverette
5f1e58eafa am 5cabee8e: Make switchStyle public
* commit '5cabee8e3f636e471fc02d49e12d009b7fa20804':
  Make switchStyle public
2014-04-28 20:38:11 +00:00
Dianne Hackborn
99a58b0e3a am c60f1877: Merge "Rework some of the voice interaction APIs."
* commit 'c60f1877896e795a6add525ee36770e3aa77dc29':
  Rework some of the voice interaction APIs.
2014-04-28 20:37:33 +00:00
Alan Viverette
5ec00ab05c Make switchStyle public
Change-Id: I4960c4ebeb3db09b3d716330b33639c865d37490
2014-04-28 12:39:15 -07:00
Dianne Hackborn
18f0d357f9 Rework some of the voice interaction APIs.
On the app side, requests are now composed by subclassing
from various types of Request objects.

On the service side, starting a voice interaction session
involves starting another service that will then manage the
session.  This leads the service design much more to what
we want, where the long-running main service is very tiny
and all the heavy-weight transient session work is elsewhere
in another process.

Change-Id: I46c074c6fe27b6c1cf2583c6d216aed1de2f1143
2014-04-28 10:54:15 -07:00
Jim Miller
370ff853fa am 96ac3f1e: Fix doc build.
* commit '96ac3f1e4ba9f1c549811c1f3421e636bb501c15':
  Fix doc build.
2014-04-28 03:16:53 +00:00
Jim Miller
df2258be5b Fix doc build.
We probably don't need to deprecate this constant.  It can still be used
by partner devices if they choose to continue to support widgets.

Change-Id: Ie8c33446e0c5c32d96ed0670df1772adedf6a5de
2014-04-27 20:11:44 -07:00
Chris Craik
a398539879 am 79d9d187: Merge "Support Oval GradientDrawable outlines, and ShapeDrawable"
* commit '79d9d187ffbcbbbe1bf19e82606a92c0f5222c2b':
  Support Oval GradientDrawable outlines, and ShapeDrawable
2014-04-26 02:02:29 +00:00
Chris Craik
6689c9700d Merge "Support Oval GradientDrawable outlines, and ShapeDrawable" 2014-04-26 01:59:00 +00:00
Jim Miller
953c4e04fa am 427b7fb5: Merge "Add new DevicePolicyManager disable flags for keyguard."
* commit '427b7fb50b5c2c8f38612a74a7c46ff056e22e68':
  Add new DevicePolicyManager disable flags for keyguard.
2014-04-26 00:35:45 +00:00
Jim Miller
66fbe3dc81 Merge "Add new DevicePolicyManager disable flags for keyguard." 2014-04-26 00:28:44 +00:00
Chris Craik
7979388d4f Support Oval GradientDrawable outlines, and ShapeDrawable
Change-Id: Ifc9e55757d3325cb28a1a812ec696512d4a18b39
2014-04-25 15:59:47 -07:00
Kenny Guy
58b305bb00 am 0ec41abf: Merge "Provide access to ActivityInfo.name from LauncherActivityInfo"
* commit '0ec41abf20df9c27cd995b8ca22fa709aff4434b':
  Provide access to ActivityInfo.name from LauncherActivityInfo
2014-04-25 20:33:55 +00:00