Commit Graph

8419 Commits

Author SHA1 Message Date
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
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
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
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
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
Jeff Sharkey
fbd0e9fa37 Surface user action events when un/installing.
This will be used shortly to connect up with permissions
confirmation UI.

Bug: 16515814
Change-Id: If28cecc28549900d960ac107a1fba0b10ce5bd7b
2014-08-07 00:23:54 +00:00
Svetoslav
c71c42fdb2 Polish of the app widgets cross-profiles feature.
1. Added API for badging an arbitrary drawable at a given location.

2. Updated the icon and previewImage deprecation as they are no longer
   returning a badged drawable. The methods to load the icon and the
   preview are now just making it easier for a developer to get the
   drawables.

3. Fixed a bug in AppWidgetServiceImpl leading to a crash when a user
   is removed.

4. Fixed a bug in AppWidgetHost which was unnecessarily caching its
   package name and having code paths where the cached value was not
   populated when calling into the system.

bug:14991269

Change-Id: I50d011a6597d88814715d5ec04ee67815e8ce0bd
2014-08-07 00:12:27 +00:00
Alan Viverette
c1b3ef4b3f am efb01783: am ddd01c25: am bfe4d0e8: Merge "Separate tint and tintMode properties" into lmp-dev
* commit 'efb01783a6c02b3ca7c49b32523a0f7a9e248178':
  Separate tint and tintMode properties
2014-08-07 00:07:29 +00:00
Yao Chen
eb27106736 am 71e346d3: am a35a9598: am d0b5fc4b: Merge "Adds getServiceComponent() to MediaBrowser, getQueueTitle() and getExtras() to MediaController" into lmp-dev
* commit '71e346d3c1fd841ba545ff817016af7920621aa7':
  Adds getServiceComponent() to MediaBrowser, getQueueTitle() and getExtras() to MediaController
2014-08-06 23:03:27 +00:00
Andrew Lee
67d3b6648f am 0537d25f: am 7850292f: am 630404d9: Merge ""Implement" formerly abstract methods VideoCallProvider." into lmp-dev
* commit '0537d25f2259b58047c183931ecc7d1eec392814':
  "Implement" formerly abstract methods VideoCallProvider.
2014-08-06 23:03:22 +00:00
Alan Viverette
a426445dfd Separate tint and tintMode properties
BUG: 16054922
Change-Id: I820fb857b671faf9eb27612e470e820c5c4cd6b5
2014-08-06 15:42:10 -07:00
Yao Chen
dc33b6170b Merge "Adds getServiceComponent() to MediaBrowser, getQueueTitle() and getExtras() to MediaController" into lmp-dev 2014-08-06 17:19:40 +00:00
Yao Chen
51fdfa273e Adds getServiceComponent() to MediaBrowser, getQueueTitle() and
getExtras() to MediaController

Change-Id: I6092ac1ae05ba55c14a042698bb88bd16e9b1fa7
2014-08-06 14:10:41 -07:00
Santos Cordon
3c694587b7 am d24aaf7a: am 73c3e8da: am b064ed4f: Add setConferenceable() API from ConnectionService to incall. (1/4)
* commit 'd24aaf7a503d44deb92efbcccfb04e36754d5d7e':
  Add setConferenceable() API from ConnectionService to incall. (1/4)
2014-08-06 17:39:23 +00:00
Brian Carlstrom
c3508157b5 am 79e2e45f: am 87e08756: am 0ecd18e2: Remove java.lang.reflect.ArtMethod accidentally added in ad601d76e820ba680b14b7016d2e79763b7f4663
* commit '79e2e45f872f96ca724203cfa9130509ad3ba7c8':
  Remove java.lang.reflect.ArtMethod accidentally added in ad601d76e820ba680b14b7016d2e79763b7f4663
2014-08-06 17:38:56 +00:00
Dongwon Kang
dbd4ad9a68 am 5ae2751e: am 06d5a413: am 098c4716: TIF: make TvInputService.Session class static
* commit '5ae2751e55b95a236debf9a47a748077985339cf':
  TIF: make TvInputService.Session class static
2014-08-06 17:38:18 +00:00
Michael Wright
88f3fbe801 am 9cb04b0f: am 0842ce85: am 104bc43d: Add supported refresh rate to displays
* commit '9cb04b0fd623d43a03f014556d5430394b931b66':
  Add supported refresh rate to displays
2014-08-06 17:38:09 +00:00
Ihab Awad
17b9c63277 am 0c8bc04b: am 85cbfa59: am ad601d76: Finalize implementation of Remote Connection Service (1/4)
* commit '0c8bc04b3f3037d9650608493fa2b42a6ffb4441':
  Finalize implementation of Remote Connection Service (1/4)
2014-08-06 17:37:48 +00:00
Dongwon Kang
f52b49c803 am e5803790: am 984b3948: am 56615c3e: Merge "TIF: Rearchitecting TvInputPassthroughWrapperService." into lmp-dev
* commit 'e5803790c1e6a0a2711910304e901d69f13e6f57':
  TIF: Rearchitecting TvInputPassthroughWrapperService.
2014-08-06 17:36:49 +00:00
Sungsoo Lim
799489fe09 am 4f3ce6d7: am df3f8cf7: am 4755a930: Merge "TIF: Remove countryCode in TvContentRating" into lmp-dev
* commit '4f3ce6d739bbe9e4f999d05ec213b44cd73cc489':
  TIF: Remove countryCode in TvContentRating
2014-08-06 17:36:36 +00:00
Jae Seo
f21ae3cf05 am 20d13a65: am 808f4741: am 98846b0f: Merge "TIF: Make selected tracks identifiable" into lmp-dev
* commit '20d13a653802e132f311a2f9de6a147a34b9f518':
  TIF: Make selected tracks identifiable
2014-08-06 17:34:10 +00:00
Santos Cordon
7c7bc7f691 Add setConferenceable() API from ConnectionService to incall. (1/4)
Change-Id: I64fdca08d35f893d755e3b154543a261b1418343
2014-08-06 03:36:09 -07:00
Brian Carlstrom
40c89a087b Remove java.lang.reflect.ArtMethod accidentally added in ad601d76e820ba680b14b7016d2e79763b7f4663
Change-Id: Ib01118d950e7cfe91c87a34489c51777262125bf
2014-08-05 21:09:29 -07:00
Dongwon Kang
66b9e91801 TIF: make TvInputService.Session class static
This change would make the developers freely extend the Session class
out of the TvInputService class.

Change-Id: I7dc9501c771a6e4dcfcceeb1b294b95e612596eb
2014-08-06 11:15:30 +09:00
Michael Wright
3f145a2f95 Add supported refresh rate to displays
Change-Id: I51231dd6dd231d57dd1ac499349d6335121f07d5
2014-08-06 02:03:49 +00:00
Ihab Awad
5d0410fa7c Finalize implementation of Remote Connection Service (1/4)
Change-Id: I3788c9ab03a979f22ab628637adf6d520038cb6e
2014-08-05 18:21:26 -07:00
RoboErik
b37bbc6c40 am 143fcc42: am a5281929: am 23d078e3: Add display metadata and change strings to CharSequences
* commit '143fcc42a51f70ce5d9d28b1779ace4c61ddc6e0':
  Add display metadata and change strings to CharSequences
2014-08-06 12:10:38 +00:00
Michael Wright
62c06ecb66 am 0aade803: am e94f3851: am c9938987: Add resize method for virtual displays
* commit '0aade8038390179070bf94683fb20ff797db1adf':
  Add resize method for virtual displays
2014-08-06 12:10:01 +00:00
Svetoslav
39999cf026 Allow adding widgets from user profiles.
The goal of this change is to enable support for appwidget from
user profiles to the user main profile. A user profile is a user
which is associated as a child of the main user profile. For example,
a user may have a personal (parent) and corporate (child) profile.
The device policy should be able to control whether adding a widget
from a child profile and given packages is allowed. This change
assumes that all packages from managed profiles are white listed.
Another change will add the device policy changes.

(cherrypicked 8cd27c3c to work around Gerrit issue)

Change-Id: I267260b55d74c48b112a29979a9f59eef7a8194e
2014-08-06 11:01:36 +01:00
RoboErik
75847b98f3 Add display metadata and change strings to CharSequences
This adds some fields for display purposes to MediaMetadata and also
makes the default for all text CharSequence instead of String. Also
adds a hidden method for getting a Description for the metadata.

bug: 11708293
Change-Id: I0ed58d9ac3aeff41325c4ccf5fed0539bbf03b4d
2014-08-05 14:30:27 -07:00
Michael Wright
01e840ff94 Add resize method for virtual displays
Change-Id: I2632fc56c2d2cba356379e42f5c1a3e283b11d1e
2014-08-05 21:10:03 +00:00
Andrew Lee
1f6bbd2920 "Implement" formerly abstract methods VideoCallProvider.
Provide null-op methods so there is greater flexibility for classes
which extend this base class, but might not support all its methods.
In the future, if we add more methods to the *.aidl interface, this
class can work with binaries which extend this class but don't
implement all the methods since the superclass now implements those
methods.

Left onSetPreviewSurface and onSetDisplaySurface as abstract.

Bug: 16842159
Change-Id: Ie7fea6ef5d473e3924ef370392f380603a568800
2014-08-06 14:37:06 -07:00
Dongwon Kang
e377ea5de6 Merge "TIF: Rearchitecting TvInputPassthroughWrapperService." into lmp-dev 2014-08-05 00:07:36 +00:00