146861 Commits

Author SHA1 Message Date
Chris Wren
396c07932d add event logs to track heads up status.
Bug: 16344259
Change-Id: Ib06c2473e6af7999b27723428a1182170129fdcd
2014-08-01 08:40:59 +00:00
Sungsoo Lim
5c5b83fcd5 TIF: Use XML file for representing TvContentRating
This change addresses the following API council feedback.

- Remove all constants from TvContentRating. Instead this class becomes a
  general parser for a tuple of "rating domain"+type+subtype(s).
- Instead of constants in the API, the rating definitions should come from
  parsed XML meta-data tied to a TvInputService entry in the AndroidManifest.
  This XML should define a ranked order of the rating constants along with
  @string references for displaying in the Settings UI.  Mention that the
  "rating domain" should be scoped similar to a package name, for example
  "com.youtube.ratings".
- For system-defined rating types (like US, Korea, etc) we should parse this
  same XML format, but it may come from a hard-coded XML resource (since they
  aren't tied to a single TvInputService.)
- Thoroughly document the built-in supported types in javadoc on TvContentRating.

Change-Id: I0a9526c73c8ca67fd0eeac63f3c63c05657a45e3
2014-08-01 13:47:28 +09:00
Winson Chung
012ef36a6c Updating the stack layout to use a parameterized curve.
- Fixing issue with search box not being layered on top of the task stack view (Bug 16643875)
- Fixing issue with there being no animation when dismissing recents while the stack is scrolling.

Change-Id: I990f3c527de655d62fbf8a4539dcbaed3ed422c8
2014-08-01 04:32:08 +00:00
Jinsuk Kim
7c3a95633d Fix bugs in active source command handling in HdmiControl
- Make sure input change listener is invoked
- The command from new device at the active path should
  start routing control

Change-Id: Ic0ca52d42cc1738f9effced322b00f3bd1957f60
2014-08-01 03:43:54 +00:00
Shishir Agrawal
f96d229603 Merge "IccOpenLogicalChannelResponse: Single character fix." into lmp-dev 2014-08-01 01:46:21 +00:00
Shishir Agrawal
1521e5ad31 IccOpenLogicalChannelResponse: Single character fix.
Change-Id: I345e9a6b4cefc1d96111a7cf62dc402fd48b35c0
2014-07-31 19:08:15 -07:00
Sungsoo Lim
3776ce3949 Merge "Revert "Service data and manufacturer data can be repeated fields."" into lmp-dev 2014-07-25 11:19:20 +00:00
Sungsoo Lim
67c01a4b6d Revert "Service data and manufacturer data can be repeated fields."
This reverts commit 26dc9b99b17ca9d8ce3632c48e8b6c1450ee53e9.

Change-Id: I1846d0a6491c5b2ba5905411bd98f5d17909b705
2014-08-01 01:24:14 +00:00
Wei Wang
3f7a39063a Service data and manufacturer data can be repeated fields.
b/16635899

Change-Id: I73f1f4effd3f0e38cd427297eb9d22f3ba285d61
2014-07-31 15:43:05 -07:00
Chris Craik
8e554924c5 Merge "Add outline alpha" into lmp-dev 2014-07-31 21:44:36 +00:00
Chris Craik
77b5cad3ef Add outline alpha
bug:16140822
bug:16566746

This allows background drawables to alter the opacity of a shadow
being cast with their own alpha values.

Change-Id: I49698cc7c1bf4b2b55ffe2f82899543ca62bc61c
2014-07-31 12:29:57 -07:00
Jeff Sharkey
ceb2adca49 Merge "Persist install sessions, more lifecycle." into lmp-dev 2014-07-25 23:00:08 +00:00
Jeff Sharkey
1cb2d0d4bb Persist install sessions, more lifecycle.
To resume install sessions across device boots, persist session
details and read at boot.  Drop sessions older than 3 days, since
they're probably buggy installers.

Add session callback lifecycle around open/close to give home apps
details about active installs.  Also give them a well-known intent
to show session details.

Extend Session to list staged APKs and open them read-only, giving
installers a mechanism to verify delivered bits, for example using
MessageDigest, before committing.

Switch to generating random session IDs instead of sequential.

Defensively resize app icons if too large.  Reject runaway
installers when they have too many active sessions.

Bug: 16514389
Change-Id: I66c2266cb82fc72b1eb980a615566773f4290498
2014-07-31 15:17:03 -07:00
ztenghui
874bcd82c2 Fix the create() for the attrs position
Change-Id: Ieb93053f28502cabbf655c4a27c4864845da212e
2014-07-31 20:16:18 +00:00
Amith Yamasani
f5f45bc224 Merge "Setup correct initial guest restrictions" into lmp-dev 2014-07-29 22:44:51 +00:00
George Mount
68f96d8db5 Add differentiating transitions for returning/reentering.
Bug 16550363

Change-Id: I85f9a8bcbc92ce048d06b36579bb05893534f7f8
2014-07-31 21:58:06 +00:00
Christopher Tate
73140e4df9 Attempt install-time restore even for no-agent apps
Packages without their own backup agents can still have restorable
data to be delivered.  Correct the logic for attempting a restore
at install time so that it no longer requires an app-defined backup
agent.

Bug 16688665

Change-Id: I7dcf7ef85ad6b5b393a2c97ce62f1b2eec9d3520
2014-07-31 21:41:12 +00:00
Amith Yamasani
8616af1a4d Setup correct initial guest restrictions
Disable SMS by default, in addition to any other the primary
user may have set.

Bug: 16474761
Change-Id: I67b510ac72c2adfcafd95fb34e50ab5d8194090a
2014-07-31 14:16:04 -07:00
Sungsoo Lim
37c665bad3 Merge "TIF: Add a parameter (Bundle params) of tune method" into lmp-dev 2014-07-24 16:04:26 +00:00
Sungsoo Lim
1a6b25eabc TIF: Add a parameter (Bundle params) of tune method
- tune(Uri, Bundle) is added as a system API.

Bug: 15809017
Change-Id: I50bc9b510f469ac3c157f095ccfe27d1cd1d9854
2014-08-01 15:33:32 +09:00
Jinsuk Kim
fc2f1bde19 Merge "System API HdmiControlService.getActiveSource" into lmp-dev 2014-07-24 16:04:26 +00:00
Jinsuk Kim
7e74206693 System API HdmiControlService.getActiveSource
Added getActiveSource to provide Tv Input Service with the information
on HDMI active source/routing path. TIS side will be handled separately.

Change-Id: I3d7c12a6c9da9f96a7f22ba1f66ac2559928858d
2014-08-01 10:13:40 +09:00
Wei Wang
76f3cceea6 Merge "Service data and manufacturer data can be repeated fields." into lmp-dev 2014-07-29 22:44:51 +00:00
John Spurlock
c9b5cd3cae Merge "New wifi + radio icons." into lmp-dev 2014-07-31 19:45:19 +00:00
John Spurlock
b3eb89190c New wifi + radio icons.
- Replace old pngs with new vectors.
 - New problem indication, remove provisional color filters.
 - Remove spacing hacks in SignalClusterView.
 - Wire up QS tile icons to demo mode.

Bug:15988601
Change-Id: Ib785288eebfb09896a499d562eb56debbd89a456
2014-07-31 17:13:10 -04:00
Sandeep Siddhartha
6bf8be5552 Merge "Don't unload sound model in start recognition unless the model changes" into lmp-dev 2014-07-24 15:36:21 +00:00
Sandeep Siddhartha
299efbe1fb Don't unload sound model in start recognition unless the model changes
This helps in start -> detected -> start again scenarios

Change-Id: I6d8d55e469e0623b9eb07595df8897ad4942aa11
2014-07-31 09:39:47 -07:00
Evan Charlton
b8d0717934 Fix a small typo in javadocs
Service#START_FLAG_RETRY has an extra word; remove it.

Change-Id: I4743e2ea474c70fe5d31f1a4ef257f9752f8e823
2014-07-31 16:14:22 +00:00
Alexandra Gherghina
a709314537 Use the appropriate default icon
ComponentInfo subclasses and ApplicationInfo have different ways to retrieving
the default icon. Previously, in CL I2db300a69a08030eacc245ee91556f0443ba5878
we defaulted everything to the green Android. This makes sure that they get the
right default.

Bug: 16630068
Change-Id: Ifa499eac6f1543523d6ecf0831175bfd6b772edb
2014-07-31 15:43:11 +00:00
Jorim Jaggi
9d8ca0f010 Fix a few StatusBarHeaderView regressions
Change-Id: Iae1af96f80caf4978c5a6ec6ef81b83543e9fe0e
2014-07-31 15:24:43 +00:00
Geoff Mendal
f62af27846 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-30 16:17:51 +00:00
Geoff Mendal
aa31e475d2 Import translations. DO NOT MERGE
Change-Id: Iac3087ace0ea7c351d1606f37000bfa134249184
Auto-generated-cl: translation import
2014-07-30 12:36:23 -07:00
Christoph Studer
4d953d0e93 Merge "NoMan: Use Notification.isGroupX() methods" into lmp-dev 2014-07-25 23:01:28 +00:00
Christoph Studer
3f31f5db65 NoMan: Use Notification.isGroupX() methods
Change-Id: I041f449361959440a5be7375e655a31fd14e7862
2014-07-31 16:55:32 +02:00
Christoph Studer
5e8cb22e60 Merge "NoMan: Filter group children for pre-L listeners" into lmp-dev 2014-07-25 23:01:28 +00:00
Christoph Studer
cef37cf5c7 NoMan: Filter group children for pre-L listeners
Bug: 16189575
Change-Id: I5297b5273ab0aaee599981738eb736a49f21ce53
2014-07-30 22:37:21 +02:00
Narayan Kamath
4abcd5c611 Merge "Switch TextUtils over to new ICU API." into lmp-dev 2014-07-25 23:01:28 +00:00
Narayan Kamath
31e6b1445f Switch TextUtils over to new ICU API.
.. and use Locale.getScript() instead of ICU.getScript.

bug: 15876704

(cherry picked from commit 08b3516984850e04e9bb6feae29d691a7557191c)

Change-Id: Ifac179e0577d66062f32c95372b631bf574dfdf9
2014-07-31 12:55:49 +01:00
Alexandra Gherghina
2f1cee80eb Upload new icons from ux
Change-Id: I47da0780b1a4cce1104ae8fc00fcf01701a6d27a
2014-07-31 10:27:24 +00:00
Sander Alewijnse
a87863a8bd Fix deadlock window manager and device policy manager.
Removed all communication from wm to device policy manager.
Added initialization of cache in wm by dpms.

Change-Id: Ifa0b8bfcd625464b156d5cc0fb66d342deda1c27
2014-07-31 09:16:46 +00:00
Jae Seo
d5ce975952 TIF: Make TvTrackInfo methods more explicit.
This change addresses the following API council feedback:

TvTrackInfo:
-- Remove all KEY_/VALUE_ constants, and replace with explicit,
   strongly-typed accessor methods.
-- Add additional Bundle getExtras() method (in addition to the explicit
   types); most of the time this Bundle will be null.

Bug: 16542165
Change-Id: Ie48cb170b2bbf07d9460fdc8ed77d7db01799772
2014-07-31 16:15:51 +09:00
Deepanshu Gupta
8d367bcd22 Merge "Fix classpath for AndroidLocale" into lmp-dev 2014-07-30 23:34:26 +00:00
Deepanshu Gupta
72c60ab7d4 Fix classpath for AndroidLocale
Change-Id: I9af9ac05ec26f12529d51e566bf38789a2579390
2014-07-31 05:10:03 +00:00
Christoph Studer
70d26c2d9c Merge "SysUI: Respect "no notifs on lockscreen" setting" into lmp-dev 2014-07-25 23:00:08 +00:00
Christoph Studer
1529e019e1 SysUI: Respect "no notifs on lockscreen" setting
Setting the stack scroller to INVISIBLE didn't work. Now we just consider
all notifs as "not visible on lockscreen" instead.

Bug: 16650758
Change-Id: I4259c6ec2f663fc988377b8d5a259d6a0f827178
2014-07-31 16:42:16 +02:00
Jorim Jaggi
61d37f6d1c Implement nice QS expansion transition in Keyguard
Bug: 16010455
Bug: 15192264
Change-Id: I764652e73ea8e87ad12b9241e038bff843a0a221
2014-07-31 13:48:43 +00:00
Dan Sandler
e9a96d34dd Merge "Fix docs build." into lmp-dev 2014-07-25 23:00:08 +00:00
Dan Sandler
dc418e3365 Fix docs build.
Change-Id: I3be4c5b74e85d2491316986d8c3c0575cd01a8fc
2014-07-31 02:27:52 -04:00
Jorim Jaggi
1045eee264 Merge "Factor out keyguard components of StatusBarHeaderView" into lmp-dev 2014-07-25 23:00:08 +00:00
Jorim Jaggi
4538027ded Factor out keyguard components of StatusBarHeaderView
Make the header on keyguard a separate view, and move all Keyguard
components from StatusBarHeader into KeyguardHeaderView.

Change-Id: I1e2400d5c91898df3824fd8f27b10750d576a62c
2014-07-31 15:02:59 +02:00