113409 Commits

Author SHA1 Message Date
John Spurlock
3f7cd517aa Fix transparent -> translucent reference in private docs.
Bug:10781433
Change-Id: I9e71b38df3909c367c80a9a589d28f703d1c9936
2013-10-07 12:25:09 -04:00
Baligh Uddin
a5ea69ff28 Import translations. DO NOT MERGE
Change-Id: Ie31c027871b65270af282ba9253c35be93d7490d
Auto-generated-cl: translation import
2013-10-07 09:22:06 -07:00
Baligh Uddin
a44c31bda0 Import translations. DO NOT MERGE
Change-Id: I107cb20c67c52a5d2c6d82cb31f5ac41a75cdf4d
Auto-generated-cl: translation import
2013-10-07 09:20:44 -07:00
Zhijun He
b7bfdc7cf7 Camera2: add metadata override
There are interface difference between managed and native side for some
metadata, like Face and JPEG format. we need override them when they are set/get
between native and managed sides.

Also fix some issues in the CameraMetadataTest.

Bug: 10406212

Change-Id: Ibd8be0415968445e711b3ea89f45e1edfa193ee2
2013-10-07 08:02:25 -07:00
Svetoslav Ganov
b2420c917b The undefined media sizes for both orientations not properly constructed.
We have constants for an app to specify an undefined media size in portrait
and such in landscape. The constants for these media sizes had the width and
height dimesions swapped.

bug:11099831

Change-Id: Ic09227c3a03429fc5a4a157abc15fea87d3ad8be
2013-10-06 19:44:19 -07:00
John Spurlock
b88ede00ac am d5102f19: Merge "Transparent system ui flags -> Translucent WM flags." into klp-dev
* commit 'd5102f19653f6b00ce872435c5efb5cb630deed7':
  Transparent system ui flags -> Translucent WM flags.
2013-10-06 19:16:13 -07:00
John Spurlock
d5102f1965 Merge "Transparent system ui flags -> Translucent WM flags." into klp-dev 2013-10-07 02:13:50 +00:00
Svetoslav Ganov
719e486f54 am 9470cd95: Merge "Polish print dialog accessibility." into klp-dev
* commit '9470cd95dcf691eec33839065948bd32aab06fc6':
  Polish print dialog accessibility.
2013-10-06 18:29:32 -07:00
Svetoslav Ganov
13c64b1d95 am 253b628d: Merge "Update all printers activity\'s empty state and avoid selected printer flicker." into klp-dev
* commit '253b628dac59c431e2c73c8f17fa14976d78db2c':
  Update all printers activity's empty state and avoid selected printer flicker.
2013-10-06 18:29:29 -07:00
Svetoslav Ganov
f2bbe03726 am 589a5505: Merge "Update the empty state for the "all printers activity"" into klp-dev
* commit '589a550596eea6deda1aa0701fb73f5c4fa4769d':
  Update the empty state for the "all printers activity"
2013-10-06 18:29:27 -07:00
Svetoslav Ganov
455def3967 am a99cedc6: Merge "Update the "add print service" dialog as per UX spec." into klp-dev
* commit 'a99cedc6b8d58a1b4856b0cc8c9fa568a90466bd':
  Update the "add print service" dialog as per UX spec.
2013-10-06 18:29:24 -07:00
Svetoslav Ganov
9470cd95dc Merge "Polish print dialog accessibility." into klp-dev 2013-10-07 01:27:40 +00:00
Svetoslav Ganov
253b628dac Merge "Update all printers activity's empty state and avoid selected printer flicker." into klp-dev 2013-10-07 01:27:28 +00:00
Svetoslav Ganov
589a550596 Merge "Update the empty state for the "all printers activity"" into klp-dev 2013-10-07 01:27:01 +00:00
Svetoslav Ganov
a99cedc6b8 Merge "Update the "add print service" dialog as per UX spec." into klp-dev 2013-10-07 01:26:31 +00:00
Robert Greenwalt
81d1af2605 am 65d949d7: am 458430d8: (-s ours) am 5ab9af41: am f76b5383: DO NOT MERGE Un-deprecate getDhcpInfo
* commit '65d949d7f0110aea267036a284c683a27360700c':
  DO NOT MERGE Un-deprecate getDhcpInfo
2013-10-06 18:12:45 -07:00
Robert Greenwalt
8070ffccbb am 97ac7132: am 0e591c28: (-s ours) am 8098bfac: am dd8e315b: (-s ours) DO NOT MERGE Un-deprecate getDhcpInfo
* commit '97ac713258fdac3ddb6963e68450316a4ca35116':
  DO NOT MERGE Un-deprecate getDhcpInfo
2013-10-06 18:12:43 -07:00
Craig Mautner
6b027cc713 am e7dd3469: Merge "Relax conditions for including windows behind dialogs" into klp-dev
* commit 'e7dd3469ffe9f0e631c41fd8fa22fe0270d44523':
  Relax conditions for including windows behind dialogs
2013-10-06 18:12:34 -07:00
Craig Mautner
846a482a0d am ade5f387: Merge "Revert to jb-mr2 handling of app died." into klp-dev
* commit 'ade5f387fa3e1c7d0de16a3d80fb8e3d5105a39b':
  Revert to jb-mr2 handling of app died.
2013-10-06 18:12:32 -07:00
Christopher Tate
a5c436743c am eb09f990: Merge "Make sure to maintain privilege when downgrading bundled apps" into klp-dev
* commit 'eb09f9903807208d651a6cae38b9c9bc03984556':
  Make sure to maintain privilege when downgrading bundled apps
2013-10-06 18:12:29 -07:00
Dianne Hackborn
7ac5a9acb8 am 4bc5909a: Merge "Fix issue #11050678: Large memory leak in ActivityStack" into klp-dev
* commit '4bc5909a035b8b92be051762db2ee97cf55ea861':
  Fix issue #11050678: Large memory leak in ActivityStack
2013-10-06 18:12:26 -07:00
Dianne Hackborn
ae828e869f am f46bb1d9: Merge "Fix issue #11086275: Thumbnail only created once for top activity" into klp-dev
* commit 'f46bb1d99bc168f1812fdd5aca4282eb37984016':
  Fix issue #11086275: Thumbnail only created once for top activity
2013-10-06 18:12:24 -07:00
Chet Haase
e849cc1be6 am febf33fe: Merge "Fix resource-loading code for TransitionSet" into klp-dev
* commit 'febf33fe4b4c20ad8eda9c4ddca53e08e8042397':
  Fix resource-loading code for TransitionSet
2013-10-06 18:12:21 -07:00
Craig Mautner
c50738d67d am dd88879c: Merge "Evaluate task on top of home when task is brought to front." into klp-dev
* commit 'dd88879ce19332a5905699bc008504fd43d983d7':
  Evaluate task on top of home when task is brought to front.
2013-10-06 18:12:18 -07:00
Craig Mautner
3cb25e91b4 am 1703fd87: Merge "Resume user where they left off." into klp-dev
* commit '1703fd877f4dd1511a3758736d30da07c414eee5':
  Resume user where they left off.
2013-10-06 18:12:16 -07:00
Christopher Tate
e67ebcbc0c am 4b4ad011: Merge "Notify that ASEC containers are being unmounted during upgrades" into klp-dev
* commit '4b4ad01158415c6ed1ff3acc9c951add60c3cf75':
  Notify that ASEC containers are being unmounted during upgrades
2013-10-06 18:12:14 -07:00
Jim Miller
1654f84712 am 158fbd3a: Fix bug where pebble app triggers accessibility mode in navbar camera
* commit '158fbd3ab80eb75241fda9ada84eea43016d40ed':
  Fix bug where pebble app triggers accessibility mode in navbar camera
2013-10-06 18:12:08 -07:00
Robert Greenwalt
65d949d7f0 am 458430d8: (-s ours) am 5ab9af41: am f76b5383: DO NOT MERGE Un-deprecate getDhcpInfo
* commit '458430d823babdbe05a22e82b976c08d0e91f9c5':
  DO NOT MERGE Un-deprecate getDhcpInfo
2013-10-06 17:11:00 -07:00
Robert Greenwalt
97ac713258 am 0e591c28: (-s ours) am 8098bfac: am dd8e315b: (-s ours) DO NOT MERGE Un-deprecate getDhcpInfo
* commit '0e591c286ede084f5a01f9dc3569c51aa21a4e85':
  DO NOT MERGE Un-deprecate getDhcpInfo
2013-10-06 17:10:57 -07:00
Robert Greenwalt
458430d823 am 5ab9af41: am f76b5383: DO NOT MERGE Un-deprecate getDhcpInfo
* commit '5ab9af410e1ba572e8ac0577c2acb5324b65d66c':
  DO NOT MERGE Un-deprecate getDhcpInfo
2013-10-06 17:03:59 -07:00
Robert Greenwalt
0e591c286e am 8098bfac: am dd8e315b: (-s ours) DO NOT MERGE Un-deprecate getDhcpInfo
* commit '8098bfac6a08d59697e308a524f96f69e482ecf7':
  DO NOT MERGE Un-deprecate getDhcpInfo
2013-10-06 17:03:56 -07:00
Craig Mautner
e7dd3469ff Merge "Relax conditions for including windows behind dialogs" into klp-dev 2013-10-06 21:29:34 +00:00
Craig Mautner
ade5f387fa Merge "Revert to jb-mr2 handling of app died." into klp-dev 2013-10-06 21:29:05 +00:00
Christopher Tate
eb09f99038 Merge "Make sure to maintain privilege when downgrading bundled apps" into klp-dev 2013-10-06 21:26:19 +00:00
Dianne Hackborn
4bc5909a03 Merge "Fix issue #11050678: Large memory leak in ActivityStack" into klp-dev 2013-10-06 20:28:47 +00:00
Dianne Hackborn
f46bb1d99b Merge "Fix issue #11086275: Thumbnail only created once for top activity" into klp-dev 2013-10-06 20:28:07 +00:00
John Spurlock
bd95740648 Transparent system ui flags -> Translucent WM flags.
Migrate View.SYSTEM_UI_FLAG_TRANSPARENT_(STATUS/NAVIGATION) to
WindowManager.LayoutParams.FLAG_TRANSLUCENT_(STATUS|NAVIGATION).

Add associated public attrs for both new window flags:
  windowTranslucentStatus
  windowTranslucentNavigation

Introduce convenient four new themes that set translucent decor:
  Theme.Holo.NoActionBar.TranslucentDecor
  Theme.Holo.Light.NoActionBar.TranslucentDecor
  Theme.DeviceDefault.NoActionBar.TranslucentDecor
  Theme.DeviceDefault.Light.NoActionBar.TranslucentDecor

Update PhoneWindowManager mechanism to plumb these values back to
SystemUI to drive bar mode state.

The new translucent flags come from the top fullscreen window, not
the focused window, so translucency does not change when opening
dialogs.

Imply some window-level system-ui visibility if one or both of these
new flags are present, specifically:
  FLAG_TRANSLUCENT_STATUS implies LAYOUT_STABLE, LAYOUT_FULLSCREEN
  FLAG_TRANSLUCENT_NAVIGATION implies LAYOUT STABLE, LAYOUT_HIDE_NAV

Rename all associated variable & resource names to use the term
translucent instead of transparent. (Retain the term semi-transparent
for the transient bar style).

Recents activity allowed to inherit translucent decor state via the
new PRIVATE_FLAG_INHERIT_TRANSLUCENT_DECOR.  Compensating changes
to use the full screen area more appropriately.

Update keyguard to use new WM flags.

Update docs and various api artifacts.

Sanity-check fixes:
 - Toasts and alerts given stable layout.
 - Suppress nu-gradient when in transient (hidey) mode.
 - New translucent flags use top-fullscreen window, dialogs don't clear.

Bug:10674960
Bug:11062108
Bug:10987178
Bug:10786445
Bug:10781433
Change-Id: If667a55bea4cf5e008549524b9899197fab55ebe
2013-10-06 16:03:53 -04:00
Chet Haase
febf33fe4b Merge "Fix resource-loading code for TransitionSet" into klp-dev 2013-10-06 19:35:16 +00:00
Craig Mautner
ff174d52bd Relax conditions for including windows behind dialogs
When a dialog has been minimized to recents the windows behind it
won't be visible. Yet we were requiring them to be visible in order to
be included in the ones being restored. This left the background
windows invisible on resume and showed home behind floating dialogs
instead of the activity that launched the dialogs.

Fixes bug 11067724.

Change-Id: Icadd7ec8fe7c73b52982b6ff5b5d98b8fb8476b0
2013-10-06 12:24:56 -07:00
Chet Haase
aafc91c05a Fix resource-loading code for TransitionSet
The inflation code in TransitionInflater was using the wrong
tag ("set") for TransitionSet. This fix corrects that problem
(changing it to "transitionSet") and documents the correct
tag in the TransitionSet javadocs.

Issue #11085279 Transitions: transition sets loaded from resources don't work

Change-Id: I8aaea9f31bbe368cffcca63d4eb6a5ec06c3ce7b
2013-10-06 12:10:12 -07:00
Craig Mautner
dd88879ce1 Merge "Evaluate task on top of home when task is brought to front." into klp-dev 2013-10-06 17:44:38 +00:00
Craig Mautner
1703fd877f Merge "Resume user where they left off." into klp-dev 2013-10-06 17:44:18 +00:00
Craig Mautner
1909125eba Revert to jb-mr2 handling of app died.
Trying to span all potential stacks looking for apps was too complex
and error-prone. Extending the jb-mr2 method across multiple stacks.

Fixes bug 11080696.

Change-Id: I6391ceae4ad6a0955a409c3fb27472219fd5bf6b
2013-10-06 10:39:31 -07:00
Christopher Tate
4b4ad01158 Merge "Notify that ASEC containers are being unmounted during upgrades" into klp-dev 2013-10-06 17:23:16 +00:00
Christopher Tate
0fe85a9492 Make sure to maintain privilege when downgrading bundled apps
When reparsing because the data-volume update has been removed, be sure
to apply privilege when the bundled fallback APK should be allowed it.

Bug 10958159

Change-Id: Ibad52a5644606b27f4ebc5d5d7c1a671283b0752
2013-10-06 10:18:06 -07:00
Svetoslav Ganov
56ddf1ffa5 Polish print dialog accessibility.
bug:10983508

Change-Id: I7391e06b661caac18d04ae279639ff447701f151
2013-10-05 19:56:19 -07:00
Svetoslav Ganov
24c686b8b5 Update all printers activity's empty state and avoid selected printer flicker.
1. Updated the empty state of the all printers activity to show no printers message
   if the user is searching and there are no matches and a searching for printers
   message if the user is not filtering the printers list.

2. Adding the fake PDF printer after the historical printers are loaded to avoid the case
   where we select the PDF printer and immediately after that the most used printer is
   selected resulting in an undesirable UI flicker.

3. Fixed a bug where if the most used printer which is initially considered unavailable
   is reported by the print service as available but the UI is not properly updated
   leaving the user in no way to click on the print button.

bug: 10983508

Change-Id: I60fdb7761332850fd5b9ffc0cb572a6213024dba
2013-10-05 19:18:08 -07:00
Jim Miller
158fbd3ab8 Fix bug where pebble app triggers accessibility mode in navbar camera
Apparently the Pebble application uses accessibility.  This was
triggering the navbar to resort to accessibility mode for launching
the camera.  The fix is to also require touch exploration to be
enabled.

Fixes bug 11061505

Change-Id: I2245bd37eef9e68911862ce86147b1343816f1a4
2013-10-05 19:01:00 -07:00
Svetoslav Ganov
264c566a7f Update the empty state for the "all printers activity"
The empty state is now showing searching for printers hint if
the user is not searching, otherwise the empty state's hint is
a searching for printers message.

bug:10983508

Change-Id: I3df79c167546998c8055d9ff85efa8b460a15e48
2013-10-05 12:58:22 -07:00
Svetoslav Ganov
0ea7d1e869 Update the "add print service" dialog as per UX spec.
The dialog button is now the last item in the adapter if the
search for print service settings is not empty and resolves
to an intent.

bug:10983508

Change-Id: I348e1ede1097d6f3b78c72e871bf3097b99004b6
2013-10-05 11:56:01 -07:00