45299 Commits

Author SHA1 Message Date
Adam Powell
1262d0c864 Merge "Fix action menu visibility callbacks for nested popups" into klp-dev 2013-11-04 17:55:24 +00:00
Adam Powell
b611eb94e9 Merge "Fix incorrect content description on action bar home/up" into klp-dev 2013-11-04 17:55:05 +00:00
Baligh Uddin
cc461e5396 Import translations. DO NOT MERGE
Change-Id: I88010098d9a42c100d2358646a13416a182e5b6d
Auto-generated-cl: translation import
2013-11-04 09:44:27 -08:00
Victoria Lease
7900702693 am 3dbea35f: Merge "use SpannedStringBuilder to build a SpannedString" into klp-dev
* commit '3dbea35f7eaa6d5f94601a48ebb3be18223d4604':
  use SpannedStringBuilder to build a SpannedString
2013-11-04 08:25:54 -08:00
Victoria Lease
3dbea35f7e Merge "use SpannedStringBuilder to build a SpannedString" into klp-dev 2013-11-04 16:23:15 +00:00
Brian Carlstrom
e92f19e58c Treat UnsatisfiedLinkError as non-fatal
Bug: 11466297
Change-Id: I12be43564da37290b3ee52b1858e44f2229711d9
2013-11-03 22:47:11 -08:00
Adam Powell
b411b32861 Fix action menu visibility callbacks for nested popups
When opening a submenu from a popup in ActionMenuPresenter, delegate
the submenu callbacks to the presenter callback registered on the
ActionMenuPresenter. This allows menu visibility callbacks to
propagate properly so that apps that hide their action bars after a
timeout can detect open menus that are deeply nested.

Bug 11429613

Change-Id: I3332886f08d4f9010f0875057c457566301d12ec
2013-11-01 18:22:11 -07:00
Brian Carlstrom
10193b78b8 am a51052d1: Merge "Move set of persist.sys.dalvik.vm.lib to SystemServer only" into klp-dev
* commit 'a51052d17cf94fcddb5739141132fb9dee75bffb':
  Move set of persist.sys.dalvik.vm.lib to SystemServer only
2013-11-01 17:28:38 -07:00
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
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
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
Victoria Lease
24aecc3fb6 am 24a24b27: am ee4c8464: Merge "Handle surrogate pairs in Html.toHtml()" into klp-dev
* commit '24a24b27903785dedb507b11583b70975fe9f8e4':
  Handle surrogate pairs in Html.toHtml()
2013-11-01 13:30:51 -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
d35e94a3cb am 6be8dde6: am 4846a93b: Merge "Only call dump when a ViewRoot actually exists" into klp-dev
* commit '6be8dde6f6447fe56af2a52554bba77ad0ee8d9c':
  Only call dump when a ViewRoot actually exists
2013-11-01 13:18:39 -07: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
9730fbc0ea am cd250cc8: am 17d28ca3: Check view and focus invariants after calling into app
* commit 'cd250cc8b781c64df8b8d63853d9082f29a6fc2f':
  Check view and focus invariants after calling into app
2013-11-01 12:31:30 -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
Adam Lesinski
83c7ac3b8e Fix off-by-one issue when removing from Iterator
MapCollections' iterator removes the preceding element
which causes IndexOutOfBoundsExceptions to be thrown
when removing the first element while iterating.

bug:11477476
Change-Id: Ifc8fcf0ca1651e759f3b2ab8356404564e9f7d0b
2013-11-01 12:00:53 -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
John Spurlock
9b8145f774 am 17433a63: am b7824a94: Merge "Manage keyguard nav elements using transitions." into klp-dev
* commit '17433a633a3d415fc1932738c0814c3dc6716683':
  Manage keyguard nav elements using transitions.
2013-11-01 11:54:32 -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
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
Brian Carlstrom
6872435264 am 3a9a2089: am e6411e68: Merge "Set persist.sys.dalvik.vm.lib at system server startup" into klp-dev
* commit '3a9a2089852d18ef7abbb9476fc3455bfec5a880':
  Set persist.sys.dalvik.vm.lib at system server startup
2013-10-31 21:39:07 -07: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
Newton Allen
ff236f5fc1 Fix some documentation typos.
Change-Id: I0360d468d54d970c87f313e24e50965245206f28
(cherry picked from commit c502744f2ddcc80a34f5197b5d2c0d701c7d6e71)
2013-11-01 02:38:01 +00:00
Jeff Sharkey
b9c28ce9d4 am 2903d6fa: am c09b6a46: Merge "Better enforcement in DocumentsProvider.call()." into klp-dev
* commit '2903d6fa19e90ad4546330431e2a26245dc0d5bc':
  Better enforcement in DocumentsProvider.call().
2013-10-31 17:59:47 -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
c896147c96 am 9eae380b: am a9f28eea: Merge "Temporary detached views not properly reported to accessibility layer." into klp-dev
* commit '9eae380badaa8512fd2c3b0e01a0aff276d3636b':
  Temporary detached views not properly reported to accessibility layer.
2013-10-31 17:52:10 -07: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
1868689417 am acd8741d: am a84e1197: Merge "Uninitialized UiAutomationConnection incorrectly enforces caller id." into klp-dev
* commit 'acd8741de6610bf3e2ec5ee682f7baa54d1fc383':
  Uninitialized UiAutomationConnection incorrectly enforces caller id.
2013-10-31 17:35:50 -07: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
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
Ruben Brunk
decfe95fce gcam: Avoid leaking repeating CaptureRequests.
Bug: 11352359
Change-Id: I598416c08c0a7c3e5a8054a4d80ed29d82870bd2
2013-10-31 15:33:46 -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