116683 Commits

Author SHA1 Message Date
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
Scott Main
57ecb14baf link fix to kick the build server
Change-Id: I6318f884b56a7f378b8a6884344b4058f95bf117
2013-10-31 17:26:08 -07: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
52b46b4bd0 am de2d961f: am fbefe9bf: Merge "Fix issue #11168649: LRU logic for Chrome renderers seems..." into klp-dev
* commit 'de2d961ff83fbca65bebb9696551cbbc14cad6a5':
  Fix issue #11168649: LRU logic for Chrome renderers seems...
2013-10-31 17:21:59 -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
Scott Main
dcfc04cdce link fixes
Change-Id: Ieb7e7f7f3997edca75399b2240e9c8043f3e0129
2013-10-31 23:11:00 +00:00
Svetoslav Ganov
78da147d42 Update the PdfDocument docs with unsupported operations.
The PDF generating canvas we use does not yet support all
drawing operations. This change adds docs which operations
are not yet supported.

Change-Id: I8d5ee8c1e2a473ba783b5e62f23ab90a54bbf106
(cherry picked from commit 8db45b844b5482cf61839404c0f6847e053de817)
2013-10-31 23:05:55 +00:00
Scott Main
73b5572f37 update HCE doc images to dac stencils
Change-Id: I57a1b393340c34bfaa66418957cf673a64e69890
2013-10-31 15:59:48 -07:00
Jim Miller
ee3b039ac6 am aa8dbf11: am 43ef1c8c: Merge "Remove deprecated API calls to KeyguardManager from statusbar" into klp-dev
* commit 'aa8dbf111444435b6071f7b226af5a7bb2a56c52':
  Remove deprecated API calls to KeyguardManager from statusbar
2013-10-31 15:30:02 -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
Jim Miller
aa8dbf1114 am 43ef1c8c: Merge "Remove deprecated API calls to KeyguardManager from statusbar" into klp-dev
* commit '43ef1c8c34c6dd7c7ae75ac2c1b9bfdc15405b04':
  Remove deprecated API calls to KeyguardManager from statusbar
2013-10-31 15:26:52 -07:00
Jim Miller
43ef1c8c34 Merge "Remove deprecated API calls to KeyguardManager from statusbar" into klp-dev 2013-10-31 22:22:58 +00:00
Jeff Sharkey
8a2998eade Better enforcement in DocumentsProvider.call().
Use ContentProvider.enforceWritePermissionInner() to handle all edge
cases around checking if caller has write permissions.  This fixes
bug where call() would throw if caller and provider were the same app.

Bug: 11464234
Change-Id: Iace8e0e4243d56ed1cdcc9680383103975107036
2013-10-31 14:55:44 -07:00
Svetoslav
4379bd7518 am eccfe65f: am 6ce161d1: Merge "Cancel current work in PrintDocumentAdatper if printing is cancelled." into klp-dev
* commit 'eccfe65f9daf459342ebc658b8a40584dfcea016':
  Cancel current work in PrintDocumentAdatper if printing is cancelled.
2013-10-31 14:48:22 -07:00
Svetoslav
eccfe65f9d am 6ce161d1: Merge "Cancel current work in PrintDocumentAdatper if printing is cancelled." into klp-dev
* commit '6ce161d1762a1c74b1ed6931c1d54f1f553267b0':
  Cancel current work in PrintDocumentAdatper if printing is cancelled.
2013-10-31 14:44:50 -07:00
Chet Haase
93830ffb14 am df52471c: am 5747919f: Merge "Fix leak in TransitionInflater" into klp-dev
* commit 'df52471c994f2374ae87ce52dbad61b43e7285e8':
  Fix leak in TransitionInflater
2013-10-31 14:42:44 -07:00
Svetoslav
6ce161d176 Merge "Cancel current work in PrintDocumentAdatper if printing is cancelled." into klp-dev 2013-10-31 21:42:06 +00:00
Chet Haase
df52471c99 am 5747919f: Merge "Fix leak in TransitionInflater" into klp-dev
* commit '5747919fed5180956387c50cb03671b9e67be1d5':
  Fix leak in TransitionInflater
2013-10-31 14:41:13 -07:00
Chet Haase
5747919fed Merge "Fix leak in TransitionInflater" into klp-dev 2013-10-31 21:38:21 +00:00
Jim Miller
a999d463c1 Remove deprecated API calls to KeyguardManager from statusbar
Fixes bug 11448304

Change-Id: I3049a20d9320af0425d7a8f08d5aa208e470e292
2013-10-31 14:32:29 -07:00
Svetoslav
d270cb9264 Cancel current work in PrintDocumentAdatper if printing is cancelled.
Layout and write may take some time during which the user can
cancel printing. Currently we wait for the last operation,
being write or layout, to complete before closing the print
dialog. Now in such a scenario we request a cancellation of
the ongoing operation.

bug:11329523

Change-Id: Ia9d747163cc73509369a86c8b5afc83b7ee54859
2013-10-31 14:30:58 -07:00
Chet Haase
58ad12208a Fix leak in TransitionInflater
A static map in TransitionInflater keyed off of Context instances,
which could cause contexts/activities to leak over time. This
fix removes that map and simply creates a new inflater each time.
The savings of the cached inflater was minimal an unnecessary, and the
intended sharing is in the context embedded in the inflater anyway.

Issue #11436919 leak in TransitionInflator

Change-Id: Ic05ca47f57723bd572bb6143df4035d66eedf5ad
2013-10-31 14:25:56 -07:00
Wink Saville
2321290fb7 am 6952b6fa: am b4f673e2: Merge "Use HttpsURLConnection to by pass proxies." into klp-dev
* commit '6952b6fac5930d3278f0103280f1ac9348d27a79':
  Use HttpsURLConnection to by pass proxies.
2013-10-31 14:23:41 -07:00
Scott Main
7d1d7fa33e Merge "Doc update: Managing System UI class" into klp-docs 2013-10-31 21:23:23 +00:00
Wink Saville
6952b6fac5 am b4f673e2: Merge "Use HttpsURLConnection to by pass proxies." into klp-dev
* commit 'b4f673e25f296ee2f93e62bac2740240628a2dd6':
  Use HttpsURLConnection to by pass proxies.
2013-10-31 14:20:00 -07:00
Katie McCormick
cfd3047f42 Doc update: Managing System UI class
Change-Id: I8c8f8864411a4be64426e347351690078c922c1c
(cherry picked from commit d20c87c550524754956774004d1e7625d5e86c48)
2013-10-31 21:18:44 +00:00
Wink Saville
b4f673e25f Merge "Use HttpsURLConnection to by pass proxies." into klp-dev 2013-10-31 21:18:03 +00:00
Katie McCormick
f0c2bfd1c7 Doc change: new Storage Access Framework doc
Change-Id: I53393bfbadaf7cd5be95a7b252a2f4b060554db5
(cherry picked from commit c46e6767f578dc70bf1f1f38be648cef59130e3c)
2013-10-31 21:17:07 +00:00
Dirk Dougherty
9e45568cdb Doc change: Extend link to image.
Change-Id: I240e01af0bad80587951dd46d91af148948cd90f
2013-10-31 14:16:01 -07:00
Dirk Dougherty
8bcee6e67a am adedcaaa: am 2761791a: Merge "Doc change: fix url." into klp-dev
* commit 'adedcaaa41a231d62c64cf7f2ec18c493f16f995':
  Doc change: fix url.
2013-10-31 14:09:49 -07:00
Dirk Dougherty
adedcaaa41 am 2761791a: Merge "Doc change: fix url." into klp-dev
* commit '2761791ab5b964cedbed808d6cb5e181973f5771':
  Doc change: fix url.
2013-10-31 14:06:23 -07:00
Joe Fernandez
b9602bcb5e Merge "docs: Screenrecord - add Android 4.4 availability" into klp-docs 2013-10-31 21:05:32 +00:00
Dirk Dougherty
809b084096 Doc change: fix url.
Change-Id: Ie62406af515d43d0f4dbd0f89d06823612547dda
(cherry picked from commit 0d18ac65cc97a5261e3d7bd02aabc2859b5ed437)
2013-10-31 21:04:33 +00:00
Dirk Dougherty
2761791ab5 Merge "Doc change: fix url." into klp-dev 2013-10-31 21:04:21 +00:00
Dirk Dougherty
0d18ac65cc Doc change: fix url.
Change-Id: Ie62406af515d43d0f4dbd0f89d06823612547dda
2013-10-31 14:01:56 -07:00
Scott Main
66bae5ad93 update sample nav dummy links to remove topic.html
Change-Id: I1858373f8d6f0077892b004d784828627356a700
2013-10-31 14:00:18 -07:00
Joe Fernandez
156cc15ade docs: Screenrecord - add Android 4.4 availability
Add a note that this utility is only supported on Android 4.4
and higher devices.

Change-Id: I1798380b68ae49bd54f66302f31d0d4212c0c514
2013-10-31 13:58:11 -07:00
Scott Main
552f88dbd4 am db917a00: am 932edc97: Merge "Add ZIP download for DevBytes: Immersive Mode." into klp-dev
* commit 'db917a00d51ab64595cd296c830adf51eddd0ab3':
  Add ZIP download for DevBytes: Immersive Mode.
2013-10-31 12:25:21 -07:00
Scott Main
db917a00d5 am 932edc97: Merge "Add ZIP download for DevBytes: Immersive Mode." into klp-dev
* commit '932edc973eb8c7b9c501c79f1fae18486d8cd87c':
  Add ZIP download for DevBytes: Immersive Mode.
2013-10-31 12:23:05 -07:00
Roman Nurik
e0510aee09 Add ZIP download for DevBytes: Immersive Mode.
Source code change ID: I3515e2742a4b8285f7e3f7c214af1d43dde605a0

Change-Id: I65db990cc803c4f802c321bb21d3f121ca7eee1a
(cherry picked from commit ba86577d0960861d9ae207789e153f69cfaa885c)
2013-10-31 19:20:39 +00:00
Scott Main
932edc973e Merge "Add ZIP download for DevBytes: Immersive Mode." into klp-dev 2013-10-31 19:20:31 +00:00
Jason Monk
7c053a2fa5 am cb134203: am 86f5a149: Merge "Change PacProxySelector to return unresolved addr" into klp-dev
* commit 'cb1342032283d1a415eb4f916a79039aa8ed0cbf':
  Change PacProxySelector to return unresolved addr
2013-10-31 11:50:07 -07:00
Jason Monk
cb13420322 am 86f5a149: Merge "Change PacProxySelector to return unresolved addr" into klp-dev
* commit '86f5a1499bc681ffae2b9f2300c9a62653d511dc':
  Change PacProxySelector to return unresolved addr
2013-10-31 11:47:03 -07:00
John Spurlock
9916eb6ecb am 39541bfa: am a0bc738f: Merge "Move coalescing to callback, optimize KeyguardStatusView." into klp-dev
* commit '39541bfad07c4f13d61981c1e231144168b41aa8':
  Move coalescing to callback, optimize KeyguardStatusView.
2013-10-31 11:46:15 -07:00
Jason Monk
86f5a1499b Merge "Change PacProxySelector to return unresolved addr" into klp-dev 2013-10-31 18:43:53 +00:00
John Spurlock
39541bfad0 am a0bc738f: Merge "Move coalescing to callback, optimize KeyguardStatusView." into klp-dev
* commit 'a0bc738f46f62ba1a02e956a8c262323ab4ab75c':
  Move coalescing to callback, optimize KeyguardStatusView.
2013-10-31 11:43:28 -07:00