OSDN Git Service

android-x86/frameworks-base.git
10 years agoam 0e591c28: (-s ours) am 8098bfac: am dd8e315b: (-s ours) DO NOT MERGE Un-deprecate...
Robert Greenwalt [Mon, 7 Oct 2013 00:10:57 +0000 (17:10 -0700)]
am 0e591c28: (-s ours) am 8098bfac: am dd8e315b: (-s ours) DO NOT MERGE Un-deprecate getDhcpInfo

* commit '0e591c286ede084f5a01f9dc3569c51aa21a4e85':
  DO NOT MERGE Un-deprecate getDhcpInfo

10 years agoam 8098bfac: am dd8e315b: (-s ours) DO NOT MERGE Un-deprecate getDhcpInfo
Robert Greenwalt [Mon, 7 Oct 2013 00:03:56 +0000 (17:03 -0700)]
am 8098bfac: am dd8e315b: (-s ours) DO NOT MERGE Un-deprecate getDhcpInfo

* commit '8098bfac6a08d59697e308a524f96f69e482ecf7':
  DO NOT MERGE Un-deprecate getDhcpInfo

10 years agoMerge "Relax conditions for including windows behind dialogs" into klp-dev
Craig Mautner [Sun, 6 Oct 2013 21:29:34 +0000 (21:29 +0000)]
Merge "Relax conditions for including windows behind dialogs" into klp-dev

10 years agoMerge "Revert to jb-mr2 handling of app died." into klp-dev
Craig Mautner [Sun, 6 Oct 2013 21:29:05 +0000 (21:29 +0000)]
Merge "Revert to jb-mr2 handling of app died." into klp-dev

10 years agoMerge "Make sure to maintain privilege when downgrading bundled apps" into klp-dev
Christopher Tate [Sun, 6 Oct 2013 21:26:19 +0000 (21:26 +0000)]
Merge "Make sure to maintain privilege when downgrading bundled apps" into klp-dev

10 years agoMerge "Fix issue #11050678: Large memory leak in ActivityStack" into klp-dev
Dianne Hackborn [Sun, 6 Oct 2013 20:28:47 +0000 (20:28 +0000)]
Merge "Fix issue #11050678: Large memory leak in ActivityStack" into klp-dev

10 years agoMerge "Fix issue #11086275: Thumbnail only created once for top activity" into klp-dev
Dianne Hackborn [Sun, 6 Oct 2013 20:28:07 +0000 (20:28 +0000)]
Merge "Fix issue #11086275: Thumbnail only created once for top activity" into klp-dev

10 years agoMerge "Fix resource-loading code for TransitionSet" into klp-dev
Chet Haase [Sun, 6 Oct 2013 19:35:15 +0000 (19:35 +0000)]
Merge "Fix resource-loading code for TransitionSet" into klp-dev

10 years agoRelax conditions for including windows behind dialogs
Craig Mautner [Sun, 6 Oct 2013 19:24:56 +0000 (12:24 -0700)]
Relax conditions for including windows behind dialogs

When a dialog has been minimized to recents the windows behind it
won't be visible. Yet we were requiring them to be visible in order to
be included in the ones being restored. This left the background
windows invisible on resume and showed home behind floating dialogs
instead of the activity that launched the dialogs.

Fixes bug 11067724.

Change-Id: Icadd7ec8fe7c73b52982b6ff5b5d98b8fb8476b0

10 years agoFix resource-loading code for TransitionSet
Chet Haase [Sun, 6 Oct 2013 19:10:12 +0000 (12:10 -0700)]
Fix resource-loading code for TransitionSet

The inflation code in TransitionInflater was using the wrong
tag ("set") for TransitionSet. This fix corrects that problem
(changing it to "transitionSet") and documents the correct
tag in the TransitionSet javadocs.

Issue #11085279 Transitions: transition sets loaded from resources don't work

Change-Id: I8aaea9f31bbe368cffcca63d4eb6a5ec06c3ce7b

10 years agoMerge "Evaluate task on top of home when task is brought to front." into klp-dev
Craig Mautner [Sun, 6 Oct 2013 17:44:38 +0000 (17:44 +0000)]
Merge "Evaluate task on top of home when task is brought to front." into klp-dev

10 years agoMerge "Resume user where they left off." into klp-dev
Craig Mautner [Sun, 6 Oct 2013 17:44:17 +0000 (17:44 +0000)]
Merge "Resume user where they left off." into klp-dev

10 years agoRevert to jb-mr2 handling of app died.
Craig Mautner [Sat, 5 Oct 2013 07:03:53 +0000 (00:03 -0700)]
Revert to jb-mr2 handling of app died.

Trying to span all potential stacks looking for apps was too complex
and error-prone. Extending the jb-mr2 method across multiple stacks.

Fixes bug 11080696.

Change-Id: I6391ceae4ad6a0955a409c3fb27472219fd5bf6b

10 years agoMerge "Notify that ASEC containers are being unmounted during upgrades" into klp-dev
Christopher Tate [Sun, 6 Oct 2013 17:23:15 +0000 (17:23 +0000)]
Merge "Notify that ASEC containers are being unmounted during upgrades" into klp-dev

10 years agoMake sure to maintain privilege when downgrading bundled apps
Christopher Tate [Sat, 5 Oct 2013 02:40:09 +0000 (19:40 -0700)]
Make sure to maintain privilege when downgrading bundled apps

When reparsing because the data-volume update has been removed, be sure
to apply privilege when the bundled fallback APK should be allowed it.

Bug 10958159

Change-Id: Ibad52a5644606b27f4ebc5d5d7c1a671283b0752

10 years agoFix bug where pebble app triggers accessibility mode in navbar camera
Jim Miller [Sun, 6 Oct 2013 02:01:00 +0000 (19:01 -0700)]
Fix bug where pebble app triggers accessibility mode in navbar camera

Apparently the Pebble application uses accessibility.  This was
triggering the navbar to resort to accessibility mode for launching
the camera.  The fix is to also require touch exploration to be
enabled.

Fixes bug 11061505

Change-Id: I2245bd37eef9e68911862ce86147b1343816f1a4

10 years agoFix issue #11086275: Thumbnail only created once for top activity
Dianne Hackborn [Sat, 5 Oct 2013 00:26:37 +0000 (17:26 -0700)]
Fix issue #11086275: Thumbnail only created once for top activity

If the last screenshot activity is resumed, we need to always capture
a new screenshot, because it can change at any time.

On the other hand, never create a thumbnail for tasks that have set
themselves to not show on the recent tasks lists, since we have no
use for them.

Change-Id: I38523afc966c125da93339e0100da950119cdf99

10 years agoResume user where they left off.
Craig Mautner [Fri, 4 Oct 2013 22:03:13 +0000 (15:03 -0700)]
Resume user where they left off.

Remember which stack was in front when the user changes. Restore that
stack when the user changes back. Remove user state when user is
deleted.

Fixes bug 11068986.

Change-Id: I18dfbc35a0c2e21e7a4024227cbfc5ba1208b3a3

10 years agoEvaluate task on top of home when task is brought to front.
Craig Mautner [Sat, 5 Oct 2013 03:11:26 +0000 (20:11 -0700)]
Evaluate task on top of home when task is brought to front.

Localize the point where it is determined whether a task should sit on
top of home or return to the task below it.

Fixes bug 11080913.

Change-Id: I79d1ea9722c867d6b550ddfcd1db35517a79cd90

10 years agoNotify that ASEC containers are being unmounted during upgrades
Christopher Tate [Fri, 4 Oct 2013 20:57:22 +0000 (13:57 -0700)]
Notify that ASEC containers are being unmounted during upgrades

When an apk is installed on ordinary unmountable media, a broadcast
is sent when the OS wants to unmount it so that interested parties
can cleanly close any files they have open to read that apk's
resources or similar.  We now send that broadcast when we are
about to unmount the ASEC fs container that holds a forward-locked
apk as well, so that e.g. Home knows to release the resources that
it was using for widget hosting or similar.

Bug 7703848

Change-Id: I71aefdb4086c7b73a128f89c15d192a2b92d09a8

10 years agoMerge "Print UI tweaks." into klp-dev
Svetoslav [Sat, 5 Oct 2013 01:00:33 +0000 (01:00 +0000)]
Merge "Print UI tweaks." into klp-dev

10 years agoMerge "reset mShapingPaint's SkTypeface before we use it" into klp-dev
Victoria Lease [Sat, 5 Oct 2013 00:55:52 +0000 (00:55 +0000)]
Merge "reset mShapingPaint's SkTypeface before we use it" into klp-dev

10 years agoPrint UI tweaks.
Svetoslav [Sat, 5 Oct 2013 00:27:33 +0000 (17:27 -0700)]
Print UI tweaks.

1. The refresh button in a print notification was using
   wrong asset.

2. If the page count is unknown, just not show the page
   count instead unknown.

bug:10983508

Change-Id: I15f1fcbff60fe1f30d37868864da41550bb14487

10 years agoreset mShapingPaint's SkTypeface before we use it
Victoria Lease [Sat, 5 Oct 2013 00:33:35 +0000 (17:33 -0700)]
reset mShapingPaint's SkTypeface before we use it

Harfbuzz works in TTF glyph-space, but most of Skia works in
fallback glyph-space. shapeFontRun() helpfully calculates the
baseGlyphCount needed to convert between the two, but leaves
mShapingPaint's SkTypeface set to the specific TTF being shaped
rather than the original SkTypeface that was requested. Needless
to say, this causes all manner of horrific malady when glyph
indices are calculated in one glyph-index-space and then applied
to another.

To fix this issue, I reset mShapingPaint's SkTypeface when done
with the Harfbuzz shaping operation so that the baseGlyphCount only
gets applied once.

Change-Id: Ia886f89d667634e15e5fc8d7af443c9d1ba89622

10 years agoMerge "Small print API tweaks" into klp-dev
Svetoslav [Fri, 4 Oct 2013 23:48:37 +0000 (23:48 +0000)]
Merge "Small print API tweaks" into klp-dev

10 years agoMerge "Replace searchlight asset with new new asset" into klp-dev
Jim Miller [Fri, 4 Oct 2013 23:48:23 +0000 (23:48 +0000)]
Merge "Replace searchlight asset with new new asset" into klp-dev

10 years agoFix issue #11050678: Large memory leak in ActivityStack
Dianne Hackborn [Fri, 4 Oct 2013 23:44:22 +0000 (16:44 -0700)]
Fix issue #11050678: Large memory leak in ActivityStack

Clear thumbnails from tasks that are removed from the recent tasks list.

Change-Id: I581d5baac9b5a3e046a654eb8448ff877dd2f120

10 years agoReplace searchlight asset with new new asset
Jim Miller [Fri, 4 Oct 2013 23:41:34 +0000 (16:41 -0700)]
Replace searchlight asset with new new asset

Fixes bug 11030712

Change-Id: I8361c74e344ec3f9c7176635face84af2d754973

10 years agoMerge "Enable transitions in lockscreen media controller" into klp-dev
Chet Haase [Fri, 4 Oct 2013 23:26:37 +0000 (23:26 +0000)]
Merge "Enable transitions in lockscreen media controller" into klp-dev

10 years agoMerge "Fix build." into klp-dev
Eino-Ville Talvala [Fri, 4 Oct 2013 23:21:55 +0000 (23:21 +0000)]
Merge "Fix build." into klp-dev

10 years agoSmall print API tweaks
Svetoslav [Fri, 4 Oct 2013 23:20:00 +0000 (16:20 -0700)]
Small print API tweaks

1. Removed an unused public constant

2. Hide PrintFileDocumentAdapter which makes doing the wring
   thing easy.

3. We allow a print service to set a tag of a print job which is
   an arbitrary string it only knows how to interpret. Typically,
   this is the id of a remote print job. This tag was visible to
   applications which is wrong - this is data that should be
   private to the print service. Now the print service is the
   only one to see that.

bug:11084635

Change-Id: I763ea9ff0fdf647805bc36e1737d72263090714d

10 years agoupdate version number for doc stamp
Scott Main [Fri, 4 Oct 2013 20:43:26 +0000 (13:43 -0700)]
update version number for doc stamp

Change-Id: I881510209a56204a464df082840d2dde56312303

10 years agoFix build.
Eino-Ville Talvala [Fri, 4 Oct 2013 23:14:38 +0000 (16:14 -0700)]
Fix build.

Change-Id: I1c3537d936fd467014b966179f5ed2a8c6a696da

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 4 Oct 2013 22:55:38 +0000 (22:55 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 4 Oct 2013 22:53:06 +0000 (22:53 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Camera2: Verbosity is verboten." into klp-dev
Eino-Ville Talvala [Fri, 4 Oct 2013 22:27:59 +0000 (22:27 +0000)]
Merge "Camera2: Verbosity is verboten." into klp-dev

10 years agoMerge "Fix infinite recursion in hashcode of Spannables" into klp-dev
Chet Haase [Fri, 4 Oct 2013 22:12:08 +0000 (22:12 +0000)]
Merge "Fix infinite recursion in hashcode of Spannables" into klp-dev

10 years agoMerge "Print attributes hint not honored." into klp-dev
Svetoslav Ganov [Fri, 4 Oct 2013 22:08:24 +0000 (22:08 +0000)]
Merge "Print attributes hint not honored." into klp-dev

10 years agoMerge "Fix font scaling issues in FastScroller and SubtitleView" into klp-dev
Alan Viverette [Fri, 4 Oct 2013 22:03:59 +0000 (22:03 +0000)]
Merge "Fix font scaling issues in FastScroller and SubtitleView" into klp-dev

10 years agoMerge "Custom pressed states, fixed column sizes." into klp-dev
Jeff Sharkey [Fri, 4 Oct 2013 22:03:43 +0000 (22:03 +0000)]
Merge "Custom pressed states, fixed column sizes." into klp-dev

10 years agoMerge "Fix Text appears on top of existing text when composing in gmail." into klp-dev
Raph Levien [Fri, 4 Oct 2013 22:02:55 +0000 (22:02 +0000)]
Merge "Fix Text appears on top of existing text when composing in gmail." into klp-dev

10 years agoMerge "Avoid NPE when ProviderInfo is missing." into klp-dev
Jeff Sharkey [Fri, 4 Oct 2013 21:49:06 +0000 (21:49 +0000)]
Merge "Avoid NPE when ProviderInfo is missing." into klp-dev

10 years agoCustom pressed states, fixed column sizes.
Jeff Sharkey [Fri, 4 Oct 2013 21:44:56 +0000 (14:44 -0700)]
Custom pressed states, fixed column sizes.

Use custom pressed state assets.  Use fixed column sizes to prevent
truncating of long dates on small screens.

Also tear down any active CAB when switching fragments.

Bug: 1103241811028212
Change-Id: I2bf3dc3f693319b4b55cc901ed460f60faceba35

10 years agoCamera2: Verbosity is verboten.
Eino-Ville Talvala [Fri, 4 Oct 2013 21:39:58 +0000 (14:39 -0700)]
Camera2: Verbosity is verboten.

Bug: 10360518
Change-Id: I155effad61099535bee77cc0d0e380420d96770d

10 years agoam dd8e315b: (-s ours) DO NOT MERGE Un-deprecate getDhcpInfo
Robert Greenwalt [Fri, 4 Oct 2013 21:15:52 +0000 (14:15 -0700)]
am dd8e315b: (-s ours) DO NOT MERGE Un-deprecate getDhcpInfo

* commit 'dd8e315b86614627eb8ba629c713d73034fed357':
  DO NOT MERGE Un-deprecate getDhcpInfo

10 years agoMerge "Add Consumer IR feature" into klp-dev
Alex Ray [Fri, 4 Oct 2013 21:13:34 +0000 (21:13 +0000)]
Merge "Add Consumer IR feature" into klp-dev

10 years agoEnable transitions in lockscreen media controller
Chet Haase [Fri, 4 Oct 2013 01:02:21 +0000 (18:02 -0700)]
Enable transitions in lockscreen media controller

Media controller now fades between different states. The code for
doing this was already there, but this CL enables them and changes
the behavior of transition's OnPreDrawListener to do the right thing.

Also, this CL fixes a bug in ChangeText found while testing this change.

Issue #11083563 ChangeText transition crashes when KEEP transition type used

Change-Id: I5e04c28e1b5faac017b0a4e49734d9faa7fe79cd

10 years agoAvoid NPE when ProviderInfo is missing.
Jeff Sharkey [Fri, 4 Oct 2013 20:53:50 +0000 (13:53 -0700)]
Avoid NPE when ProviderInfo is missing.

Bug: 11052428
Change-Id: I6cb0cf2030a28f571c3f13cd0b9ba76627974697

10 years agoMerge "add -since flag for api level 19 to filter javadocs" into klp-dev
Scott Main [Fri, 4 Oct 2013 20:41:09 +0000 (20:41 +0000)]
Merge "add -since flag for api level 19 to filter javadocs" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 4 Oct 2013 19:50:57 +0000 (12:50 -0700)]
Import translations. DO NOT MERGE

Change-Id: I17e711092eecfea0af5f133185672b729f8d4bf1
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 4 Oct 2013 19:23:39 +0000 (12:23 -0700)]
Import translations. DO NOT MERGE

Change-Id: Id6fb45a4be5a4e32cd673127862ff413526dcc7b
Auto-generated-cl: translation import

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 4 Oct 2013 18:48:44 +0000 (18:48 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoPrint attributes hint not honored.
Svetoslav Ganov [Mon, 30 Sep 2013 16:04:50 +0000 (09:04 -0700)]
Print attributes hint not honored.

1. Initially we have a single printer, the fake PDF printer, and
   wait for printers to be discovered. This printer was handling
   only a couple of media sizes. Hence, if the app provides a
   media size hint and the PDF printer does not support it, we
   were essentially ignoring the suggested media size since it
   was not supported by the selected printer and we fell back to
   the default paper size for that printer. The fake PDF printer
   should support all predefined media sizes.

2. The list of available paper sizes was shown in the order they
   are added ignoring the current locale. It is much better user
   experience if the media sizes used in the current locale are
   shown at the top and all others after that. Also the media
   sizes for the current locale should be alphabetically ordered
   so the user can quickly find the desired one.

3. The orientation was reset on media size or printer change.

bug:10564537

Change-Id: Iaa0d42242730ce69cea3effd4d0f4bc087068804

10 years agoFix font scaling issues in FastScroller and SubtitleView
Alan Viverette [Fri, 4 Oct 2013 18:44:51 +0000 (11:44 -0700)]
Fix font scaling issues in FastScroller and SubtitleView

BUG: 11080227
Change-Id: I0aa84e9b56c6900ad47efd45a5a0f772ce43f810

10 years agoDO NOT MERGE Un-deprecate getDhcpInfo
Robert Greenwalt [Thu, 3 Oct 2013 23:59:05 +0000 (16:59 -0700)]
DO NOT MERGE Un-deprecate getDhcpInfo

Replacement api isn't available.

bug:10003785
Change-Id: I0c91716d9aae61dc1db4d015a78b729157ea99a9

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 4 Oct 2013 18:35:25 +0000 (11:35 -0700)]
Import translations. DO NOT MERGE

Change-Id: I927e06ba5d3e63e0744fac3faa82061dcf2c518d
Auto-generated-cl: translation import

10 years agoMerge "Revert "Use a build-specific wifi country code"" into klp-dev
Robert Greenwalt [Fri, 4 Oct 2013 18:33:51 +0000 (18:33 +0000)]
Merge "Revert "Use a build-specific wifi country code"" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 4 Oct 2013 18:13:19 +0000 (18:13 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 4 Oct 2013 18:13:02 +0000 (18:13 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 4 Oct 2013 18:12:44 +0000 (18:12 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 4 Oct 2013 18:08:41 +0000 (11:08 -0700)]
Import translations. DO NOT MERGE

Change-Id: I1227decae162536bf90ffb753308cb4018e0538e
Auto-generated-cl: translation import

10 years agoMerge "Un-deprecate getDhcpInfo" into klp-dev
Robert Greenwalt [Fri, 4 Oct 2013 18:07:33 +0000 (18:07 +0000)]
Merge "Un-deprecate getDhcpInfo" into klp-dev

10 years agoMerge "Don't redirect dns to an iface without dns servers" into klp-dev
Robert Greenwalt [Fri, 4 Oct 2013 18:06:13 +0000 (18:06 +0000)]
Merge "Don't redirect dns to an iface without dns servers" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 4 Oct 2013 18:05:28 +0000 (11:05 -0700)]
Import translations. DO NOT MERGE

Change-Id: I0774c814f839f7a06aaa3cb023782e8eb0adf305
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 4 Oct 2013 18:02:34 +0000 (11:02 -0700)]
Import translations. DO NOT MERGE

Change-Id: Id91951dbb1084dd04fd93aa1cd26b6b558ff33ef
Auto-generated-cl: translation import

10 years agoMerge "Fix issue #10901205: Shouldn't send broadcasts (or try to bind services, etc...
Dianne Hackborn [Fri, 4 Oct 2013 17:47:33 +0000 (17:47 +0000)]
Merge "Fix issue #10901205: Shouldn't send broadcasts (or try to bind services, etc.)..." into klp-dev

10 years agoUn-deprecate getDhcpInfo
Robert Greenwalt [Fri, 4 Oct 2013 16:53:39 +0000 (09:53 -0700)]
Un-deprecate getDhcpInfo

Replacement api isn't available.

bug:10003785
Change-Id: Ibe981ae90e1c6c2f1b65fa225443ae4cc92c2a3a

10 years agoMerge "Deleting print job files when we do not have to." into klp-dev
Svetoslav Ganov [Fri, 4 Oct 2013 16:50:53 +0000 (16:50 +0000)]
Merge "Deleting print job files when we do not have to." into klp-dev

10 years agoMerge "Fix issue #11069176: Crash showing process stats" into klp-dev
Dianne Hackborn [Fri, 4 Oct 2013 16:49:04 +0000 (16:49 +0000)]
Merge "Fix issue #11069176: Crash showing process stats" into klp-dev

10 years agoMerge "Print UI tweaks as per UX request." into klp-dev
Svetoslav [Fri, 4 Oct 2013 15:58:10 +0000 (15:58 +0000)]
Merge "Print UI tweaks as per UX request." into klp-dev

10 years agoDeleting print job files when we do not have to.
Svetoslav Ganov [Fri, 4 Oct 2013 15:49:03 +0000 (08:49 -0700)]
Deleting print job files when we do not have to.

The print job file name was not properly parsed. This resulted
in incorrect mapping from file to print job, thus deleting the
file when we do not have to.

bug:11069354

Change-Id: I7b8a7a7f98dd77b34119f2a9cd16a6ec3c22b63b

10 years agoMerge "audioservice: fix DTMF stream volume" into klp-dev
Eric Laurent [Fri, 4 Oct 2013 15:18:32 +0000 (15:18 +0000)]
Merge "audioservice: fix DTMF stream volume" into klp-dev

10 years agoFix infinite recursion in hashcode of Spannables
Chet Haase [Fri, 4 Oct 2013 00:21:14 +0000 (17:21 -0700)]
Fix infinite recursion in hashcode of Spannables

An app created a SpannableStringBuilder, one of which's spans was the
instance of the string builder itself (that is, the builder contained a span
that was the builder). This caused infinite recursion in the hashcode()
method because it computes a hash from its fields, including all of its spans.

The fix detects the case where a span equals the current instance and
noops the computation on that span. A similar adjustment was made to equals()
to avoid the same recursion problem.

Issue #11051658 StackOverflowError in android.text.SpannableStringBuilder.hashCode

Change-Id: I742687ab32d81ac51c4b9135f698cf5e96a1d295

10 years agoFix CookieSyncManager for WebViewClassic
Jonathan Dixon [Fri, 4 Oct 2013 12:01:47 +0000 (13:01 +0100)]
Fix CookieSyncManager for WebViewClassic

Add a workaround to ensure that the WebViewDatabase and JniUtil can
still be initialized as side effect of making a CookieSyncManager

This was collateral damage from the fixes for Bug 10932261

Change-Id: If5ba65a7822d5b0afc14139dd84125058bf96897

10 years agoMerge "Replace searchlight asset" into klp-dev
Jim Miller [Fri, 4 Oct 2013 02:26:55 +0000 (02:26 +0000)]
Merge "Replace searchlight asset" into klp-dev

10 years agoReplace searchlight asset
Jim Miller [Fri, 4 Oct 2013 02:20:58 +0000 (19:20 -0700)]
Replace searchlight asset

Fixes bug 11030712

Change-Id: Ia25dec35dd3a8d59f98521e579bc1d269518c395

10 years agoMerge "Fix bug where dismiss() was being called from the wrong thread" into klp-dev
Jim Miller [Fri, 4 Oct 2013 02:18:34 +0000 (02:18 +0000)]
Merge "Fix bug where dismiss() was being called from the wrong thread" into klp-dev

10 years agoFix bug where dismiss() was being called from the wrong thread
Jim Miller [Fri, 4 Oct 2013 01:31:34 +0000 (18:31 -0700)]
Fix bug where dismiss() was being called from the wrong thread

One-way calls to binder do not guarantee the call will always
occur on the originating thread.  This fixes a rare case where
keyguard would crash due to dismiss() being called from the wrong
thread.

Fixes bug 11065316

Change-Id: Iddd281964231a152e3342e21b6b88527eab94caf

10 years agoMerge "Fix a bug in action menu measurement" into klp-dev
Adam Powell [Fri, 4 Oct 2013 01:29:34 +0000 (01:29 +0000)]
Merge "Fix a bug in action menu measurement" into klp-dev

10 years agoFix issue #10901205: Shouldn't send broadcasts (or try to bind services, etc.)...
Dianne Hackborn [Fri, 4 Oct 2013 01:27:48 +0000 (18:27 -0700)]
Fix issue #10901205: Shouldn't send broadcasts (or try to bind services, etc.)...

...to crashing processes.

So don't.

Change-Id: I4b4fefb501b430fadaca93405206264318c8b95d

10 years agoFix a bug in action menu measurement
Adam Powell [Fri, 4 Oct 2013 01:21:58 +0000 (18:21 -0700)]
Fix a bug in action menu measurement

Thanks to a measurement optimization in KK, the view recycling
behavior of ActionMenuPresenter could get into a state where the
resulting ActionMenuView had changed but no layout was
requested. Explicitly request a layout during menu update. Also fix an
ancient typo.

Bug 11047996

Change-Id: I6289fd2d142ac7d2101fbec6de19b7d3d7fbd6a2

10 years agoAdd Consumer IR feature
Alex Ray [Thu, 3 Oct 2013 19:17:54 +0000 (12:17 -0700)]
Add Consumer IR feature

Bug: 10676690
Change-Id: Id2c118225dc6ef259f5ed97da4071e9b6de3a83a

10 years agoaudioservice: fix DTMF stream volume
Eric Laurent [Fri, 4 Oct 2013 01:15:07 +0000 (18:15 -0700)]
audioservice: fix DTMF stream volume

DTMF stream must also be muted by silent mode when following ring
stream volume in order to be properly muted and unmuted when ringer
mode changes.

Also fix a problem in VolumeStreamState.setAllIndexes() when some
devices are not present in the stream state from which indexes
are copied.

Bug: 10932676.
Change-Id: I373d0fd1a475980786d97d97348d46a7e7421461

10 years agoMerge "Use networkType to display wifi and mobile notification separately." into...
Wink Saville [Fri, 4 Oct 2013 00:52:59 +0000 (00:52 +0000)]
Merge "Use networkType to display  wifi and mobile notification separately." into klp-dev

10 years agoMerge "Set P2p statemachine's network manager before starting Wifi" into klp-dev
Vinit Deshapnde [Fri, 4 Oct 2013 00:40:31 +0000 (00:40 +0000)]
Merge "Set P2p statemachine's network manager before starting Wifi" into klp-dev

10 years agoFix issue #11069176: Crash showing process stats
Dianne Hackborn [Fri, 4 Oct 2013 00:32:19 +0000 (17:32 -0700)]
Fix issue #11069176: Crash showing process stats

Change-Id: Ie568ebcb9863bed95c775b9b28654a5e2dc464cd

10 years agoMerge "Fix docs" into klp-dev
Adam Powell [Fri, 4 Oct 2013 00:28:57 +0000 (00:28 +0000)]
Merge "Fix docs" into klp-dev

10 years agoMerge "New Telephony APIs to return MMS UA and UAProfUrl" into klp-dev
Yuhao Zheng [Fri, 4 Oct 2013 00:14:17 +0000 (00:14 +0000)]
Merge "New Telephony APIs to return MMS UA and UAProfUrl" into klp-dev

10 years agoadd -since flag for api level 19 to filter javadocs
Scott Main [Thu, 3 Oct 2013 23:46:53 +0000 (16:46 -0700)]
add -since flag for api level 19 to filter javadocs

Change-Id: I96e7e31f93b1e3c3877a342b84fb069bda5d92e3

10 years agoFix docs
Adam Powell [Thu, 3 Oct 2013 23:39:30 +0000 (16:39 -0700)]
Fix docs

Change-Id: I19e0cdab6c526f7eed376fc2067b5c49b31a3ea9

10 years agoSet P2p statemachine's network manager before starting Wifi
Vinit Deshapnde [Thu, 3 Oct 2013 23:18:56 +0000 (16:18 -0700)]
Set P2p statemachine's network manager before starting Wifi

Wifi statemachine starts P2p statemachine; which uses network management
service to (i.e. netd) to start p2p0 interface. But it only gets a
reference to network management service in conenctivityServiceReady().
Calling that later means there's a chance of a race between this
thread's setting of the network manager, and P2p statemachine thread's
usage of the same.

Bug: 11048296
Change-Id: If151026ed5fbb12db57ee7f9bdd47c67dd7142e5

10 years agoMerge "Fix lockscreen wave animation artifacts" into klp-dev
Chet Haase [Thu, 3 Oct 2013 23:08:22 +0000 (23:08 +0000)]
Merge "Fix lockscreen wave animation artifacts" into klp-dev

10 years agoFix lockscreen wave animation artifacts
Chet Haase [Wed, 2 Oct 2013 23:11:54 +0000 (16:11 -0700)]
Fix lockscreen wave animation artifacts

On some display sizes, the wave animation was sometimes
running more than once, starting over in the center and animating
outward... partially.

The problem was that the calculations determining the alpha value
of the dots was returning bogus values when the display area was
large enough, which is why the bug is only on some devices.

This fix simplifies the math and ensures that the wave only animates
once, from start to finish.

Issue #11005936 regression on lockscreen animation for multi-wave widget

Change-Id: Id21a2e4d2271f01c82c4bc6e1f37d78e68b9b6e4

10 years agoMerge "Add a scrubber to keyguard; layout tweaks" into klp-dev
Adam Powell [Thu, 3 Oct 2013 22:35:34 +0000 (22:35 +0000)]
Merge "Add a scrubber to keyguard; layout tweaks" into klp-dev

10 years agoMerge "Update default keyguard clock to new UX specification" into klp-dev
Jim Miller [Thu, 3 Oct 2013 22:32:24 +0000 (22:32 +0000)]
Merge "Update default keyguard clock to new UX specification" into klp-dev

10 years agoUpdate default keyguard clock to new UX specification
Jim Miller [Tue, 1 Oct 2013 23:55:19 +0000 (16:55 -0700)]
Update default keyguard clock to new UX specification

Change-Id: I0d5f302d8bd5922acd45cfe1de42cb76cebc02e5

10 years agoNew Telephony APIs to return MMS UA and UAProfUrl
Yuhao Zheng [Thu, 3 Oct 2013 21:37:47 +0000 (14:37 -0700)]
New Telephony APIs to return MMS UA and UAProfUrl

Added two public APIs under TelephonyManager to return MMS UserAgent and
UAProfUrl strings, for apps that handle SMS/MMS.

Bug: 11054501

Change-Id: Ifa1a64990fa2bf7d0e340d784a9672bf79525338

10 years agoAdd a scrubber to keyguard; layout tweaks
Adam Powell [Mon, 30 Sep 2013 23:16:24 +0000 (16:16 -0700)]
Add a scrubber to keyguard; layout tweaks

Switch KeyguardTransportControlView over to using RemoteController
instead of the internal API.

Guard transition animations behind a flag until we can work out some
intermittent issues.

Change-Id: Ie9f41339ce6e735c5d524db88437672f2c9859e2

10 years agoMerge "Ensure WallpaperEngine has correct size information" into klp-dev
Michael Wright [Thu, 3 Oct 2013 21:51:58 +0000 (21:51 +0000)]
Merge "Ensure WallpaperEngine has correct size information" into klp-dev

10 years agoFix Text appears on top of existing text when composing in gmail.
Raph Levien [Thu, 3 Oct 2013 20:48:04 +0000 (13:48 -0700)]
Fix Text appears on top of existing text when composing in gmail.

Fix for bug 6473708. This patch changes from "last update wins" to
merging together the change regions, in the logic of deciding which
blocks need to be updated for painting, so that when there are multiple
changes batched for a draw, they're all taken into account.

Change-Id: I183d453c436125e5efec7031b4d61b43989653f9