116411 Commits

Author SHA1 Message Date
Michael Wright
3f83674150 Merge "Speculatively schedule input consumption" into klp-dev 2013-10-29 20:20:45 +00:00
Elliott Hughes
c367d48c55 Fix a variety of small publicly-reported bugs.
Possible NULL dereference in cmds/bootanimation/BootAnimation.cpp.
https://code.google.com/p/android/issues/detail?id=61556

Missing fclose in core/jni/android_os_Debug.cpp.
https://code.google.com/p/android/issues/detail?id=61546

Bad loop guards in core/jni/android_util_Process.cpp.
https://code.google.com/p/android/issues/detail?id=61557

Assignment to wrong variable in libs/androidfw/AssetManager.cpp.
https://code.google.com/p/android/issues/detail?id=61560

Missing delete[]s in libs/androidfw/ObbFile.cpp.
https://code.google.com/p/android/issues/detail?id=61549

Leaks on error in tools/aapt/Images.cpp.
https://code.google.com/p/android/issues/detail?id=61552

Two missing fclose calls in tools/aapt/Resource.cpp.
https://code.google.com/p/android/issues/detail?id=61553

Missing fclose in tools/aidl/aidl.cpp.
https://code.google.com/p/android/issues/detail?id=61554

Change-Id: I5820f3824e72d07a9acb776cf0af3e7443f5694a
2013-10-29 13:12:55 -07:00
Jeff Sharkey
3ec2f60ebd Mention external storage changes in KITKAT docs.
Bug: 11388971
Change-Id: I97145472948867f54125f1d0f0237bf3b339535e
2013-10-29 12:23:19 -07:00
Joe Fernandez
dd69787b70 docs: Support Library r19 Release Notes
Change-Id: I953ad72057cc1b20ccbb958511e3d39f28474fb5
2013-10-29 12:02:39 -07:00
Jeff Sharkey
66d079bf25 am f7eb3398: am 19949b9d: Merge "Guard against missing document columns." into klp-dev
* commit 'f7eb3398f16f4d76d2a342cf571040360d5a6df6':
  Guard against missing document columns.
2013-10-29 11:58:21 -07:00
Jeff Sharkey
33819318f6 Suppress OperationCanceledException logging.
These exceptions are normal when an app has cancelled an outstanding
thumbnail request.

Bug: 11385378
Change-Id: I8aed5721b447cda5baf447ac7afd627aa1062863
2013-10-29 11:56:37 -07:00
Jeff Sharkey
f7eb3398f1 am 19949b9d: Merge "Guard against missing document columns." into klp-dev
* commit '19949b9d3de584b283fa9d1ef2489d3e97a3b41a':
  Guard against missing document columns.
2013-10-29 11:56:27 -07:00
Jeff Sharkey
19949b9d3d Merge "Guard against missing document columns." into klp-dev 2013-10-29 18:53:41 +00:00
Jeff Sharkey
5d321d472d Guard against missing document columns.
When filtering and sorting, guard against missing columns to avoid
crashing entire app.

Bug: 11377065
Change-Id: I04f035c918d743bcc84592f05e3ef9ad0ebfadce
2013-10-29 11:48:30 -07:00
Dirk Dougherty
b752c1b559 am 718991b6: am 24445c35: Doc change: fix docs build.
* commit '718991b69c3a19d3992f5151b256df3589ed3f58':
  Doc change: fix docs build.
2013-10-29 11:41:15 -07:00
Dirk Dougherty
718991b69c am 24445c35: Doc change: fix docs build.
* commit '24445c35211a85a92a68527fb93271eadc8d822d':
  Doc change: fix docs build.
2013-10-29 11:38:28 -07:00
Dirk Dougherty
24445c3521 Doc change: fix docs build.
Change-Id: Ifdb25d52629e62b0e909aa3ac00bff4df257ffd2
2013-10-29 11:33:33 -07:00
Craig Mautner
81defc794b Force relayout at completion of status bar animation
A final layout pass should be done whenever the status bar has
completed its incoming animation.

Fixes bug 10387660.

Change-Id: I48c19015c53116b58cf73e20be32d1f64dd682ca
2013-10-29 11:32:30 -07:00
John Spurlock
e7c285725d Optimize sysui ui queue during keyguard unlock.
Target the two biggest offenders:
 - Coalesce keyguard setHidden(false) calls during unlock.
 - Make sysui->WM call async.

Found during investigation into b/11221659.

Bug: 11221659
Change-Id: Icab48376bc356a933e0f9940bc2f924e2e77ab22
2013-10-29 14:27:41 -04:00
Dirk Dougherty
96e6ef623a am 57449569: am 3bdf60dc: Merge "Doc change: Add update ProGuard keep rules for Google Play Services." into klp-dev
* commit '57449569b7290c56f823e90bbfa1281e982ae5f5':
  Doc change: Add update ProGuard keep rules for Google Play Services.
2013-10-29 10:44:38 -07:00
Dirk Dougherty
57449569b7 am 3bdf60dc: Merge "Doc change: Add update ProGuard keep rules for Google Play Services." into klp-dev
* commit '3bdf60dc290f24d4f3f994466fb2f19d4e01d833':
  Doc change: Add update ProGuard keep rules for Google Play Services.
2013-10-29 10:42:56 -07:00
Chris Wren
e0b3f3e106 am 4742fe3c: am 64742f84: Merge "show duration instead of remaining time." into klp-dev
* commit '4742fe3cd79cf1f7d0c84ba87ee3ebdd5eb175d0':
  show duration instead of remaining time.
2013-10-29 10:41:09 -07:00
Chris Wren
af5d6e4952 am f535a6ae: am 5ab93d87: Merge "reduce garbage generation in KeyguardTransportControlView." into klp-dev
* commit 'f535a6aef04b9673a0f6748da0018b962833dd9e':
  reduce garbage generation in KeyguardTransportControlView.
2013-10-29 10:41:06 -07:00
Dirk Dougherty
3bdf60dc29 Merge "Doc change: Add update ProGuard keep rules for Google Play Services." into klp-dev 2013-10-29 17:40:49 +00:00
Chris Wren
4742fe3cd7 am 64742f84: Merge "show duration instead of remaining time." into klp-dev
* commit '64742f8469ce270b6ecf437a624b69dde7a5a056':
  show duration instead of remaining time.
2013-10-29 10:39:28 -07:00
Chris Wren
f535a6aef0 am 5ab93d87: Merge "reduce garbage generation in KeyguardTransportControlView." into klp-dev
* commit '5ab93d873f95256fdcddb8a78fa3c4a6697ec01a':
  reduce garbage generation in KeyguardTransportControlView.
2013-10-29 10:39:25 -07:00
Chris Wren
64742f8469 Merge "show duration instead of remaining time." into klp-dev 2013-10-29 17:37:29 +00:00
Chris Wren
5ab93d873f Merge "reduce garbage generation in KeyguardTransportControlView." into klp-dev 2013-10-29 17:37:13 +00:00
Chris Wren
6af85cc2c6 show duration instead of remaining time.
Bug: 11351406
Change-Id: I1238408c439f9cd12382d9a0889321bbb75618d3
2013-10-29 13:19:54 -04:00
Joe Fernandez
0bcef368d4 docs: SDK-ADT 22.3 Release Notes
Release notes to coincide with the Android 4.4 KitKat release

Change-Id: Iac51a8e3cf4fd245e56435369a646263b8586dce
2013-10-29 10:15:18 -07:00
Chris Wren
cab6965b19 reduce garbage generation in KeyguardTransportControlView.
Bug: 11243508
Change-Id: I8315c27faf935d2465b3ce9e958e6edee00a4d4d
2013-10-29 13:04:00 -04:00
Joe Fernandez
24a18f432c docs: Android 4.4 platform version release notes
Change-Id: I264a95412bcc80e6bf9fcf734bc6b9e93a2570b6
2013-10-29 09:28:35 -07:00
Alex Klyubin
07873e3a72 am 56922039: am b4cae4a9: Merge "Fix SSLCertificateSocketFactory.getDefaultCipherSuites."
* commit '569220399841ae1a3fd62a1b77fa087bca2ee0f3':
  Fix SSLCertificateSocketFactory.getDefaultCipherSuites.
2013-10-29 08:54:15 -07:00
Alex Klyubin
5692203998 am b4cae4a9: Merge "Fix SSLCertificateSocketFactory.getDefaultCipherSuites."
* commit 'b4cae4a955ebd91cf35aaeb00ab12ce6f1d5fc48':
  Fix SSLCertificateSocketFactory.getDefaultCipherSuites.
2013-10-29 08:50:28 -07:00
Alex Klyubin
b4cae4a955 Merge "Fix SSLCertificateSocketFactory.getDefaultCipherSuites." 2013-10-29 15:47:34 +00:00
Svetoslav
3a855ba522 am a4e1f435: am ac5d3827: Merge "Share pack historical sorting using wrong keys." into klp-dev
* commit 'a4e1f4352149b15fa64e9b85928f0b1ba00486fb':
  Share pack historical sorting using wrong keys.
2013-10-29 08:31:39 -07:00
Svetoslav
a4e1f43521 am ac5d3827: Merge "Share pack historical sorting using wrong keys." into klp-dev
* commit 'ac5d3827409dff757531347c5232bb34ea727274':
  Share pack historical sorting using wrong keys.
2013-10-29 08:28:45 -07:00
Svetoslav
37a5a1ea87 am 330c6be9: am 86bfb3af: Merge "Not show share targets that cannot be launched." into klp-dev
* commit '330c6be9dcda95cc2666c2a0cb62ea1cfc9a1d48':
  Not show share targets that cannot be launched.
2013-10-29 08:28:05 -07:00
Svetoslav
330c6be9dc am 86bfb3af: Merge "Not show share targets that cannot be launched." into klp-dev
* commit '86bfb3af4296a1263cb2c01a9e87b5b20015fedb':
  Not show share targets that cannot be launched.
2013-10-29 08:25:18 -07:00
Svetoslav
ac5d382740 Merge "Share pack historical sorting using wrong keys." into klp-dev 2013-10-29 15:24:14 +00:00
Svetoslav
86bfb3af42 Merge "Not show share targets that cannot be launched." into klp-dev 2013-10-29 15:23:27 +00:00
John Spurlock
e0980501e9 Simplify IME policy and enforce in binder calls.
Revert the overly complicated bc7b6fc2a4b701596a2c8eecc4aeef522abeeafa.

Since setImeWindowStatus can be called externally, enforce similar keyguard
policy so that this is not a backdoor for IMEs bound under the keyguard to
drive IME visibility.

Policy is simplified, we keep track of whether the keyguard is locked
when the current IME switches.

This fixes b/7498792 (activity under lockscreen drives IME visibility
when lockscreen is rotated) and does not break b/11186297 (IME visible
when BT keyboard is attached).

Bug:7498792
Change-Id: Idd335cc8259c3532fa869449a9048b420f286e6d
2013-10-29 10:47:07 -04:00
Taeho Kim
130e1294e8 Fixed Drag-and-Drop sample code
Fixed some erros in 'Responding to drag events' sample code on
http://developer.android.com/guide/topics/ui/drag-drop.html

Changed View.OnDragEventListener to View.OnDragListener,
deleted brace start('{') after DragEvent.ACTION_DRAG_ENTERED which
does not have matching ends, and removed 'break' on each case in
swich statement which causes 'Unreachable code' error.
Added return statement at the 'default' case, so that onDrag() method
can return value in all case.

Change-Id: I7d2335f5c405626e3f0cff275b52818762c84634
Signed-off-by: Taeho Kim <jyte82@gmail.com>
2013-10-29 23:32:16 +09:00
Michael Jurka
36b7ea8fac am 160e8aa6: am 2b5297a4: Merge "Load wallpaper images on a bg thread" into klp-dev
* commit '160e8aa6a5188d363866c00526f28704fc61233f':
  Load wallpaper images on a bg thread
2013-10-29 04:59:33 -07:00
Michael Jurka
160e8aa6a5 am 2b5297a4: Merge "Load wallpaper images on a bg thread" into klp-dev
* commit '2b5297a40024e9cf136919d3ea0e88cb4ccfa27c':
  Load wallpaper images on a bg thread
2013-10-29 04:56:17 -07:00
Michael Jurka
2b5297a400 Merge "Load wallpaper images on a bg thread" into klp-dev 2013-10-29 11:41:47 +00:00
Dirk Dougherty
1a1932749c Doc change: Add update ProGuard keep rules for Google Play Services.
Change-Id: I39cc32c821659b82a4ebf800632571d6beaf5474
Bug-Id: 11336556
2013-10-28 23:01:40 -07:00
Svetoslav
27f592df8c Share pack historical sorting using wrong keys.
The ActivityChooserModel keeps a history of the last fifty
share targets and based on past usage orders the targets in
the UI. The soring implementation is using a map for improving
performance. However, the activities in this map were keyed
on the package name but there maybe more that one share
target per package. Thus, the sorting was generating bad
results. Now the unique component name is used.

bug:11195578

Change-Id: I8c7018fea168b7253ddbe57b477028368726e75e
2013-10-28 18:43:08 -07:00
Adam Koch
59782e2d74 am 45895d74: am 7fd5c53c: Merge "Displaying Bitmaps Efficiently Training - updates for KitKat inBitmap changes Bug: 10411797" into klp-dev
* commit '45895d743dc3c0d37a097e83b1d46095ac5e2db0':
  Displaying Bitmaps Efficiently Training - updates for KitKat inBitmap changes Bug: 10411797
2013-10-28 17:20:25 -07:00
Adam Koch
45895d743d am 7fd5c53c: Merge "Displaying Bitmaps Efficiently Training - updates for KitKat inBitmap changes Bug: 10411797" into klp-dev
* commit '7fd5c53c4507995da1e1f1300a2f9def30bffce8':
  Displaying Bitmaps Efficiently Training - updates for KitKat inBitmap changes Bug: 10411797
2013-10-28 17:18:28 -07:00
Adam Koch
7fd5c53c45 Merge "Displaying Bitmaps Efficiently Training - updates for KitKat inBitmap changes Bug: 10411797" into klp-dev 2013-10-29 00:17:03 +00:00
Adam Koch
3a4a1d7174 Displaying Bitmaps Efficiently Training - updates for KitKat inBitmap changes
Bug: 10411797

Change-Id: I720d3ade42da31400a6cc7c7ce9e15793f836363
2013-10-28 20:08:18 -04:00
Svetoslav
c19c3c8d04 am c7f18b52: am 099d842b: Update javadoc to fix the build.
* commit 'c7f18b526f2029e78ea609db688854439e180d31':
  Update javadoc to fix the build.
2013-10-28 16:39:41 -07:00
Svetoslav
c7f18b526f am 099d842b: Update javadoc to fix the build.
* commit '099d842bdac481ea94527ab1f702342e41dca440':
  Update javadoc to fix the build.
2013-10-28 16:34:55 -07:00
Svetoslav
baeabb65e1 Not show share targets that cannot be launched.
This changes filters out share targets that we cannot start
because the target does not properly implement the SEND protocol
and has either share target activity hidden or requires a
permission to launch it. Also the code that launches the share
target activity catches the runtime exception and shows an error
message. Note that being able to launch an activity in a moment
of time is not a guarantee that one can do that latter. Hence,
being able to launch an activity while building the share UI
does not guarantee that one can launch it when selecting the
share target.

bug:11402139

Change-Id: Id35732510755b2eeb9eccacc046d289c2f2ee856
2013-10-28 16:26:47 -07:00