114783 Commits

Author SHA1 Message Date
Adam Powell
f37a5139db Fix incorrect content description on action bar home/up
Some stray code from a previous change caused an erroneous content
description to be set on the wrong view in the action bar. Correct
this and sync with the right behavior.

Bug 10969992

Change-Id: I4deaa3528b4bc222e25354679fa93f8316fa2d70
2013-11-01 16:36:49 -07:00
Dianne Hackborn
efcc2ca63d Merge "Fix issue #11223338: Not retaining service started state while restarting" into klp-dev 2013-11-01 23:20:09 +00:00
Craig Mautner
c78a06db28 Layout hidden windows on Configuration change.
Apply the test for configuration change to all windows. A year ago
this was the test but CL ag/247731 which fixed b/7428221 limited the
test to just Keyguard windows. A week later CL ag/248223 which fixed
b/7444971 applied the test to Wallpaper as well. Then two days after
that CL ag/249762 which fixed b/7453222 reverted the wallpaper. This
fix reverts the Keyguard qualification and restores the test to all
windows.

This fix has been tested against the repro steps for all three bugs
above. In addition this fixes bug 11033407. The fix for the bug is
described in the bug.

Change-Id: Ie0f4c7cd4697c1689c4f331d572359cf7ce934cf
2013-11-01 16:12:14 -07:00
Brian Carlstrom
a51052d17c Merge "Move set of persist.sys.dalvik.vm.lib to SystemServer only" into klp-dev 2013-11-01 22:51:07 +00:00
Jim Miller
6b0afaddae Fix flash caused by frame resize code
This fixes a problem where the frame would resize mid-animation because
the widget frame was being always being resized.

The issue was caused by having an extra fadeOutChallenge() in
onPageSwitching().   The fix is to remove this and handle this case
special for warping in onPageEndWarp()

Fixes bug 11190745

Change-Id: I6dbda4d09c77e3923887f8d41efb2215e1afb1b9
2013-11-01 15:03:04 -07:00
Brian Carlstrom
5637ffced9 Move set of persist.sys.dalvik.vm.lib to SystemServer only
Bug: 11463182
Bug: 11479647
Change-Id: I38efdecdd65fe3efc9c33b4dc204a64543ae6377
2013-11-01 14:51:58 -07:00
Matthew Xie
371427b53c Revert "Add PLAY and PAUSE keycodes and remove PLAY_PAUSE keycode."
This reverts commit 7a863b4bdae1d01d4ac972fe8ff8968bbfed6709.

bug 11325212
Change-Id: I8b50aec4ae39894a854583a74bda4db3445d3d67
2013-11-01 13:49:20 -07:00
Victoria Lease
24a24b2790 am ee4c8464: Merge "Handle surrogate pairs in Html.toHtml()" into klp-dev
* commit 'ee4c84642afffa80f23039bbc2d4f59de11f67da':
  Handle surrogate pairs in Html.toHtml()
2013-11-01 13:27:46 -07:00
Victoria Lease
ee4c84642a Merge "Handle surrogate pairs in Html.toHtml()" into klp-dev 2013-11-01 20:22:42 +00:00
Michael Wright
6be8dde6f6 am 4846a93b: Merge "Only call dump when a ViewRoot actually exists" into klp-dev
* commit '4846a93b55d7c8bf1af78cbeb3389801cff28e99':
  Only call dump when a ViewRoot actually exists
2013-11-01 13:15:46 -07:00
Michael Wright
4846a93b55 Merge "Only call dump when a ViewRoot actually exists" into klp-dev 2013-11-01 20:11:48 +00:00
Michael Wright
5f48dc7409 Only call dump when a ViewRoot actually exists
Bug: 11446494
Change-Id: I47e35d7b4d49d6893ba0c9f8ad05b31f91be85d2
2013-11-01 12:42:49 -07:00
Michael Wright
cd250cc8b7 am 17d28ca3: Check view and focus invariants after calling into app
* commit '17d28ca3d76e943e30bdaafb98596cf35bb45087':
  Check view and focus invariants after calling into app
2013-11-01 12:27:46 -07:00
Michael Wright
17d28ca3d7 Check view and focus invariants after calling into app
When we dispatch input events into the actual application, make sure
the input invariants we rely on haven't changed. If they have, we
drop the event and log why.

Bug: 11399505

Change-Id: Id772e41ca41dc332bb02725ab486e3b10a73c220
2013-11-01 19:13:20 +00:00
Dirk Dougherty
929ff3e0cf am 62eecbf5: Merge "Doc change: Extend link to image." into klp-dev
* commit '62eecbf5af9b4c5ed6ab77d13973d5f14ab89ed1':
  Doc change: Extend link to image.
2013-11-01 11:57:54 -07:00
Svetoslav
7db97b0a29 PreferenceFragment showing the breadcrumb when not needed.
The breadcrumb section is used for a single pane mode for showing
the current user location. The breadcrumb should not be shown if
its title and subtitle are empty. The code in PreferenceActivity
onCreate updates the breadcrumb with the title and subtitle in
a single page mode but does not hide it if they are empty. This
change fixes that.

bug:11242762

Change-Id: Ib1ba9e8afd9d0ab2e85d78a65ca7c18489464f6d
2013-11-01 11:57:12 -07:00
Dirk Dougherty
62eecbf5af Merge "Doc change: Extend link to image." into klp-dev 2013-11-01 18:55:15 +00:00
Adam Cohen
6b149dcf50 am c5481343: Merge "Fix weird page snap bug when long pressing on music controls (issue 11420449)" into klp-dev
* commit 'c5481343622e280ef1b2e3574c0cca0640fb172e':
  Fix weird page snap bug when long pressing on music controls (issue 11420449)
2013-11-01 11:51:20 -07:00
John Spurlock
17433a633a am b7824a94: Merge "Manage keyguard nav elements using transitions." into klp-dev
* commit 'b7824a9475d02bc3d96f1fb881a9769843e8f6f3':
  Manage keyguard nav elements using transitions.
2013-11-01 11:51:18 -07:00
Adam Cohen
c548134362 Merge "Fix weird page snap bug when long pressing on music controls (issue 11420449)" into klp-dev 2013-11-01 18:48:42 +00:00
John Spurlock
b7824a9475 Merge "Manage keyguard nav elements using transitions." into klp-dev 2013-11-01 18:48:00 +00:00
Svetoslav
93e363fe01 am 91230fb3: Merge "Fixing issues in the TouchExplorer." into klp-dev
* commit '91230fb31ce602a96f1575d5281722c2aef5558c':
  Fixing issues in the TouchExplorer.
2013-11-01 11:47:48 -07:00
Svetoslav
91230fb31c Merge "Fixing issues in the TouchExplorer." into klp-dev 2013-11-01 18:46:10 +00:00
Dirk Dougherty
84bda4319f am 35a59683: Doc change: remove staging urls for chrome and wallet sites.
* commit '35a59683cf1e77dc794dfc51a5259743c6d07be8':
  Doc change: remove staging urls for chrome and wallet sites.
2013-11-01 11:17:50 -07:00
Svetoslav
a3315270e0 Fixing issues in the TouchExplorer.
1. The up event for a long press was not properly adjusted as the
   long pressing finger may not be on top of the accessibility
   focused item.

2. There was a scenario where two finger swipe leads to a crash.
   One finger moves, second finger goes down but no finger moves,
   the first finger goes up, and now the second finger moves. All
   this has to happen before we decided that user is touch exploring.
   Very hard to happen, this is why we could not easily repro the
   crash.

3. We use the two finger vector angle to determine whether the
   user is dragging or not. However, in some cases we were
   unnecessarily waiting too long before performing the check
   and as a result the notification shade on Manta was not
   expandable.

bug:11341530
bug:11189225

Change-Id: Ieea39783444a1c20581f8addfd518d1c11485099
2013-11-01 11:14:41 -07:00
Dirk Dougherty
35a59683cf Doc change: remove staging urls for chrome and wallet sites.
Change-Id: I804d0386a3a518052ac8265cad9d20a8d1f6d462
2013-11-01 10:51:59 -07:00
Dianne Hackborn
7b492723e4 Fix issue #11223338: Not retaining service started state while restarting
Actually, the state representation seems fine, but there was a problem
we are now hitting where the restart interval could get reset back to
0 when it shouldn't be.  Also tune the restart parameters a bit.

Change-Id: I364f38e52f5387b2ec3f81009ccc78976ff48891
2013-11-01 10:32:46 -07:00
John Spurlock
56d007b998 Manage keyguard nav elements using transitions.
Move the logic for managing dimming the navigation bar
elements on the lockscreen into BarTransitions.

Replace search light + camera assets with new
versions at full brightness, and apply 50% dimming
at runtime, including the IME dismiss button.

Remove unused StatusBarManager _NOP hints.

Improve choreography between camera button +
password security (w/ IME).  Fix a few found bugs
in PagedView.

Improve password security unlock transition, manually
fade in back along with the rest of the icons.

Bug:11221659
Change-Id: Ifd1f8c9f400d90542f0ca858b9a4deacabbd518a
2013-11-01 11:33:48 -04:00
Baligh Uddin
a053e1ffd5 am 3f4c6bb5: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '3f4c6bb5ab254c5f5cbca0e3439b157f117e00b4':
  Import translations. DO NOT MERGE
2013-11-01 07:37:15 -07:00
Baligh Uddin
c08ce101e0 am 50bdac61: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '50bdac61a10c5d0296dc0de7ad6c7f4ed59186f6':
  Import translations. DO NOT MERGE
2013-11-01 07:37:12 -07:00
Baligh Uddin
154abe1e7b am 2bc2574e: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '2bc2574e60b5050107c28e4bc4f1fd505467c9d6':
  Import translations. DO NOT MERGE
2013-11-01 07:37:09 -07:00
Baligh Uddin
3f4c6bb5ab Merge "Import translations. DO NOT MERGE" into klp-dev 2013-11-01 14:35:42 +00:00
Baligh Uddin
50bdac61a1 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-11-01 14:35:02 +00:00
Baligh Uddin
2bc2574e60 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-11-01 14:34:40 +00:00
Michael Jurka
b2552648ce Fix crashes for images that are not PNG or JPEG
Bug: 11342816

Change-Id: Ib8bbd30c1cc2d4f984af889895fb78412a1ab004
2013-11-01 13:31:14 +01:00
Brian Carlstrom
3a9a208985 am e6411e68: Merge "Set persist.sys.dalvik.vm.lib at system server startup" into klp-dev
* commit 'e6411e681018289c58ae6f622c11db7c800de962':
  Set persist.sys.dalvik.vm.lib at system server startup
2013-10-31 21:35:50 -07:00
Brian Carlstrom
e6411e6810 Merge "Set persist.sys.dalvik.vm.lib at system server startup" into klp-dev 2013-11-01 04:32:46 +00:00
Adam Cohen
3f1c3c7436 Fix weird page snap bug when long pressing on music controls (issue 11420449)
Change-Id: Ie789d74c03656b93f26b9afef16356862f1982a8
2013-10-31 18:41:59 -07:00
Jeff Sharkey
2903d6fa19 am c09b6a46: Merge "Better enforcement in DocumentsProvider.call()." into klp-dev
* commit 'c09b6a46a34d42b0b1abf2f28b943975b8fa3d79':
  Better enforcement in DocumentsProvider.call().
2013-10-31 17:58:21 -07:00
Jeff Sharkey
c09b6a46a3 Merge "Better enforcement in DocumentsProvider.call()." into klp-dev 2013-11-01 00:56:26 +00:00
Svetoslav
9eae380bad am a9f28eea: Merge "Temporary detached views not properly reported to accessibility layer." into klp-dev
* commit 'a9f28eea3645bc25399575db78c9235484e359c3':
  Temporary detached views not properly reported to accessibility layer.
2013-10-31 17:48:42 -07:00
Svetoslav
a9f28eea36 Merge "Temporary detached views not properly reported to accessibility layer." into klp-dev 2013-11-01 00:44:50 +00:00
Svetoslav
acd8741de6 am a84e1197: Merge "Uninitialized UiAutomationConnection incorrectly enforces caller id." into klp-dev
* commit 'a84e1197f5deaed95cea48f8e103119dc4b36c1b':
  Uninitialized UiAutomationConnection incorrectly enforces caller id.
2013-10-31 17:33:16 -07:00
Svetoslav
a84e1197f5 Merge "Uninitialized UiAutomationConnection incorrectly enforces caller id." into klp-dev 2013-11-01 00:31:02 +00:00
Svetoslav
d4bdd6befa Temporary detached views not properly reported to accessibility layer.
A view may be temporary detached. While in this state the view
state may change for which we fire accessibility events. Clients
use them to know when the view changed and what the change is.
However, detached views do not fire accessibility events.
Hence, a client may hold a stale AccessibilityNodeInfo since
the changes to its source view happened in a temporary detached
state.

bug:11388752

Change-Id: I9052700ca9195841cc2881b65c17f5615e6f71fb
2013-10-31 17:25:06 -07:00
Dianne Hackborn
de2d961ff8 am fbefe9bf: Merge "Fix issue #11168649: LRU logic for Chrome renderers seems..." into klp-dev
* commit 'fbefe9bf741250f0ec2a538dbd11ab9f38a2c8f8':
  Fix issue #11168649: LRU logic for Chrome renderers seems...
2013-10-31 17:20:29 -07:00
Dianne Hackborn
fbefe9bf74 Merge "Fix issue #11168649: LRU logic for Chrome renderers seems..." into klp-dev 2013-11-01 00:18:12 +00:00
Dianne Hackborn
db92608de9 Fix issue #11168649: LRU logic for Chrome renderers seems...
...not to work on KitKat (was: Janky exit animation)

Reworking the LRU list (splitting it into an activity vs. empty
section) accidentally broken the old behavior of "client activity"
processes being prioritized with activity processes.  In fact, we
were no longer marking "client activity" processes at all.

In this change, we rework how we manage "client activity" processes
by putting them on the main activity LRU section.  This is generally
simple -- ActiveServices now keeps track of whether a process is
a "client activity" process based on its bindings, and updateLruProcess
treats these as regular activity processes.  However, we don't want
to allow processes doing this to spam our LRU list so that we lose
everything else, so there is some additional complexity in managing
that list where we spread client activity processes across is so
that the intermingle with other activity processes.

The rest of the change is fairly simple -- the old client activity
process management is gone, but that doesn't matter because it wasn't
actually running any more.  There is a new argument to updateLruProcess
to indicate a client process it comes from (since we now need to update
this based on bindings) which is just used to limit how high in the
LRU list we can move things.  The ProcessRecord.hasActivities field is
simply removied, because ProcessRecord.activities.size() > 0 means the
same thing, and that is actually what all of the key mechanisms are using
at this point.

Finally, note there is some commented out code of a new way to manage
the LRU movement.  This isn't in use, but something I would like to
move to in the next release so it is staying there for now for further
development.

Change-Id: Id8a21b4e32bb5aa9c8e7d443de4b658487cfbe18
2013-10-31 16:32:44 -07:00
Svetoslav
9663fd09e9 Uninitialized UiAutomationConnection incorrectly enforces caller id.
When a client of a UiAutomationConnection is set it remembers its UID
and allows subsequent operations only from this UID. The connection
If the connection was not used, i.e. its client is not set, and an
attempt to destroy it is made the connection enforces the caller UID
to be that of the owner but it does not have an owner yet. Now if the
destroy method is called on a connection that is never used (has no
client) we do not enforce caller UID.

bug:11465888

Change-Id: I739dfc45e772ea970b6ab384e4420184724333a3
2013-10-31 16:28:24 -07:00
Brian Carlstrom
ad46405358 Set persist.sys.dalvik.vm.lib at system server startup
Bug: 11463182
Change-Id: I4409e84570c4e27bf8da36d0aca87812a1c032a6
2013-10-31 15:29:40 -07:00