OSDN Git Service
Jason Monk [Thu, 31 Oct 2013 18:43:53 +0000 (18:43 +0000)]
Merge "Change PacProxySelector to return unresolved addr" into klp-dev
John Spurlock [Thu, 31 Oct 2013 18:41:07 +0000 (18:41 +0000)]
Merge "Move coalescing to callback, optimize KeyguardStatusView." into klp-dev
Jason Monk [Wed, 30 Oct 2013 16:37:28 +0000 (12:37 -0400)]
Change PacProxySelector to return unresolved addr
This was found by a bug in Firefox where it expects the addresses from a
ProxySelector to be unresolved. Since ProxySelectorImpl returns unresolved
addresses the PAC version should as well to avoid breaking apps.
The ProxyServer also needed to be updated to reflect this change as it was
expecting a resolved InetSocketAddress.
Bug:
11443853
Change-Id: I3a4e9e248d22d7808603c147660df708e01cdf82
Chris Craik [Thu, 31 Oct 2013 18:12:04 +0000 (18:12 +0000)]
Merge "Revert "Fixed incorrect calculation of dirty invalidation area"" into klp-dev
Chris Craik [Thu, 31 Oct 2013 02:49:37 +0000 (19:49 -0700)]
Revert "Fixed incorrect calculation of dirty invalidation area"
bug:
11351836
Because SeekBar's thumb Drawable (among others) is positioned without
padding offset baked in, include that offset when invalidating.
This revert fixes invalidate positioning in the system volume SeekBar,
where the original CL broke full redrawing of the thumb Drawable when
it switched states.
This reverts commit
e9018f7716d3d2f61602c07c273674585482653d.
Change-Id: I5b3b07e47f466269f8d349e9a63dc29bf213120b
John Spurlock [Thu, 31 Oct 2013 17:36:05 +0000 (17:36 +0000)]
Merge "Update ic_qs_ime assets to standard brightness." into klp-dev
Dirk Dougherty [Thu, 31 Oct 2013 16:50:14 +0000 (16:50 +0000)]
Merge "Doc change: adjust element spacing." into klp-dev
Dirk Dougherty [Thu, 31 Oct 2013 16:49:00 +0000 (09:49 -0700)]
Doc change: adjust element spacing.
Change-Id: I108dbf80e0be7af8ed9934a2fa39bba9cb080c8b
Dirk Dougherty [Thu, 31 Oct 2013 16:46:47 +0000 (16:46 +0000)]
Merge "Doc change: Update landing page for kitkat." into klp-dev
Dirk Dougherty [Sun, 20 Oct 2013 19:47:43 +0000 (12:47 -0700)]
Doc change: Update landing page for kitkat.
Change-Id: Ia552577811ed1cafe0a7c4f56bf0c1b55f8c61c0
Scott Main [Thu, 31 Oct 2013 16:38:14 +0000 (16:38 +0000)]
Merge "add HCE dev guide" into klp-dev
Scott Main [Thu, 31 Oct 2013 16:06:59 +0000 (09:06 -0700)]
add HCE dev guide
Change-Id: I48c196f7f4577304b660c52ba5cd847c0cabfaff
Joe Fernandez [Thu, 31 Oct 2013 16:34:11 +0000 (16:34 +0000)]
Merge "docs: Code Samples landing page - listing fix" into klp-dev
Joe Fernandez [Thu, 31 Oct 2013 16:26:43 +0000 (09:26 -0700)]
docs: Code Samples landing page - listing fix
Change-Id: Id63110642e37bb9232cd1397acf9f47137cd2659
Svetoslav Ganov [Thu, 31 Oct 2013 16:25:21 +0000 (16:25 +0000)]
Merge "Wrong index while dumping the print sub-system's state." into klp-dev
Svetoslav Ganov [Thu, 31 Oct 2013 15:54:16 +0000 (15:54 +0000)]
Merge "Update the PdfDocument docs with unsupported operations." into klp-dev
Svetoslav Ganov [Thu, 31 Oct 2013 15:45:20 +0000 (08:45 -0700)]
Wrong index while dumping the print sub-system's state.
The wrong method was used when getting the user states to dump
and as a result only the state for the current user was dumped
as we get an exception for the other users.
bug:
11457875
Change-Id: I9a3bcac01f1f1cf4f6e72aefff7cff2e0c6bca94
Svetoslav Ganov [Thu, 31 Oct 2013 03:52:04 +0000 (20:52 -0700)]
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
Joe Fernandez [Thu, 31 Oct 2013 14:53:26 +0000 (14:53 +0000)]
Merge "docs: Sample Code landing page - typo fixes" into klp-dev
John Spurlock [Wed, 30 Oct 2013 23:40:48 +0000 (19:40 -0400)]
Move coalescing to callback, optimize KeyguardStatusView.
Move the recent keyguard hidden coalescing down to the callback
level. The lifetime of each callback can be short, make sure
they see visibility changes at least once for each change local
to their lifetime.
KeyguardStatusView.refresh() is called multiple times, and instances
are recreated often. This results in expensive computations
filling the sysui/keyguard ui queue, adding to overall sluggishness.
Traceview points to DateFormat.getBestDateTimePattern as the
main culprit.
As of this change, refresh() will only call the expensive date pattern
computations when absolutely necessary, resulting in better
performance turning the screen off/on.
Bug:
11221659
Bug:
11447043
Change-Id: I3d4105af7db608803b82d8ef0ff141e42c154257
Scott Main [Thu, 31 Oct 2013 14:22:12 +0000 (14:22 +0000)]
Merge "add static landing pages for sample topics" into klp-dev
Joe Fernandez [Thu, 31 Oct 2013 14:21:39 +0000 (07:21 -0700)]
docs: Sample Code landing page - typo fixes
Change-Id: I73e1be3e03bf4d217871cfe273489702292eb4c8
Scott Main [Thu, 31 Oct 2013 14:19:54 +0000 (07:19 -0700)]
add static landing pages for sample topics
Change-Id: I76c04e7916977d426c4d02554f2eb36309996cf4
Dirk Dougherty [Thu, 31 Oct 2013 14:07:58 +0000 (14:07 +0000)]
Merge "Doc change: Design guidelines update." into klp-dev
Dirk Dougherty [Sat, 19 Oct 2013 18:43:41 +0000 (11:43 -0700)]
Doc change: Design guidelines update.
Change-Id: Id37c0bfc1fe7e2c7156aab0ec85df123534c8c96
Bug-id:
11252971 11256762 11256765 11257156 11257769 11276296 11293924 11324992
Przemyslaw Szczepaniak [Thu, 31 Oct 2013 12:40:30 +0000 (12:40 +0000)]
Merge "Catch MissingResourceException caused by bad locale in TTS." into klp-dev
Dirk Dougherty [Thu, 31 Oct 2013 09:31:42 +0000 (02:31 -0700)]
Doc change: Updates to platform highlights.
Change-Id: I7c4a5f8104dd1887fcac32a525301572243cdb81
Dirk Dougherty [Thu, 31 Oct 2013 09:09:02 +0000 (09:09 +0000)]
Merge "Enable samples browsing in builds." into klp-dev
Joe Fernandez [Thu, 31 Oct 2013 06:22:52 +0000 (23:22 -0700)]
docs: Sample Code landing page
Change-Id: Id9979885357cae410fdb7c034321aa902b331267
Dirk Dougherty [Wed, 30 Oct 2013 07:22:16 +0000 (00:22 -0700)]
Enable samples browsing in builds.
Change-Id: Ic47ef693dd5b2cd4010e68a600cae3b88d426bd2
Joe Fernandez [Thu, 31 Oct 2013 04:49:59 +0000 (21:49 -0700)]
docs: SDK-ADT 22.3 RC5 - updated signatures
Updated the sizes and signatures for packaged downloads
Change-Id: I6abdc943132a0c6d7248b06736efe7ce934c43a1
Joe Fernandez [Thu, 31 Oct 2013 04:32:14 +0000 (04:32 +0000)]
Merge "docs: Add screenrecord command to adb docs" into klp-dev
Joe Fernandez [Thu, 31 Oct 2013 01:26:00 +0000 (18:26 -0700)]
docs: Add screenrecord command to adb docs
Change-Id: I27d02d867aed46426e1bde5aa383f69e91bf7b15
Joe Fernandez [Thu, 31 Oct 2013 03:45:32 +0000 (03:45 +0000)]
Merge "docs: Print API training for KitKat release" into klp-dev
Joe Fernandez [Tue, 29 Oct 2013 08:55:12 +0000 (01:55 -0700)]
docs: Print API training for KitKat release
Change-Id: Ifbe40961d4f4a6d4c0546c621174ec45c2a30911
Scott Main [Thu, 31 Oct 2013 02:38:35 +0000 (19:38 -0700)]
add API overview for Android 4.4
Change-Id: I92d3cab755a65da1ee3633a69122e5be1fafc6e9
Dirk Dougherty [Sat, 26 Oct 2013 06:41:20 +0000 (23:41 -0700)]
Doc change: Platform highlights for Android 4.4.
Change-Id: Ic82ca92c224bdc72bdef5f2fcd7921bc17a601a8
Scott Main [Thu, 31 Oct 2013 00:57:30 +0000 (00:57 +0000)]
Merge "add doc about migrating to new WebView in KLP" into klp-dev
Katie McCormick [Thu, 31 Oct 2013 00:26:24 +0000 (00:26 +0000)]
Merge "Doc change: new Storage Access Framework doc" into klp-dev
Katie McCormick [Wed, 30 Oct 2013 23:41:50 +0000 (16:41 -0700)]
am
18ffec85: am
928bc43f: am
ab642495: Merge "Doc update: Managing System UI class" into jb-mr2-docs
* commit '
18ffec8582b7fed897db12358b464ccfb56808df':
Doc update: Managing System UI class
Katie McCormick [Wed, 30 Oct 2013 23:38:58 +0000 (16:38 -0700)]
am
928bc43f: am
ab642495: Merge "Doc update: Managing System UI class" into jb-mr2-docs
* commit '
928bc43fb96400b4b4cc32a1b269781f0ea2da45':
Doc update: Managing System UI class
Katie McCormick [Wed, 30 Oct 2013 23:33:31 +0000 (16:33 -0700)]
am
ab642495: Merge "Doc update: Managing System UI class" into jb-mr2-docs
* commit '
ab6424959ca0dd765f37944dbeaa59a50b99d7a4':
Doc update: Managing System UI class
Scott Main [Wed, 30 Oct 2013 23:32:36 +0000 (23:32 +0000)]
Merge "add filler version of sidenav that will be removed by javascript. This is simply to reduce the perceived load time, which was previously high because the sidenav was mostly empty." into klp-dev
Katie McCormick [Wed, 30 Oct 2013 23:30:44 +0000 (23:30 +0000)]
Merge "Doc update: Managing System UI class" into jb-mr2-docs
Scott Main [Wed, 30 Oct 2013 23:21:01 +0000 (16:21 -0700)]
add filler version of sidenav that will be removed by javascript.
This is simply to reduce the perceived load time, which was previously
high because the sidenav was mostly empty.
Change-Id: Icf0feeb13988efc023ff7eeca0272eb527c874fd
Katie McCormick [Fri, 27 Sep 2013 22:52:14 +0000 (15:52 -0700)]
Doc update: Managing System UI class
Change-Id: I8c8f8864411a4be64426e347351690078c922c1c
Katie McCormick [Sun, 27 Oct 2013 21:47:18 +0000 (14:47 -0700)]
Doc change: new Storage Access Framework doc
Change-Id: I53393bfbadaf7cd5be95a7b252a2f4b060554db5
Joe Fernandez [Wed, 30 Oct 2013 22:12:57 +0000 (22:12 +0000)]
Merge "docs: NDK r9b Release Notes" into klp-dev
Scott Main [Wed, 30 Oct 2013 00:56:00 +0000 (17:56 -0700)]
add doc about migrating to new WebView in KLP
Change-Id: Ib36c3ff58642166dfbc1b36b41f1c732c7d9a70d
Craig Mautner [Wed, 30 Oct 2013 21:05:59 +0000 (21:05 +0000)]
Merge "Save and restore media metadata." into klp-dev
John Spurlock [Wed, 30 Oct 2013 20:45:34 +0000 (20:45 +0000)]
Merge "Simplify IME policy and enforce in binder calls." into klp-dev
Dirk Dougherty [Wed, 30 Oct 2013 20:13:36 +0000 (20:13 +0000)]
Merge "Doc change: Google Play services 4.0 reference docs." into klp-dev
Dirk Dougherty [Wed, 30 Oct 2013 05:25:12 +0000 (22:25 -0700)]
Doc change: Google Play services 4.0 reference docs.
Change-Id: I61c536a80a720364eadec727b9c870d5b869be1a
Christopher Tate [Wed, 30 Oct 2013 19:18:28 +0000 (19:18 +0000)]
Merge "Don't crash when preferred activity settings are malformed" into klp-dev
Michael Jurka [Wed, 30 Oct 2013 18:01:56 +0000 (18:01 +0000)]
Merge "Make wallpaper cropper more robust " into klp-dev
Craig Mautner [Wed, 30 Oct 2013 17:29:38 +0000 (10:29 -0700)]
Save and restore media metadata.
Do not lose media information when configuration changes. Also, do not
wipe out that saved information when the RemoteController is
reconstructed.
Fixes bug
11293859.
Change-Id: Id9e539367bfda2cc6833dc61c922c57ae45dd7b7
Craig Mautner [Wed, 30 Oct 2013 17:13:19 +0000 (17:13 +0000)]
Merge "Do not fetch tasks that don't have activities." into klp-dev
Jeff Sharkey [Wed, 30 Oct 2013 16:21:50 +0000 (16:21 +0000)]
Merge "Move READ_EXTERNAL_STORAGE to storage group." into klp-dev
Joe Fernandez [Thu, 24 Oct 2013 16:55:18 +0000 (09:55 -0700)]
docs: NDK r9b Release Notes
for NDK release coinciding with Android KitKat release
Change-Id: I0db919b5627bb8a5fe9203f70464f17d29cf85ee
Joe Fernandez [Wed, 30 Oct 2013 16:14:54 +0000 (16:14 +0000)]
Merge "docs: Support Library r19 Release Notes" into klp-dev
Joe Fernandez [Wed, 30 Oct 2013 16:14:11 +0000 (16:14 +0000)]
Merge "docs: SDK-ADT 22.3 Release Notes" into klp-dev
Joe Fernandez [Wed, 30 Oct 2013 16:13:11 +0000 (16:13 +0000)]
Merge "docs: Android 4.4 platform version release notes" into klp-dev
Craig Mautner [Wed, 30 Oct 2013 13:58:31 +0000 (13:58 +0000)]
Merge "Force relayout at completion of status bar animation" into klp-dev
Michael Jurka [Wed, 30 Oct 2013 13:40:39 +0000 (14:40 +0100)]
Make wallpaper cropper more robust
- don't crash if image passed to wallpaper picker
is invalid
- close input streams correctly
Bug:
11413915
Bug:
11380658
Bug:
11362731
John Spurlock [Wed, 30 Oct 2013 13:35:22 +0000 (09:35 -0400)]
Update ic_qs_ime assets to standard brightness.
Bug:
11412369
Change-Id: I582f4dfc28eb7453d67c5fe9c1b90a38ad756666
Przemyslaw Szczepaniak [Fri, 20 Sep 2013 14:29:25 +0000 (15:29 +0100)]
Catch MissingResourceException caused by bad locale in TTS.
Malformed locale objects will throw MissingResourceException
from getISO3Country() and getISO3Language() methods.
This change guard against the case where device default locale is
malformed and user tries to get TTS default locale (b/
10814409)
and case where user tries to pass bad locale as argument to
TextToSpeech.getFeatures method (b/
10494193).
Bug:
11429552
Bug:
10494193
Bug:
10814409
Change-Id: Ie54d5d30bb042324da0c0d19b77c3a932c5642f7
(cherry picked from commit
58f16653728417100c61b5cb63298e0e3bb528dc)
Dirk Dougherty [Wed, 30 Oct 2013 04:21:51 +0000 (04:21 +0000)]
Merge "doc change: Update Google Play Services pages for gouda." into klp-dev
Dirk Dougherty [Wed, 30 Oct 2013 04:16:18 +0000 (04:16 +0000)]
Merge "Doc change: add new list of browseable samples and sample groups." into klp-dev
Dirk Dougherty [Wed, 30 Oct 2013 03:59:20 +0000 (20:59 -0700)]
Doc change: add new list of browseable samples and sample groups.
Change-Id: I5f0c6899a34ada9f8dfc492f849c9e03203bc920
Dirk Dougherty [Wed, 30 Oct 2013 03:33:46 +0000 (03:33 +0000)]
Merge "Doc change: Add diff report for API level 19." into klp-dev
Jim Miller [Wed, 30 Oct 2013 02:44:10 +0000 (02:44 +0000)]
Merge "Add an intermediate dimens resource for 540dp device." into klp-dev
Dirk Dougherty [Mon, 21 Oct 2013 05:54:04 +0000 (22:54 -0700)]
doc change: Update Google Play Services pages for gouda.
Change-Id: I222c353a204fcf4594fd8b074889311b67b65ff7
Christopher Tate [Wed, 30 Oct 2013 00:42:26 +0000 (17:42 -0700)]
Don't crash when preferred activity settings are malformed
We also now ignore attempts to set preferred resolutions with
intent filters for which no actions are defined.
Bug
11392870
Change-Id: If0d0b37bf01b59463985441edfc2bddd070bfc2a
Jeff Sharkey [Wed, 30 Oct 2013 00:20:48 +0000 (17:20 -0700)]
Move READ_EXTERNAL_STORAGE to storage group.
Bug:
11437351
Change-Id: I460a3ee7860e8591e601eec7d390c3ca7eed1be6
Michael Wright [Tue, 29 Oct 2013 23:53:55 +0000 (23:53 +0000)]
Merge "Always initialize local boolean variables when possible" into klp-dev
Dirk Dougherty [Wed, 23 Oct 2013 06:52:18 +0000 (23:52 -0700)]
Doc change: Add diff report for API level 19.
Change-Id: I86ccb6cd8e0dbb3bd7115fd619668a2b72bc15b7
Jim Miller [Tue, 29 Oct 2013 23:19:12 +0000 (16:19 -0700)]
Add an intermediate dimens resource for 540dp device.
A 540dp device causes keyguard to select SlidingChallengeLayout
and a height of 400dp which isn't enough space for the security
area. This fix adds an intermediate value to grow the security
area slightly.
Fixes bug
11344424
Change-Id: I35c979f619c593b604e4bf45afd3e591329229e4
Igor Murashkin [Tue, 29 Oct 2013 21:20:53 +0000 (21:20 +0000)]
Merge "am: Increase dropbox buffer size to 256KB (from 128KB)" into klp-dev
Michael Wright [Tue, 29 Oct 2013 20:24:41 +0000 (13:24 -0700)]
Always initialize local boolean variables when possible
It's currently possible to reference deviceModeChanged in InputReader
while it's in an unknown state. Change the style of initialization
here and a few other places to better prevent this type of error.
Bug:
11433748
Change-Id: Ib332406aefb7cdb16b6a21e00dceaeca34679853
John Spurlock [Tue, 29 Oct 2013 20:55:04 +0000 (20:55 +0000)]
Merge "Optimize sysui ui queue during keyguard unlock." into klp-dev
Jeff Sharkey [Tue, 29 Oct 2013 20:46:40 +0000 (20:46 +0000)]
Merge "Mention external storage changes in KITKAT docs." into klp-dev
Jeff Sharkey [Tue, 29 Oct 2013 20:46:39 +0000 (20:46 +0000)]
Merge "Suppress OperationCanceledException logging." into klp-dev
Craig Mautner [Tue, 29 Oct 2013 20:39:26 +0000 (13:39 -0700)]
Do not fetch tasks that don't have activities.
Fixes NullPointerException bug
11432611.
Change-Id: I62e765750e2613ecfb79e13021631ed2cd4e79f3
John Spurlock [Tue, 29 Oct 2013 20:21:49 +0000 (20:21 +0000)]
Merge "Update QS settings icon, remove unused location icon." into klp-dev
Michael Wright [Tue, 29 Oct 2013 20:20:45 +0000 (20:20 +0000)]
Merge "Speculatively schedule input consumption" into klp-dev
Jeff Sharkey [Tue, 29 Oct 2013 19:21:23 +0000 (12:21 -0700)]
Mention external storage changes in KITKAT docs.
Bug:
11388971
Change-Id: I97145472948867f54125f1d0f0237bf3b339535e
Joe Fernandez [Thu, 24 Oct 2013 15:28:11 +0000 (08:28 -0700)]
docs: Support Library r19 Release Notes
Change-Id: I953ad72057cc1b20ccbb958511e3d39f28474fb5
Jeff Sharkey [Tue, 29 Oct 2013 18:56:37 +0000 (11:56 -0700)]
Suppress OperationCanceledException logging.
These exceptions are normal when an app has cancelled an outstanding
thumbnail request.
Bug:
11385378
Change-Id: I8aed5721b447cda5baf447ac7afd627aa1062863
Jeff Sharkey [Tue, 29 Oct 2013 18:53:40 +0000 (18:53 +0000)]
Merge "Guard against missing document columns." into klp-dev
Jeff Sharkey [Tue, 29 Oct 2013 18:48:26 +0000 (11:48 -0700)]
Guard against missing document columns.
When filtering and sorting, guard against missing columns to avoid
crashing entire app.
Bug:
11377065
Change-Id: I04f035c918d743bcc84592f05e3ef9ad0ebfadce
Dirk Dougherty [Tue, 29 Oct 2013 18:33:33 +0000 (11:33 -0700)]
Doc change: fix docs build.
Change-Id: Ifdb25d52629e62b0e909aa3ac00bff4df257ffd2
Craig Mautner [Tue, 29 Oct 2013 18:10:42 +0000 (11:10 -0700)]
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
John Spurlock [Tue, 29 Oct 2013 18:23:51 +0000 (14:23 -0400)]
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
Dirk Dougherty [Tue, 29 Oct 2013 17:40:49 +0000 (17:40 +0000)]
Merge "Doc change: Add update ProGuard keep rules for Google Play Services." into klp-dev
Chris Wren [Tue, 29 Oct 2013 17:37:29 +0000 (17:37 +0000)]
Merge "show duration instead of remaining time." into klp-dev
Chris Wren [Tue, 29 Oct 2013 17:37:13 +0000 (17:37 +0000)]
Merge "reduce garbage generation in KeyguardTransportControlView." into klp-dev
Chris Wren [Tue, 29 Oct 2013 17:19:54 +0000 (13:19 -0400)]
show duration instead of remaining time.
Bug:
11351406
Change-Id: I1238408c439f9cd12382d9a0889321bbb75618d3
Joe Fernandez [Wed, 23 Oct 2013 18:42:07 +0000 (11:42 -0700)]
docs: SDK-ADT 22.3 Release Notes
Release notes to coincide with the Android 4.4 KitKat release
Change-Id: Iac51a8e3cf4fd245e56435369a646263b8586dce
Chris Wren [Tue, 29 Oct 2013 17:04:00 +0000 (13:04 -0400)]
reduce garbage generation in KeyguardTransportControlView.
Bug:
11243508
Change-Id: I8315c27faf935d2465b3ce9e958e6edee00a4d4d
Joe Fernandez [Wed, 23 Oct 2013 16:47:07 +0000 (09:47 -0700)]
docs: Android 4.4 platform version release notes
Change-Id: I264a95412bcc80e6bf9fcf734bc6b9e93a2570b6