OSDN Git Service

android-x86/frameworks-base.git
10 years agoFix layoutlib for KK
Deepanshu Gupta [Thu, 17 Oct 2013 03:27:51 +0000 (20:27 -0700)]
Fix layoutlib for KK

Fix a NPE, update the native methods for NinePatch and update an ICU
method to return the right value as required by DatePicker widget.

Bug: 11140701
Change-Id: Id92fc5359acf6dde1bcdbc781aaf637fdb6eecbf

10 years agoam a4825fbe: am 655d8c40: am 4aa6b10c: add some search suggestions
Scott Main [Wed, 16 Oct 2013 18:29:58 +0000 (11:29 -0700)]
am a4825fbe: am 655d8c40: am 4aa6b10c: add some search suggestions

* commit 'a4825fbe24871c57cc855c7d8640a92d114c0514':
  add some search suggestions

10 years agoam 655d8c40: am 4aa6b10c: add some search suggestions
Scott Main [Wed, 16 Oct 2013 18:27:46 +0000 (11:27 -0700)]
am 655d8c40: am 4aa6b10c: add some search suggestions

* commit '655d8c40092730c8029299eb28961263eaad086c':
  add some search suggestions

10 years agoam 4aa6b10c: add some search suggestions
Scott Main [Wed, 16 Oct 2013 18:21:41 +0000 (11:21 -0700)]
am 4aa6b10c: add some search suggestions

* commit '4aa6b10c7f79090ddf72d64dcc3954fbf135e192':
  add some search suggestions

10 years agoadd some search suggestions
Scott Main [Wed, 16 Oct 2013 18:15:55 +0000 (11:15 -0700)]
add some search suggestions

Change-Id: I6b3026bff30dc27119995d93529874fdfa000d5f

10 years agoMerge "Fix issue where keyguard reports a valid token but doesn't draw" into klp-dev
Jim Miller [Wed, 16 Oct 2013 07:05:22 +0000 (07:05 +0000)]
Merge "Fix issue where keyguard reports a valid token but doesn't draw" into klp-dev

10 years agoMerge "Fix memory leak and slowness in keyguard" into klp-dev
Jim Miller [Wed, 16 Oct 2013 03:52:09 +0000 (03:52 +0000)]
Merge "Fix memory leak and slowness in keyguard" into klp-dev

10 years agoFix memory leak and slowness in keyguard
Jim Miller [Wed, 16 Oct 2013 03:09:07 +0000 (20:09 -0700)]
Fix memory leak and slowness in keyguard

This fixes an issue where the mUpdateSeekBars runnable was being
repeatedly posted to the handler while keeping a reference to
the transport control (and hence keyguard).  Even after the view
was detached from keyguard it would continue to post events that
would ultimately keep the instance of keyguard from being GC'd and
cause keyguard to slow down.

Fixes 11169793

Change-Id: If2bb238adf6d78101589926b60a61d9f187c6d1c

10 years agoMerge "Fix dodgy states of keyguard transport controls" into klp-dev
Adam Powell [Wed, 16 Oct 2013 01:41:21 +0000 (01:41 +0000)]
Merge "Fix dodgy states of keyguard transport controls" into klp-dev

10 years agoFix dodgy states of keyguard transport controls
Adam Powell [Tue, 15 Oct 2013 22:30:06 +0000 (15:30 -0700)]
Fix dodgy states of keyguard transport controls

If a layout has already been requested when we want to show the
correct widget pane, post the event for later and immediately return.

This works because PagedView has some interesting ideas about
maintaining a consistent state. It will attempt to recalculate the
current page position during measurement, but thanks to a reliance on
this measurement to establish scrolling boundaries that scrollTo uses
for clamping plus other code that depends on the idea that it can add
a new widget pane view and immediately scroll to it, this attempt to
scroll fails if the target page was added and measurement is not yet
complete. This patch ensures we don't hit these edge cases in a few
known ways.

While this ends things in the correct state, it predictably has a few
visual artifacts. Situations where things would completely fail
before, positioning pages incorrectly or fading out wrong pages now
will briefly flash and fade the widget frames or in some cases will
visibly animate from the starting page to the correct one. We should
address these issues in a future release.

Bug 11217368
Bug 9760604

Change-Id: I989d03b5bfdd5b6403a6b67a8aae7585ca0c8ae0

10 years agoFix issue where keyguard reports a valid token but doesn't draw
Jim Miller [Wed, 16 Oct 2013 00:48:15 +0000 (17:48 -0700)]
Fix issue where keyguard reports a valid token but doesn't draw

This fixes an issue where keyguard isn't showing but tells
PhoneWindowManager to wait anyway.  The fix is to send a null token
when keyguard isn't showing.

Fixes bug 11216030

Change-Id: I4985fe50c63819415d9d5a1de0b741c8aa6391d8

10 years agoMerge "Improve DocumentsProvider and contract docs." into klp-dev
Jeff Sharkey [Wed, 16 Oct 2013 00:47:36 +0000 (00:47 +0000)]
Merge "Improve DocumentsProvider and contract docs." into klp-dev

10 years agoMerge "Retry captiveportal check even if only one addr" into klp-dev
Robert Greenwalt [Wed, 16 Oct 2013 00:31:03 +0000 (00:31 +0000)]
Merge "Retry captiveportal check even if only one addr" into klp-dev

10 years agoMerge "Remove debug logging." into klp-dev
Craig Mautner [Wed, 16 Oct 2013 00:27:50 +0000 (00:27 +0000)]
Merge "Remove debug logging." into klp-dev

10 years agoMerge "Restore window manager stack order on user switch." into klp-dev
Craig Mautner [Wed, 16 Oct 2013 00:27:32 +0000 (00:27 +0000)]
Merge "Restore window manager stack order on user switch." into klp-dev

10 years agoMerge changes I536021b9,I6eb541c9,I6ac08eca into klp-dev
Igor Murashkin [Wed, 16 Oct 2013 00:01:07 +0000 (00:01 +0000)]
Merge changes I536021b9,I6eb541c9,I6ac08eca into klp-dev

* changes:
  SmartCamera: Fix to build against latest camera2 api
  Camera2Tests: update SmartCamera for async api
  Camera2Tests: Add SmartCamera App

10 years agoMerge "Improve OPEN/CREATE_DOC docs." into klp-dev
Jeff Sharkey [Tue, 15 Oct 2013 23:45:10 +0000 (23:45 +0000)]
Merge "Improve OPEN/CREATE_DOC docs." into klp-dev

10 years agoMerge "Improve external storage docs on Context." into klp-dev
Jeff Sharkey [Tue, 15 Oct 2013 23:44:54 +0000 (23:44 +0000)]
Merge "Improve external storage docs on Context." into klp-dev

10 years agoImprove DocumentsProvider and contract docs.
Jeff Sharkey [Tue, 15 Oct 2013 22:46:10 +0000 (15:46 -0700)]
Improve DocumentsProvider and contract docs.

Bug: 10567557
Change-Id: I71e7f7ad172e9986e58b9c9533b1c948c5530397

10 years agoMerge "Force the wallpaper to reload when dimensions change" into klp-dev
Michael Wright [Tue, 15 Oct 2013 23:40:14 +0000 (23:40 +0000)]
Merge "Force the wallpaper to reload when dimensions change" into klp-dev

10 years agoRemove debug logging.
Craig Mautner [Tue, 15 Oct 2013 23:13:50 +0000 (16:13 -0700)]
Remove debug logging.

Change-Id: I5d7c11e8b8525bfc8eb87bb0fff4f71337b4a39d

10 years agoBring deleted files from the dead.
Baligh Uddin [Tue, 15 Oct 2013 22:41:58 +0000 (15:41 -0700)]
Bring deleted files from the dead.
These files were dropped by the translation
pipelines because they do not contain any
translated elements, but in reality they
are needed.

Bug: 11226380

10 years agoRestore window manager stack order on user switch.
Craig Mautner [Tue, 15 Oct 2013 22:44:14 +0000 (15:44 -0700)]
Restore window manager stack order on user switch.

Only the activity stacks were being restored. Also add needed debug
logs.

Fixes bug 11223831.

Change-Id: Ief42688721c49e8cea14277619c797bf7c25b859

10 years agoSmartCamera: Fix to build against latest camera2 api
Igor Murashkin [Tue, 15 Oct 2013 22:23:07 +0000 (15:23 -0700)]
SmartCamera: Fix to build against latest camera2 api

Bug: 10818732
Change-Id: I536021b9663331532e2f4c21a4fc0f3de5da9aa9

10 years agoCamera2Tests: update SmartCamera for async api
Igor Murashkin [Fri, 20 Sep 2013 22:45:50 +0000 (15:45 -0700)]
Camera2Tests: update SmartCamera for async api

Change-Id: I6eb541c96ee50756c35e7785fdae63e8e45e2726

10 years agoCamera2Tests: Add SmartCamera App
Benjamin Hendricks [Thu, 19 Sep 2013 21:40:45 +0000 (14:40 -0700)]
Camera2Tests: Add SmartCamera App

Bug: 10818732
Change-Id: I6ac08ecab3a1e04116be2f7764d0d5d4f29c5cd9

10 years agoMerge "Fix possible crash in System UI" into klp-dev
Jim Miller [Tue, 15 Oct 2013 21:44:48 +0000 (21:44 +0000)]
Merge "Fix possible crash in System UI" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 15 Oct 2013 21:27:27 +0000 (14:27 -0700)]
Import translations. DO NOT MERGE

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

10 years agoImprove OPEN/CREATE_DOC docs.
Jeff Sharkey [Tue, 15 Oct 2013 20:54:44 +0000 (13:54 -0700)]
Improve OPEN/CREATE_DOC docs.

Bug: 10936473
Change-Id: I4378aaaf927f114982191efd4f9887dad075390d

10 years agoFix possible crash in System UI
Jim Miller [Tue, 15 Oct 2013 20:46:51 +0000 (13:46 -0700)]
Fix possible crash in System UI

Fixes bug 11215581

Change-Id: Ic76ad783729316539e8e57feb098d6e823b4ecdf

10 years agoForce the wallpaper to reload when dimensions change
Michael Wright [Tue, 15 Oct 2013 19:49:44 +0000 (12:49 -0700)]
Force the wallpaper to reload when dimensions change

Currently it's possible for the home application to suggest new
wallpaper dimensions and the WallpaperService to request the bitmap
between when the new dimensions have been propagated and the old
bitmap has been forgotten. This leads to the WallpaperService
drawing a Bitmap with the old dimensions into a Surface with the new
dimensions.

By forcing the WallpaperManager to forget the old Bitmap immediately
before we reload it, we can ensure that we always have a Bitmap of
the correct size.

Bug: 10853302
Change-Id: I298ac5f3f8bcde54eeb1e45d21bf2ba3cbb618c9

10 years agoImprove external storage docs on Context.
Jeff Sharkey [Tue, 15 Oct 2013 19:38:15 +0000 (12:38 -0700)]
Improve external storage docs on Context.

Bug: 10461652
Change-Id: I42a3d887418e126f9dc2a9be8060a8eedd425f8e

10 years agoRetry captiveportal check even if only one addr
Robert Greenwalt [Tue, 15 Oct 2013 01:03:02 +0000 (18:03 -0700)]
Retry captiveportal check even if only one addr

We're getting some false positive results on this check and
while it was coded to try 3 times given sufficient independent addrs
the default url resolves to a single address so we'd just try once.

Rework to try again even with fewer urls to try to reduce the false
positives.

Also adds a random query param to fool proxies into not caching.

bug:9972012
Change-Id: Ib719f40ec612065ca6bcd919549fc1164506d35a

10 years agoMerge "Update resource name for renamed string." into klp-dev
John Spurlock [Tue, 15 Oct 2013 19:34:02 +0000 (19:34 +0000)]
Merge "Update resource name for renamed string." into klp-dev

10 years agoMerge "Updated rssi assets for quick settings" into klp-dev
Daniel Sandler [Tue, 15 Oct 2013 18:02:27 +0000 (18:02 +0000)]
Merge "Updated rssi assets for quick settings" into klp-dev

10 years agoUpdated rssi assets for quick settings
Daniel Sandler [Sun, 13 Oct 2013 19:54:40 +0000 (15:54 -0400)]
Updated rssi assets for quick settings

Bug: 10641374
Change-Id: I6b1bc9b0e86be331b71614b511026a67bc429031

10 years agoMerge "Adding a missing resource file." into klp-dev
Svetoslav Ganov [Tue, 15 Oct 2013 17:17:31 +0000 (17:17 +0000)]
Merge "Adding a missing resource file." into klp-dev

10 years agoUpdate resource name for renamed string.
John Spurlock [Tue, 15 Oct 2013 15:20:05 +0000 (11:20 -0400)]
Update resource name for renamed string.

Fix translations for recently renamed string.

Also remove old name from symbols.xml.  The resource is no
longer referenced in code, and will break builds without
translations.

Bug:11062108
Change-Id: I61977cb1ee5298947b3ee48b5fbd0354727253c0

10 years agoCamera2: return CaptureResult.STATISTICS_FACES
Zhijun He [Mon, 14 Oct 2013 22:29:37 +0000 (15:29 -0700)]
Camera2: return CaptureResult.STATISTICS_FACES

Changes included in this CL:

- remove the WAR for face detect mode null case.
- make the sanity check assert to warnings.
- make number of faces to be the minimal length of face metadata array length to
avoid out of bound access, since we relax the sanity check.

Bug: 11206459
Change-Id: Ifd9f7f79617039c1b3ad631f202b48076d775e09

10 years agoMerge "Delete BrowserTestPlugin." into klp-dev
Torne (Richard Coles) [Tue, 15 Oct 2013 11:48:17 +0000 (11:48 +0000)]
Merge "Delete BrowserTestPlugin." into klp-dev

10 years agoMerge "Fix error when PAC set rapidly" into klp-dev
Jason Monk [Tue, 15 Oct 2013 11:15:00 +0000 (11:15 +0000)]
Merge "Fix error when PAC set rapidly" into klp-dev

10 years agoDelete BrowserTestPlugin.
Torne (Richard Coles) [Tue, 15 Oct 2013 11:05:13 +0000 (12:05 +0100)]
Delete BrowserTestPlugin.

The new WebView doesn't support plugins.

Bug: 10427705
Change-Id: I4678bf4771d402bec882193c7a2f3d05d918f042

10 years agoDelete the old WebView.
Torne (Richard Coles) [Mon, 14 Oct 2013 15:28:11 +0000 (16:28 +0100)]
Delete the old WebView.

Delete all the Java classes used only by the old WebView implementation,
and also sections of common classes that were only needed for the old
WebView.

Bug: 10427705
Change-Id: I02549a71104b35d86d99058c71f43e054730ec7d

10 years agoRemove support for switching WebView.
Torne (Richard Coles) [Mon, 14 Oct 2013 16:14:04 +0000 (17:14 +0100)]
Remove support for switching WebView.

WebViewFactory remains as an abstraction layer, but will now always
creates Chromium WebView instances.

Bug: 10427705
Change-Id: I045e43eb35462567fecd29d04e7b61902baef547

10 years agoDelete HttpHeaderTest.testCacheControlMultipleArguments.
Torne (Richard Coles) [Mon, 14 Oct 2013 16:27:42 +0000 (17:27 +0100)]
Delete HttpHeaderTest.testCacheControlMultipleArguments.

This test depends on internals of the old WebView to work which have
already been removed. It doesn't appear to be testing anything useful.

Bug: 10427705
Change-Id: I5e93b212c33f22776050b6e1ec639e23f41a1d4a

10 years agoRemove old WebView classes from zygote preload list.
Torne (Richard Coles) [Tue, 15 Oct 2013 09:45:18 +0000 (10:45 +0100)]
Remove old WebView classes from zygote preload list.

Don't preload java classes used only by the old WebView implementation.

Bug: 10427705
Change-Id: I1378ab564ef2d173e08806c30d1deb6020d65ba8

10 years agoAdding a missing resource file.
Svetoslav Ganov [Tue, 15 Oct 2013 07:18:09 +0000 (00:18 -0700)]
Adding a missing resource file.

This is a resource file cotaining the media sizes for the Catalan
locale. Without it the print spooler crashes all the time for that
locale since it cannot construct the PDF printer correctly.

bug:11226380

Change-Id: I7fa9c9bf4ed073e5f4ddf0d0fe9de4998e3467d4

10 years agoMerge "Camera2: Fix face rectangle coordinate mapping, and use Key.equals" into klp-dev
Eino-Ville Talvala [Tue, 15 Oct 2013 06:41:58 +0000 (06:41 +0000)]
Merge "Camera2: Fix face rectangle coordinate mapping, and use Key.equals" into klp-dev

10 years agoMerge "Put DessertCase on a diet." into klp-dev
Daniel Sandler [Tue, 15 Oct 2013 04:44:05 +0000 (04:44 +0000)]
Merge "Put DessertCase on a diet." into klp-dev

10 years agoPut DessertCase on a diet.
Daniel Sandler [Tue, 15 Oct 2013 04:17:25 +0000 (00:17 -0400)]
Put DessertCase on a diet.

- store desserts as ALPHA_8, saving 75% of bitmap memory
- run DessertCase in its own process, avoiding bloating
  systemui every time the daydream or platlogo activity run
- lock orientation in DessertCase to stop thrashing around
  when the device is rotated

Bug: 10918599
Change-Id: Ia2fb0696b903ae355c75b53d3a0c45b70784d00c

10 years agoMerge "Fix getBuiltInWallpaper method" into klp-dev
Michael Jurka [Tue, 15 Oct 2013 03:49:13 +0000 (03:49 +0000)]
Merge "Fix getBuiltInWallpaper method" into klp-dev

10 years agoFix getBuiltInWallpaper method
Michael Jurka [Tue, 15 Oct 2013 03:44:42 +0000 (20:44 -0700)]
Fix getBuiltInWallpaper method

10 years agoMerge "Don't move clock when warping in PagedView" into klp-dev
Jim Miller [Tue, 15 Oct 2013 01:57:25 +0000 (01:57 +0000)]
Merge "Don't move clock when warping in PagedView" into klp-dev

10 years agoMerge "remove U+261d from MTLmr3m.ttf" into klp-dev
Victoria Lease [Tue, 15 Oct 2013 01:52:14 +0000 (01:52 +0000)]
Merge "remove U+261d from MTLmr3m.ttf" into klp-dev

10 years agoMerge "Package checks for resloving recovery tokens should be user sensitive." into...
Carlos Valdivia [Tue, 15 Oct 2013 01:45:45 +0000 (01:45 +0000)]
Merge "Package checks for resloving recovery tokens should be user sensitive." into klp-dev

10 years agoMerge "Clear displayStartTime whenever starting activity." into klp-dev
Craig Mautner [Tue, 15 Oct 2013 01:28:47 +0000 (01:28 +0000)]
Merge "Clear displayStartTime whenever starting activity." into klp-dev

10 years agoMerge "Give IMEs the entire screen to use for measuring purposes." into klp-dev
John Spurlock [Tue, 15 Oct 2013 01:27:42 +0000 (01:27 +0000)]
Merge "Give IMEs the entire screen to use for measuring purposes." into klp-dev

10 years agoClear displayStartTime whenever starting activity.
Craig Mautner [Tue, 15 Oct 2013 01:24:52 +0000 (18:24 -0700)]
Clear displayStartTime whenever starting activity.

setLaunchTime() was only being called from resumeTopActivityLaunched()
but also needed to be called from minimalResumeActivityLocked().

Fixes bug 11104901.

Change-Id: I35c994562dffaf75de014021c775e398224eb3a3

10 years agoCamera2: Fix face rectangle coordinate mapping, and use Key.equals
Eino-Ville Talvala [Tue, 15 Oct 2013 01:20:43 +0000 (18:20 -0700)]
Camera2: Fix face rectangle coordinate mapping, and use Key.equals

- Faces are reported differently from other rectangles, so the mapping
  has to be specialized for them

- Use Key.equals for key comparison.

Bug: 11206459
Change-Id: I9a2a408dad981c2911048191ec30977020953146

10 years agoGive IMEs the entire screen to use for measuring purposes.
John Spurlock [Tue, 15 Oct 2013 01:06:52 +0000 (21:06 -0400)]
Give IMEs the entire screen to use for measuring purposes.

IMEs recently gained the ability to layout out under the nav bar,
but our core measuring logic does not give height=WRAP_CONTENT windows
the entire screen height when computing desired window height.

Since IMEs can be identified by type, let them use the entire screen
height for measuring purposes, to properly handle the cases where
space is constrained, making that unaccounted-for nav bar height
important.

Bug:11215678
Change-Id: I1d0b73454c0c629e7d669b9de70641c7e8c4d333

10 years agoPackage checks for resloving recovery tokens should be user sensitive.
Carlos Valdivia [Tue, 15 Oct 2013 00:22:42 +0000 (17:22 -0700)]
Package checks for resloving recovery tokens should be user sensitive.

Bug: 11219355
Change-Id: Iec031739dc0d751ee9841ca2c495a346d689ad2a

10 years agoMerge "Update the message for unavailable printers." into klp-dev
Svetoslav [Tue, 15 Oct 2013 01:01:43 +0000 (01:01 +0000)]
Merge "Update the message for unavailable printers." into klp-dev

10 years agoMerge "Fix issue #11223335: APR: Lots of failures in procstats due to..." into klp-dev
Dianne Hackborn [Tue, 15 Oct 2013 01:00:07 +0000 (01:00 +0000)]
Merge "Fix issue #11223335: APR: Lots of failures in procstats due to..." into klp-dev

10 years agoMerge "Refresh quicksettings location tile text when language changes -b/11157526...
David Christie [Tue, 15 Oct 2013 00:49:13 +0000 (00:49 +0000)]
Merge "Refresh quicksettings location tile text when language changes -b/11157526" into klp-dev

10 years agoMerge "Fix the build" into klp-dev
Michael Jurka [Tue, 15 Oct 2013 00:42:51 +0000 (00:42 +0000)]
Merge "Fix the build" into klp-dev

10 years agoFix the build
Michael Jurka [Tue, 15 Oct 2013 00:40:27 +0000 (17:40 -0700)]
Fix the build

10 years agoUpdate the message for unavailable printers.
Svetoslav [Tue, 15 Oct 2013 00:31:26 +0000 (17:31 -0700)]
Update the message for unavailable printers.

If a printer disappears or we do not get its capabilities, we
show the user a message that the printer is unavailable. This
message was appended after the printer name but they tend to
be very long and the user does not see that the printer is not
available due to ellipsis. Now we append the message after the
subtitle which tends to be much shorter.

bug:10983508

Change-Id: Ib3f7ad3bd82ff6decd49dc45461fb5131338e8c2

10 years agoRefresh quicksettings location tile text when language changes
David Christie [Thu, 10 Oct 2013 02:12:32 +0000 (19:12 -0700)]
Refresh quicksettings location tile text when language changes
-b/11157526

Change-Id: I2174a04edad15feffb9cf3b124b4e3f997d9070e

10 years agoMerge "Switch settings provider to use the new Settings icon" into klp-dev
Amith Yamasani [Tue, 15 Oct 2013 00:31:07 +0000 (00:31 +0000)]
Merge "Switch settings provider to use the new Settings icon" into klp-dev

10 years agoMerge "Ensure URIs have content:// scheme in WPM" into klp-dev
Michael Jurka [Tue, 15 Oct 2013 00:27:49 +0000 (00:27 +0000)]
Merge "Ensure URIs have content:// scheme in WPM" into klp-dev

10 years agoMerge "Relax user constraint on storage state." into klp-dev
Jeff Sharkey [Tue, 15 Oct 2013 00:25:23 +0000 (00:25 +0000)]
Merge "Relax user constraint on storage state." into klp-dev

10 years agoFix issue #11223335: APR: Lots of failures in procstats due to...
Dianne Hackborn [Mon, 14 Oct 2013 23:55:09 +0000 (16:55 -0700)]
Fix issue #11223335: APR: Lots of failures in procstats due to...

...bad cleanup of crashing processes

We now have a special path for crashing processes, to silently
clean up their state.

Also some tweaks to Log/Slog.wtf to get better stack crawl
summaries in APR.

Change-Id: Ieced26989907a6e7615b6fa033813fced78d7474

10 years agoMerge "Add extras to AFD, send orientation metadata." into klp-dev
Jeff Sharkey [Tue, 15 Oct 2013 00:00:20 +0000 (00:00 +0000)]
Merge "Add extras to AFD, send orientation metadata." into klp-dev

10 years agoEnsure URIs have content:// scheme in WPM
Adam Lesinski [Sat, 12 Oct 2013 01:10:56 +0000 (18:10 -0700)]
Ensure URIs have content:// scheme in WPM

getCropAndSetWallpaperIntent should only accept URIs with
the content:// scheme, so that the receiving application
doesn't crash opening a file it can't access.

bug:11173560
Change-Id: I855496633b646373db757e9d8e6e425568103b8b

10 years agoMerge "Use dialog animations for dialog style." into klp-dev
Craig Mautner [Mon, 14 Oct 2013 23:45:29 +0000 (23:45 +0000)]
Merge "Use dialog animations for dialog style." into klp-dev

10 years agoRelax user constraint on storage state.
Jeff Sharkey [Mon, 14 Oct 2013 23:43:42 +0000 (16:43 -0700)]
Relax user constraint on storage state.

Otherwise we wtf() when called various places in the system.

Bug: 11223886
Change-Id: I514d28603db02e3debd4af1cf20049af0c7399f4

10 years agoMerge "NFC card emulation API docs." into klp-dev
Martijn Coenen [Mon, 14 Oct 2013 23:30:21 +0000 (23:30 +0000)]
Merge "NFC card emulation API docs." into klp-dev

10 years agoDon't move clock when warping in PagedView
Jim Miller [Mon, 14 Oct 2013 02:35:47 +0000 (19:35 -0700)]
Don't move clock when warping in PagedView

This fixes a bug where the clock would appear to move when flinging
the camera widget while warping.  To accomplish this,  it no longer
scrolls while warping but rather updates the warp view's translationX.
When the finger is released or a fling happens, we either smoothly
animate the view back (without scrolling) or update the scroll position
and let the scroller take over the animation.

Fixes bug 11191094

Change-Id: I33f087cf4fb2ec31db11d69d11055b513604b1d1

10 years agoUse dialog animations for dialog style.
Craig Mautner [Mon, 14 Oct 2013 22:52:58 +0000 (15:52 -0700)]
Use dialog animations for dialog style.

Using activity animations on non-fullscreen activities that sit over
a wallpaper activity cause the exiting activity to show up underneath
the next activity. If the next activity happens to be a wallpaper
activity then this will be janky as the exiting activity will go from
on top of the incoming activity to on top of the wallpaper as it
animates away.

Fixes bug 11200253.

Change-Id: I7e81c50cfe7ae106da2d62f5866f43fc046181c5

10 years agoMerge "Update the print spooler action bar icon." into klp-dev
Svetoslav Ganov [Mon, 14 Oct 2013 22:48:46 +0000 (22:48 +0000)]
Merge "Update the print spooler action bar icon." into klp-dev

10 years agoMerge "Layout may be called with invalid print attributes." into klp-dev
Svetoslav [Mon, 14 Oct 2013 22:48:20 +0000 (22:48 +0000)]
Merge "Layout may be called with invalid print attributes." into klp-dev

10 years agoAdd extras to AFD, send orientation metadata.
Jeff Sharkey [Mon, 14 Oct 2013 21:57:33 +0000 (14:57 -0700)]
Add extras to AFD, send orientation metadata.

AssetFileDescriptor augments a ParcelFileDescriptor with details
about how it should be interpreted, so extend it to support a Bundle
of extras.  Then use these extras to share thumbnail orientation
metadata.

The raw image data of EXIF thumbnails matches the orientation of
the enclosing image, but the thumbnail data doesn't repeat the EXIF
flags.  This meant that receivers of openDocumentThumbnail() would
get an image that needed to be transformed, but without enough
context to actually transform it.

Instead of transforming and recompressing the image on the fly on
the provider side, send a transformation hint that the receiver
side can interpret.

Bug: 11205688
Change-Id: Ibc5a7ad002377a55e6ffcb5ac5c8829841002e06

10 years agoMerge "Move the wallpaper beneath the keyguard." into klp-dev
Craig Mautner [Mon, 14 Oct 2013 22:24:44 +0000 (22:24 +0000)]
Merge "Move the wallpaper beneath the keyguard." into klp-dev

10 years agoSwitch settings provider to use the new Settings icon
Amith Yamasani [Mon, 14 Oct 2013 22:24:31 +0000 (15:24 -0700)]
Switch settings provider to use the new Settings icon

Bug: 11193955
Change-Id: I2e32d31fc8789a950cb54ab6176b8360fc5d9ae5

10 years agoFix error when PAC set rapidly
Jason Monk [Mon, 14 Oct 2013 22:24:13 +0000 (18:24 -0400)]
Fix error when PAC set rapidly

Stop the broadcast from being accidentally sent when PAC is in the process
of downloading / binding local proxy.  Only send broadcast when valid port
is contained (i.e. sent by PacManager).

Bug: 11168706
Change-Id: I998711fcf0a6bd82bdef413726ec41317752a57b

10 years agoMerge "Fix change to re-add carrier roaming details." into klp-dev
Robert Greenwalt [Mon, 14 Oct 2013 22:11:01 +0000 (22:11 +0000)]
Merge "Fix change to re-add carrier roaming details." into klp-dev

10 years agoMerge "Wrap measurement optimization in targetSdk check" into klp-dev
Adam Lesinski [Mon, 14 Oct 2013 22:06:07 +0000 (22:06 +0000)]
Merge "Wrap measurement optimization in targetSdk check" into klp-dev

10 years agoMerge "Add EXIF rotation support to system wallpaper cropper" into klp-dev
Michael Jurka [Mon, 14 Oct 2013 22:03:09 +0000 (22:03 +0000)]
Merge "Add EXIF rotation support to system wallpaper cropper" into klp-dev

10 years agoMerge "Telephony: Read signal strength values as expected" into klp-dev
Wink Saville [Mon, 14 Oct 2013 21:58:57 +0000 (21:58 +0000)]
Merge "Telephony: Read signal strength values as expected" into klp-dev

10 years agoFix change to re-add carrier roaming details.
Robert Greenwalt [Mon, 14 Oct 2013 21:50:33 +0000 (14:50 -0700)]
Fix change to re-add carrier roaming details.

bug:11176211
Change-Id: Ibde8bd4b98df781a3c851d97a893da88c161d98b

10 years agoAdd EXIF rotation support to system wallpaper cropper
Michael Jurka [Mon, 14 Oct 2013 21:42:50 +0000 (14:42 -0700)]
Add EXIF rotation support to system wallpaper cropper

Bug: 11137824

10 years agoMerge "Add additional MNC overlays" into klp-dev
Jim Miller [Mon, 14 Oct 2013 21:25:30 +0000 (21:25 +0000)]
Merge "Add additional MNC overlays" into klp-dev

10 years agoAdd additional MNC overlays
Jim Miller [Mon, 14 Oct 2013 20:57:46 +0000 (13:57 -0700)]
Add additional MNC overlays

Fixes bug 10518893

Change-Id: If8f46202f593e545fe38c4803481b266b60543b9

10 years agoMove the wallpaper beneath the keyguard.
Craig Mautner [Mon, 14 Oct 2013 19:58:42 +0000 (12:58 -0700)]
Move the wallpaper beneath the keyguard.

If the keyguard is the wallpaper target the wallpaper cannot sit at
the bottom of the stack and must be directly beneath the keyguard.
Otherwise keep it at the bottom of the window stack.

App animations when the keyguard is showing should not be disabled if
the keyguard is also animating.

Fixes bug 10858941.
Fixes bug 10932680.

Change-Id: I8399837f6510ea16003f68b165e67439f3571ef4

10 years agoUpdate the print spooler action bar icon.
Svetoslav Ganov [Mon, 14 Oct 2013 20:45:31 +0000 (13:45 -0700)]
Update the print spooler action bar icon.

1. Updated the print spooler icon shown in the action bar
   when searching for printers in the all printers activity.

2. If the current printer's capabilities are not immediately
   available the page count label in the dialog contained the
   argument placeholders.

bug:10983508

Change-Id: Id4f78d6cc31647f043f8e3044ab54f30584d1ebe

10 years agoWrap measurement optimization in targetSdk check
Adam Lesinski [Mon, 14 Oct 2013 18:27:19 +0000 (11:27 -0700)]
Wrap measurement optimization in targetSdk check

A measurement optimization has exposed some apps that are relying
on incidental layout requests to have themselves update. With the
optimization enabled, these apps break.

Apps targetted at older versions of Android should not
break due to this optimization.

bug:11192311
Change-Id: Id5fc7f83ec2cb1541d3d0d16f951cd57c0afaccd

10 years agoLayout may be called with invalid print attributes.
Svetoslav [Mon, 14 Oct 2013 20:15:31 +0000 (13:15 -0700)]
Layout may be called with invalid print attributes.

If a print service reports a printer with no capabilities and then
removes and adds the same printer again with no capabilities we can
call layout with invalid attributes. While the print service should
not do that we must not crash. The reason is that the print dialog
code was lacking a check whether something changed before handling
the change of the current printer. This resulted in calling layout
even though we still do not have the printer capabilities resulting
in passing bogus print attributes to the app.

bug:11216402

Change-Id: Icb9161930a70a7f9ead589a0ab0b4eb35091666f

10 years agoMerge "Modify config.xml for tethering APN information." into klp-dev
Vineeta Srivastava [Mon, 14 Oct 2013 19:57:30 +0000 (19:57 +0000)]
Merge "Modify config.xml for tethering APN information." into klp-dev

10 years agoModify config.xml for tethering APN information.
kenneeth.ryu [Mon, 7 Oct 2013 05:54:01 +0000 (14:54 +0900)]
Modify config.xml for tethering APN information.

1. Remove Tethering profile for Spain Orange(214-03). Because Orange and Euskaltel use same MCC-MNC but have separate tethering APN.
- Spain Orange(214-03) use "internet" apn.
- Spain Euskaltel(214-03) use "internet.euskaltel.mobi" apn.

2. Remove Tethering profile for Spain Telefonica(214-07). Because Telefonica and Jazztel use same MCC-MNC but have separate tethering APN.
- Spain Telefonica (214-07) use "movistar.es" apn.
- Spain Jazztel (214-07) use "jazzinternet" apn.

3. Remove Tethering profile for France Orange(208-01). Because Orange and Carrefour/NRJ/Tele2/Virgin/use same MCC-MNC but have separate tethering APN.
- France Orange (208-01) use "orange.fr" apn.
- France Carrefour (208-01) use "ofnew.fr" apn.

4. Remove Tethering profile for UK T-Mobile(234-33). Because T-Mobile and Orange were merger so doesn't use "consumerbroadband" apn for tethering anymore.

5. Remove Tethering profile for HK 1O1O(454-00). Because 1O1O and NWMOBILE use same MCC-MNC but have separate tethering APN.
- HK 1O1O(454-00) use "lte.internet" apn.
- HK NWMOBILE(454-00) use "NWMOBILE" apn.

6. Remove Tethering profile for HK 3(454-03). Because 3 LTE and 3G have separate tethering apn.
- HK 3 LTE use "lte.three.com.hk" apn.
- HK 3 3G use "mobile.three.com.hk" apn.

7. Update Tethering profile for Orange(340-01). The format of tethering profile was wrong.

8. Add Tethering profile for Mexico Iusacell(334-050).

9. Add Tethering profile for Portugal Optimus(268-03).

Bug: 11176211

Change-Id: I453ff8b745ee4f483bfdd6c362bd67ce50ba8b7a

Conflicts:
core/res/res/values-mcc234-mnc33/config.xml

10 years agoNFC card emulation API docs.
Martijn Coenen [Mon, 14 Oct 2013 18:39:59 +0000 (20:39 +0200)]
NFC card emulation API docs.

Bug: 10550319
Change-Id: I3023639d728aa76af89d15e0491b86c7c641648e