OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "Revert "Headphones volume warning disabled by default"" into klp-dev
Eric Laurent [Thu, 10 Oct 2013 18:43:11 +0000 (18:43 +0000)]
Merge "Revert "Headphones volume warning disabled by default"" into klp-dev

10 years agoMerge "Make LayoutTransition.setInterpolator() actually do something" into klp-dev
Chet Haase [Thu, 10 Oct 2013 18:22:08 +0000 (18:22 +0000)]
Merge "Make LayoutTransition.setInterpolator() actually do something" into klp-dev

10 years agoMerge "Ensure accessibility node cache is synced with service state" into klp-dev
Alan Viverette [Thu, 10 Oct 2013 18:19:24 +0000 (18:19 +0000)]
Merge "Ensure accessibility node cache is synced with service state" into klp-dev

10 years agoMake LayoutTransition.setInterpolator() actually do something
Chet Haase [Thu, 10 Oct 2013 18:11:37 +0000 (11:11 -0700)]
Make LayoutTransition.setInterpolator() actually do something

Previously, you could set a new interpolator on a LayoutTransition object,
but it wouldn't have any effect, since the value was only used at construction
time. This change makes the intended behavior work, byt assigning that
new interpolator to the appropriate animations when they are run.

Issue #11163487 LayoutTransition.setInterpolator() has no effect

Change-Id: I1b390a30c008ac2bf26491dc352e28f276357388

10 years agoMerge "IME navigation guard implemented as a View." into klp-dev
John Spurlock [Thu, 10 Oct 2013 18:15:00 +0000 (18:15 +0000)]
Merge "IME navigation guard implemented as a View." into klp-dev

10 years agoRevert "Headphones volume warning disabled by default"
Eric Laurent [Thu, 10 Oct 2013 17:43:13 +0000 (10:43 -0700)]
Revert "Headphones volume warning disabled by default"

This reverts commit 7cf06209dcdbadd41fabd7e4e7229832aa8ffff2.

Bug: 10297243.
Change-Id: I95b9b34bb38550af493f9a585b6940c4e18e39cc

10 years agoMerge "Remove unused time tile and resources" into klp-dev
Chris Craik [Thu, 10 Oct 2013 17:37:22 +0000 (17:37 +0000)]
Merge "Remove unused time tile and resources" into klp-dev

10 years agoMerge "Guard against NPE when using existing process." into klp-dev
Jeff Sharkey [Thu, 10 Oct 2013 17:17:14 +0000 (17:17 +0000)]
Merge "Guard against NPE when using existing process." into klp-dev

10 years agoMerge "Sometimes the print button not enabled and an accessibility fix." into klp-dev
Svetoslav [Thu, 10 Oct 2013 17:11:20 +0000 (17:11 +0000)]
Merge "Sometimes the print button not enabled and an accessibility fix." into klp-dev

10 years agoMerge "Coalescing multiple print job notifications." into klp-dev
Svetoslav Ganov [Thu, 10 Oct 2013 17:10:59 +0000 (17:10 +0000)]
Merge "Coalescing multiple print job notifications." into klp-dev

10 years agoIME navigation guard implemented as a View.
John Spurlock [Thu, 10 Oct 2013 14:27:44 +0000 (10:27 -0400)]
IME navigation guard implemented as a View.

Instead of a custom onDraw in order to stay 100% in sync with abrupt
layout changes.

Also use the unrestricted layout bottom to avoid unnecessary
fitSystemWindows churn.

Bug:11162351
Change-Id: If9bb9a52d503e348d642bf1238f75c4a418ad805

10 years agoGuard against NPE when using existing process.
Jeff Sharkey [Thu, 10 Oct 2013 16:52:48 +0000 (09:52 -0700)]
Guard against NPE when using existing process.

Bug: 11167561
Change-Id: I51ca7daa71504119fb64bc7bc2b7da4e03b13861

10 years agoMerge "NotificationPanel now shows correct date" into klp-dev
Chet Haase [Thu, 10 Oct 2013 16:25:56 +0000 (16:25 +0000)]
Merge "NotificationPanel now shows correct date" into klp-dev

10 years agoMerge "WifiStateMachine: fix for exiting L2ConnectedState" into klp-dev
Yuhao Zheng [Thu, 10 Oct 2013 16:18:59 +0000 (16:18 +0000)]
Merge "WifiStateMachine: fix for exiting L2ConnectedState" into klp-dev

10 years agoNotificationPanel now shows correct date
Chet Haase [Thu, 10 Oct 2013 16:03:19 +0000 (09:03 -0700)]
NotificationPanel now shows correct date

There was a problem with a cached instance of a Date object such that it
would retain information about the default TimeZone that was not updated
when the TimeZone was set to the correct value. This resulted in NotificationPanel
sometimes showing the wrong date, based on the time and the delta between
the local timezone and GMT.

The fix is to use an ACTION_TIMEZONE_CHANGED broadcast to recreate the cached
Date object appropriately.

Issue #10854196 Incorrect date showing in notification shade

Change-Id: Ibf883e1ff37f4d0aae6840fb19e43e7e9e45bcc2

10 years agoSometimes the print button not enabled and an accessibility fix.
Svetoslav [Wed, 9 Oct 2013 00:17:08 +0000 (17:17 -0700)]
Sometimes the print button not enabled and an accessibility fix.

1. Sometimes the print button is not enabled after selecting a printer
   from the all printers activity. This was happening after a printer
   was selected, we had to do a layout due to changed print attributes
   (because of the new printer's capabilities), and the content did not
   change. In this case we did not call the updateUi function which
   enables the print button after layout is completed.

2. The accessibility code in the all printers activity was not checking
   whether accessibility is on and doing some unnecessary work - not sending
   events though but still. Further, the delayed runnable that was
   doing the accessibilty announcements was not removed when the activity
   was paused.

bug:10983508

Change-Id: Ib263116a3e21e4c75a25aa051cecbd9194417319

10 years agoCoalescing multiple print job notifications.
Svetoslav Ganov [Thu, 10 Oct 2013 05:55:49 +0000 (22:55 -0700)]
Coalescing multiple print job notifications.

1. We used to show a single notificaiton for every print job but
   this is against th UX guidelines. Since we have to lead by
   example, this change adds coalescing of multiple notifications.

bug:11155212

2. Print job state callback in the PrintManager now correctly
   invoked on the main thread.

bug:10983508

Change-Id: I906e9e62198fa37cb4d2f71fce07ed475d61e1bd

10 years agoMerge "Update preloaded-classes for KLP" into klp-dev
Brian Carlstrom [Thu, 10 Oct 2013 05:19:12 +0000 (05:19 +0000)]
Merge "Update preloaded-classes for KLP" into klp-dev

10 years agoUpdate preloaded-classes for KLP
Brian Carlstrom [Thu, 10 Oct 2013 03:45:30 +0000 (20:45 -0700)]
Update preloaded-classes for KLP

Bug: 9189353
Change-Id: I9136692d7f23a513553981eca398351f28b5ddc6

10 years agoMerge "Add API to get the built-in wallpaper" into klp-dev
Michael Jurka [Thu, 10 Oct 2013 01:17:37 +0000 (01:17 +0000)]
Merge "Add API to get the built-in wallpaper" into klp-dev

10 years agoMerge "Fix some doc issues." into klp-dev
Dianne Hackborn [Thu, 10 Oct 2013 00:47:59 +0000 (00:47 +0000)]
Merge "Fix some doc issues." into klp-dev

10 years agoMerge "Fix accessibility state callbacks" into klp-dev
Alan Viverette [Thu, 10 Oct 2013 00:40:05 +0000 (00:40 +0000)]
Merge "Fix accessibility state callbacks" into klp-dev

10 years agoFix some doc issues.
Dianne Hackborn [Thu, 10 Oct 2013 00:36:57 +0000 (17:36 -0700)]
Fix some doc issues.

Bug: 11079621
Bug: 10461610
Bug: 10461369
Bug: 10461417
Change-Id: I7fd966f3cda0660ba20fa15d7164dcac95efadd3

10 years agoFix accessibility state callbacks
Alan Viverette [Thu, 10 Oct 2013 00:20:43 +0000 (17:20 -0700)]
Fix accessibility state callbacks

BUG: 11141708
Change-Id: Ieff1fb90c4f894eba3c203089dd61e1dabdb7982

10 years agoMerge "Add task to list before looking it up." into klp-dev
Craig Mautner [Thu, 10 Oct 2013 00:20:08 +0000 (00:20 +0000)]
Merge "Add task to list before looking it up." into klp-dev

10 years agoEnsure accessibility node cache is synced with service state
Alan Viverette [Thu, 10 Oct 2013 00:10:21 +0000 (17:10 -0700)]
Ensure accessibility node cache is synced with service state

BUG: 11152210
Change-Id: Ibffd2909b6b06568de9344e536a200d8a7abac9d

10 years agoMerge "Narrow previous fix for this issue." into klp-dev
Robert Greenwalt [Thu, 10 Oct 2013 00:07:42 +0000 (00:07 +0000)]
Merge "Narrow previous fix for this issue." into klp-dev

10 years agoMerge "Fix touch accessibility in keyguard." into klp-dev
Jim Miller [Wed, 9 Oct 2013 23:50:18 +0000 (23:50 +0000)]
Merge "Fix touch accessibility in keyguard." into klp-dev

10 years agoMerge "Have SearchPanel fade camera and search buttons when activated" into klp-dev
Jim Miller [Wed, 9 Oct 2013 23:49:12 +0000 (23:49 +0000)]
Merge "Have SearchPanel fade camera and search buttons when activated" into klp-dev

10 years agoAdd task to list before looking it up.
Craig Mautner [Wed, 9 Oct 2013 23:18:29 +0000 (16:18 -0700)]
Add task to list before looking it up.

Rearranging the order of operations allows a newly added task to be
bumped to the top during window sorting. Also, redundant calls moving
the home task to the bottom when moving an app task to the top are
removed.

Maybe fix 10858941.

Change-Id: Ic42d2e7045175384591644675dd0e8013a7c7528

10 years agoNarrow previous fix for this issue.
Robert Greenwalt [Wed, 9 Oct 2013 23:31:35 +0000 (16:31 -0700)]
Narrow previous fix for this issue.

Networks should be unconditionally disabled when going to
scan only state or we risk connecting when we don't want to.

bug:11062188
Change-Id: If89621ca07d86673a661d2e5fe4ce89286f8835e

10 years agoHave SearchPanel fade camera and search buttons when activated
Jim Miller [Wed, 9 Oct 2013 03:03:38 +0000 (20:03 -0700)]
Have SearchPanel fade camera and search buttons when activated

Bug 10991981

Change-Id: Iabc497ce992b675bff1df634add755e67a7fb794

10 years agoMerge "Don't mark wifi disabled unless it's off." into klp-dev
Yuhao Zheng [Wed, 9 Oct 2013 23:26:50 +0000 (23:26 +0000)]
Merge "Don't mark wifi disabled unless it's off." into klp-dev

10 years agoMerge "Do not require WebView usage to come from main thread" into klp-dev
Jonathan Dixon [Wed, 9 Oct 2013 23:21:32 +0000 (23:21 +0000)]
Merge "Do not require WebView usage to come from main thread" into klp-dev

10 years agoam 299d57f7: am a3da7e4e: am 48872ee0: Merge "DOC CHANGE: Android Beam training class...
Joe Malin [Wed, 9 Oct 2013 23:19:41 +0000 (16:19 -0700)]
am 299d57f7: am a3da7e4e: am 48872ee0: Merge "DOC CHANGE: Android Beam training class" into jb-mr2-docs

* commit '299d57f7dfeb291460f68a0f702161847467fd1e':
  DOC CHANGE: Android Beam training class

10 years agoam 483a2c21: am 144f2e58: am 6a831b7d: fix typo in code comment
Scott Main [Wed, 9 Oct 2013 23:16:06 +0000 (16:16 -0700)]
am 483a2c21: am 144f2e58: am 6a831b7d: fix typo in code comment

* commit '483a2c218cdb5d6a8fad0309b70b5e6f4f1703a5':
  fix typo in code comment

10 years agoam a3da7e4e: am 48872ee0: Merge "DOC CHANGE: Android Beam training class" into jb...
Joe Malin [Wed, 9 Oct 2013 23:15:31 +0000 (16:15 -0700)]
am a3da7e4e: am 48872ee0: Merge "DOC CHANGE: Android Beam training class" into jb-mr2-docs

* commit 'a3da7e4ec0da78a05e91d74ce50f7b6008deb135':
  DOC CHANGE: Android Beam training class

10 years agoam 144f2e58: am 6a831b7d: fix typo in code comment
Scott Main [Wed, 9 Oct 2013 23:11:49 +0000 (16:11 -0700)]
am 144f2e58: am 6a831b7d: fix typo in code comment

* commit '144f2e58830d1deae77675286fb7eafb27e456bd':
  fix typo in code comment

10 years agoam 48872ee0: Merge "DOC CHANGE: Android Beam training class" into jb-mr2-docs
Joe Malin [Wed, 9 Oct 2013 23:11:09 +0000 (16:11 -0700)]
am 48872ee0: Merge "DOC CHANGE: Android Beam training class" into jb-mr2-docs

* commit '48872ee0a0a0d2fcfe36fa1116af00f41ccd1e3c':
  DOC CHANGE: Android Beam training class

10 years agoFix touch accessibility in keyguard.
Jim Miller [Wed, 9 Oct 2013 04:10:40 +0000 (21:10 -0700)]
Fix touch accessibility in keyguard.

This changes the accessibility code to monitor state changes
and replace the touch listeners with click listeners when
touch exploration is enabled.

It also fixes a bug where the first touch on the camera was being
ignored by ensuring KeyguardTouchDelegate has started the service
by the time the button is touched.

Bug 10991981

Change-Id: I7c4bf01f9bfa10f54cadb0809b6af526c5386af5

10 years agoMerge "DOC CHANGE: Android Beam training class" into jb-mr2-docs
Joe Malin [Wed, 9 Oct 2013 23:08:15 +0000 (23:08 +0000)]
Merge "DOC CHANGE: Android Beam training class" into jb-mr2-docs

10 years agoam 6a831b7d: fix typo in code comment
Scott Main [Wed, 9 Oct 2013 23:07:16 +0000 (16:07 -0700)]
am 6a831b7d: fix typo in code comment

* commit '6a831b7d5cd87b5b2c7660c84ed34f8ccc5ae275':
  fix typo in code comment

10 years agoMerge "Don't crash when component enable/disable broadcasts race with uninstall"...
Christopher Tate [Wed, 9 Oct 2013 22:18:41 +0000 (22:18 +0000)]
Merge "Don't crash when component enable/disable broadcasts race with uninstall" into klp-dev

10 years agoMerge "Add listener for changes to touch exploration state" into klp-dev
Alan Viverette [Wed, 9 Oct 2013 22:13:29 +0000 (22:13 +0000)]
Merge "Add listener for changes to touch exploration state" into klp-dev

10 years agoMerge "Surface outgoing Uri permission grants." into klp-dev
Jeff Sharkey [Wed, 9 Oct 2013 22:07:10 +0000 (22:07 +0000)]
Merge "Surface outgoing Uri permission grants." into klp-dev

10 years agoDon't crash when component enable/disable broadcasts race with uninstall
Christopher Tate [Wed, 9 Oct 2013 21:39:15 +0000 (14:39 -0700)]
Don't crash when component enable/disable broadcasts race with uninstall

Bug 11154482

Change-Id: I55107fec51bf5efada136052c451f293976360d6

10 years agoMerge "Allow IMEs to extend below nav bar, remove SystemUI veto." into klp-dev
John Spurlock [Wed, 9 Oct 2013 21:57:01 +0000 (21:57 +0000)]
Merge "Allow IMEs to extend below nav bar, remove SystemUI veto." into klp-dev

10 years agoAdd listener for changes to touch exploration state
Alan Viverette [Wed, 9 Oct 2013 21:42:05 +0000 (14:42 -0700)]
Add listener for changes to touch exploration state

BUG: 11141708
Change-Id: I353dfa2542ebd5e2ac89029dcd88623cc4c688e7

10 years agoSurface outgoing Uri permission grants.
Jeff Sharkey [Wed, 9 Oct 2013 21:21:08 +0000 (14:21 -0700)]
Surface outgoing Uri permission grants.

This enables apps to discover and clean up persisted Uri grants when
the underlying Uri becomes invalid, such as when an account is
removed.

Bug: 11142566
Change-Id: Ieeb36cb1155acf226327ebe91cdd30b822d69d1b

10 years agoMerge "Avoid deadlock between mUsers and cacheLock" into klp-dev
Amith Yamasani [Wed, 9 Oct 2013 20:57:35 +0000 (20:57 +0000)]
Merge "Avoid deadlock between mUsers and cacheLock" into klp-dev

10 years agoMerge "Support overriding calling package in Documents." into klp-dev
Jeff Sharkey [Wed, 9 Oct 2013 20:56:26 +0000 (20:56 +0000)]
Merge "Support overriding calling package in Documents." into klp-dev

10 years agoMerge "Drop <meta-data> support for DocumentsProviders." into klp-dev
Jeff Sharkey [Wed, 9 Oct 2013 20:56:12 +0000 (20:56 +0000)]
Merge "Drop <meta-data> support for DocumentsProviders." into klp-dev

10 years agoSupport overriding calling package in Documents.
Jeff Sharkey [Wed, 9 Oct 2013 20:52:17 +0000 (13:52 -0700)]
Support overriding calling package in Documents.

Calling package is only used to pick the stack to restore, not for
security purposes.  This lets other system tools (like Printing)
indicate the real caller.

Bug: 11149540
Change-Id: I155e32577eaeda7dfcb80a7d84ac3b54f281590a

10 years agoDrop <meta-data> support for DocumentsProviders.
Jeff Sharkey [Wed, 9 Oct 2013 20:31:13 +0000 (13:31 -0700)]
Drop <meta-data> support for DocumentsProviders.

Prebuilts have finished migrating to new <intent-filter> based
approach.  Also update isDocumentUri() to match new definition.

Bug: 11109484
Change-Id: Ib95e2c3f5a9ff70b8d5e411f68ad49d1990dae8c

10 years agoMerge "Clear accessibility focus when view becomes invisible" into klp-dev
Alan Viverette [Wed, 9 Oct 2013 20:25:14 +0000 (20:25 +0000)]
Merge "Clear accessibility focus when view becomes invisible" into klp-dev

10 years agoAllow IMEs to extend below nav bar, remove SystemUI veto.
John Spurlock [Tue, 8 Oct 2013 15:47:58 +0000 (11:47 -0400)]
Allow IMEs to extend below nav bar, remove SystemUI veto.

Layout IMEs below the nav bar, offset by bottom padding and
associated guard rectangle with a black background to ensure
they do not appear as islands during transitions.

This makes it safe to remove the SystemUI forced opaque transition
when showing an IME, making the overall transition less expensive,
quicker and smoother overall.

Bug:11058746
Change-Id: I460912ee7c117480c57b947ed31eca330819f32c

10 years agoMerge "deblue notification dividers" into klp-dev
Mindy DelliCarpini [Wed, 9 Oct 2013 20:14:14 +0000 (20:14 +0000)]
Merge "deblue notification dividers" into klp-dev

10 years agoDon't mark wifi disabled unless it's off.
Robert Greenwalt [Wed, 9 Oct 2013 00:43:33 +0000 (17:43 -0700)]
Don't mark wifi disabled unless it's off.

The transition from driver-started to scan-only state was incorrectly
always marking wifi disabled, but transitioning back only marked it
enabled if we were exiting due to leaving the scan-only-with-wifi-off
mode.

bug:11062188
Change-Id: I44fe64fd8dac8f36f4e22cb1c16b9d7a06bdbac0

10 years agoMerge "Camera2: Properly copy over user tag when cloning requests" into klp-dev
Eino-Ville Talvala [Wed, 9 Oct 2013 19:44:33 +0000 (19:44 +0000)]
Merge "Camera2: Properly copy over user tag when cloning requests" into klp-dev

10 years agoMerge "Fix issue #11087316: Can't run dumpsys procstats on user builds in some cases...
Dianne Hackborn [Wed, 9 Oct 2013 19:15:35 +0000 (19:15 +0000)]
Merge "Fix issue #11087316: Can't run dumpsys procstats on user builds in some cases!" into klp-dev

10 years agoFix issue #11087316: Can't run dumpsys procstats on user builds in some cases!
Dianne Hackborn [Wed, 9 Oct 2013 19:14:11 +0000 (12:14 -0700)]
Fix issue #11087316: Can't run dumpsys procstats on user builds in some cases!

Once we pass the dump perm check, we are safe.

Change-Id: I58f483573874ca9f8f914fb94137f8a2afafaf25

10 years agoAdd API to get the built-in wallpaper
Michael Jurka [Fri, 4 Oct 2013 22:11:05 +0000 (15:11 -0700)]
Add API to get the built-in wallpaper

Change-Id: I71cf4111fb4e36bd8e78eb47695861349dc1750b

10 years agoMerge "Remove overly tight constraint on drawn Keyguard." into klp-dev
Craig Mautner [Wed, 9 Oct 2013 19:10:44 +0000 (19:10 +0000)]
Merge "Remove overly tight constraint on drawn Keyguard." into klp-dev

10 years agoDo not require WebView usage to come from main thread
Jonathan Dixon [Tue, 8 Oct 2013 20:32:11 +0000 (13:32 -0700)]
Do not require WebView usage to come from main thread

So long as all usage is from a single thread per instance it is OK if
it's a non-main thread.
(But note that for apps targeting JB MR2 this was enforced to be the
main thread anyway).

Bug 10937207

Change-Id: Ibc2496d5cef97b4685e001086f712fcaac231024

10 years agoMerge "Introduce View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY." into klp-dev
John Spurlock [Wed, 9 Oct 2013 18:27:52 +0000 (18:27 +0000)]
Merge "Introduce View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY." into klp-dev

10 years agoMerge "Add missing locking when updating the accessibility node info cache." into...
Svetoslav [Wed, 9 Oct 2013 17:55:15 +0000 (17:55 +0000)]
Merge "Add missing locking when updating the accessibility node info cache." into klp-dev

10 years agoMerge "Install providers enabled after app started." into klp-dev
Jeff Sharkey [Wed, 9 Oct 2013 17:45:11 +0000 (17:45 +0000)]
Merge "Install providers enabled after app started." into klp-dev

10 years agoMerge "Allow killed task to remove itself" into klp-dev
Adam Lesinski [Wed, 9 Oct 2013 17:36:57 +0000 (17:36 +0000)]
Merge "Allow killed task to remove itself" into klp-dev

10 years agoDOC CHANGE: Android Beam training class
Joe Malin [Fri, 30 Aug 2013 22:30:54 +0000 (15:30 -0700)]
DOC CHANGE: Android Beam training class

Change-Id: I4960d2b0ef8fdd32cf985f2104b0819e1311337b

10 years agoIntroduce View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY.
John Spurlock [Wed, 9 Oct 2013 16:35:52 +0000 (12:35 -0400)]
Introduce View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY.

The existing View.SYSTEM_UI_FLAG_IMMERSIVE flag will be somewhat
redefined.  Swiping will clear the flags, revealing the normal bars.

The new View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY flag will enable
hideybars - the auto-hiding, semi-transparent bar mode.

Bug:11062108
Change-Id: Ibf8be9072f0075953baa4580cd976e7562d44455

10 years agoMerge "Grab Activity reference before leaving fragment." into klp-dev
Jeff Sharkey [Wed, 9 Oct 2013 07:26:10 +0000 (07:26 +0000)]
Merge "Grab Activity reference before leaving fragment." into klp-dev

10 years agoRemove overly tight constraint on drawn Keyguard.
Craig Mautner [Wed, 9 Oct 2013 00:26:08 +0000 (17:26 -0700)]
Remove overly tight constraint on drawn Keyguard.

The requirement that a window that is invisible will not be drawn is
incorrect. In particular the test fails before a surface has even been
added (mHasSurface == false) or shown (mPolicyVisibility == false).
This was causing the screen to turn on before Keyguard had been drawn
and exposing surfaces that would have normally remained hidden.

Also, don't pass null into KeyguardServiceDelegate.onShown() or we
will immediately turn the screen on before Keyguard is drawn.

Fixes bug 11062635.

Change-Id: I964c7ef186d0a94678020b9c27ca6b79e5433350

10 years agoCamera2: Properly copy over user tag when cloning requests
Eino-Ville Talvala [Wed, 9 Oct 2013 02:34:29 +0000 (19:34 -0700)]
Camera2: Properly copy over user tag when cloning requests

Bug: 11141002
Change-Id: Icc5c4150a6796d705f5c6c3bd1322597fc986af2

10 years agoMerge "Fix captive portal detection on IPv6 networks." into klp-dev
Lorenzo Colitti [Wed, 9 Oct 2013 02:14:42 +0000 (02:14 +0000)]
Merge "Fix captive portal detection on IPv6 networks." into klp-dev

10 years agoAdd missing locking when updating the accessibility node info cache.
Svetoslav [Wed, 9 Oct 2013 01:31:54 +0000 (18:31 -0700)]
Add missing locking when updating the accessibility node info cache.

bug:10489954

Change-Id: Iccf55d074ea712566f441b9f6616a4c1fe847e0a

10 years agoWifiStateMachine: fix for exiting L2ConnectedState
Yuhao Zheng [Wed, 9 Oct 2013 00:44:05 +0000 (17:44 -0700)]
WifiStateMachine: fix for exiting L2ConnectedState

After a L2ConnectedState to WpsRunningState transition, network is disconnected.
However, the disconnected message is ignored by WpsRunningState, leaving DHCP
still running. When entering L2ConnectedState again, WifiStateMachine gets stuck
on waiting for DhcpStateMachine, because DHCP is already running and the command
CMD_START_DHCP is ignored. Calling handleNetworkDisconnect() when exiting
L2ConnectedState fixes this problem, plus it handles disconnection correctly.

Bug: 10900241
Change-Id: Id29e4989b29db7e64719940cf93eba1f1a90912a

10 years agoGrab Activity reference before leaving fragment.
Jeff Sharkey [Wed, 9 Oct 2013 00:09:18 +0000 (17:09 -0700)]
Grab Activity reference before leaving fragment.

When creating a new directory, we spawn an AsyncTask and finish the
fragment.  This change keeps an Activity reference to report the
result back to.

Bug: 11137561
Change-Id: Icfccc5e50e8f53a50dced589e1564d64457e0ed0

10 years agoPreload DexCaches
Brian Carlstrom [Tue, 8 Oct 2013 00:47:37 +0000 (17:47 -0700)]
Preload DexCaches

Bug: 11045348
Change-Id: Id27333652d4b3b9ace6c1cdf0566bf39bf0084ed

10 years agoMerge "Fix NPE in CallerInfo.getCurrentCountryIso()." into klp-dev
Jake Hamby [Wed, 9 Oct 2013 00:03:34 +0000 (00:03 +0000)]
Merge "Fix NPE in CallerInfo.getCurrentCountryIso()." into klp-dev

10 years agoInstall providers enabled after app started.
Jeff Sharkey [Wed, 9 Oct 2013 00:01:30 +0000 (17:01 -0700)]
Install providers enabled after app started.

When an app has already been started, and a ContentProvider component
is enabled with DONT_KILL_APP, use the existing ProcessRecord to
install the provider.

Bug: 11118692
Change-Id: I990f18b337eb19768ee1db895f1e2eb982046cce

10 years agoFix NPE in CallerInfo.getCurrentCountryIso().
Jake Hamby [Tue, 8 Oct 2013 23:31:16 +0000 (16:31 -0700)]
Fix NPE in CallerInfo.getCurrentCountryIso().

Internal method CallerInfo.getCurrentCountryIso() can throw NPE
if the country detector's detectCountry() method returns null.
Add code to check that the Country is not null before calling
getCountryIso() on it. Change fallback logic to call
locale.getCountry() whenever countryIso was not assigned.

Bug: 10607906
Change-Id: I08fe3f4d942f67c37a2e6ff0b067fe32ad8a6fa5

10 years agoMerge "Make RemoteController weakly referenced by IRemoteControlDisplay" into klp-dev
Jean-Michel Trivi [Tue, 8 Oct 2013 23:31:04 +0000 (23:31 +0000)]
Merge "Make RemoteController weakly referenced by IRemoteControlDisplay" into klp-dev

10 years agoMerge "Fix default clock localization in keyguard." into klp-dev
Jim Miller [Tue, 8 Oct 2013 23:04:40 +0000 (23:04 +0000)]
Merge "Fix default clock localization in keyguard." into klp-dev

10 years agomerge in KFS78N (no-op)
Ed Heyl [Tue, 8 Oct 2013 22:59:56 +0000 (15:59 -0700)]
merge in KFS78N (no-op)

10 years agoMake RemoteController weakly referenced by IRemoteControlDisplay
Jean-Michel Trivi [Tue, 8 Oct 2013 22:42:31 +0000 (15:42 -0700)]
Make RemoteController weakly referenced by IRemoteControlDisplay

In the RemoteController implementation, the inner class that
 implements the IRemoteControlDisplay interface must have a weak
 link to the RemoteController instance with which it is associated,
 as MediaFocusControl and RemoteControlClient hold a strong
 reference to this binder object in a different remote process.
 Without a weak reference, any object referencing RemoteController
 couldn't be independently garbage collected without a garbage
 collection in the remote process.

Bug 8209392

Change-Id: I29e4274c45249b3cb0d3d89417c69e8fe8f62fc4

10 years agoAllow killed task to remove itself
Adam Lesinski [Tue, 8 Oct 2013 22:41:18 +0000 (15:41 -0700)]
Allow killed task to remove itself

When killing a task from the recents UI, the activities in
the task would be scheduled for destruction, and the task would
be forcefully removed from the ActivityStack, destroying the
ActivityStack in the process if this was the last task. Since the
ActivityStack was removed, any activities calling back to report
their onDestroy was called (or any timeouts that trigger if
activities fail to do this) would be dropped and certain cleanup
routines would not be called.

Tasks and their ActivityStacks are removed automatically when the
activities within them are removed, so this manual removal was
preventing the cleanup routines from running.

bug:10920157
Change-Id: Ied9d4f8fea761a373a9a80a0dfe810590ab411d8

10 years agomerge in KQS81M
Ed Heyl [Tue, 8 Oct 2013 22:40:08 +0000 (15:40 -0700)]
merge in KQS81M

10 years agoMerge "Close context menu dialogs if the menu becomes empty" into klp-dev
Adam Powell [Tue, 8 Oct 2013 22:32:53 +0000 (22:32 +0000)]
Merge "Close context menu dialogs if the menu becomes empty" into klp-dev

10 years agoMerge "Revert "Show no_sim icon when no SIM card is available."" into klp-dev
Dan Sandler [Tue, 8 Oct 2013 22:32:44 +0000 (22:32 +0000)]
Merge "Revert "Show no_sim icon when no SIM card is available."" into klp-dev

10 years agoFix default clock localization in keyguard.
Jim Miller [Tue, 8 Oct 2013 22:32:09 +0000 (15:32 -0700)]
Fix default clock localization in keyguard.

Uses new DateFormat.getBestDateTimePattern() to get localized format
string.

Fixes bug 11120830

Change-Id: If49a95ac4f222da7d16523c99476c5895326d71e

10 years agoRevert "Show no_sim icon when no SIM card is available."
Dan Sandler [Tue, 8 Oct 2013 22:28:18 +0000 (22:28 +0000)]
Revert "Show no_sim icon when no SIM card is available."

It doesn't look good in the combo RSSI layout, and while we could make
it look better by adding some padding (like the airplane icon), we haven't
had a no_sim icon since ICS and people are pretty much OK with it.

This reverts commit 2eeacc02a252607e7c2fd1a00c60d8aa567694cc.

Bug: 11127588
Change-Id: Ibefd6096171588fcab1e3c5174abda9758cc5f6d

10 years agoClose context menu dialogs if the menu becomes empty
Adam Powell [Tue, 8 Oct 2013 22:20:29 +0000 (15:20 -0700)]
Close context menu dialogs if the menu becomes empty

If a view triggers showContextMenu while a context menu is already
shown but contributes no items to the menu the menu dialog would
become empty. Simply close the dialog if this happens.

Bug 11063885

Change-Id: I9e7c96073318c94eda5f1e1c4beb596b3d9da781

10 years agoMerge "Fix a crash in the select printers activity." into klp-dev
Svetoslav [Tue, 8 Oct 2013 21:28:12 +0000 (21:28 +0000)]
Merge "Fix a crash in the select printers activity." into klp-dev

10 years agoMerge "Wallpaper cropper should inherit translucent theme" into klp-dev
Michael Jurka [Tue, 8 Oct 2013 21:27:13 +0000 (21:27 +0000)]
Merge "Wallpaper cropper should inherit translucent theme" into klp-dev

10 years agoClear accessibility focus when view becomes invisible
Alan Viverette [Tue, 8 Oct 2013 21:25:42 +0000 (14:25 -0700)]
Clear accessibility focus when view becomes invisible

BUG: 10912882
Change-Id: I8c7c6906fcf7688ecdfac6649464f088dd812c41

10 years agoMerge "Tweak status bar gradient." into klp-dev
John Spurlock [Tue, 8 Oct 2013 21:25:11 +0000 (21:25 +0000)]
Merge "Tweak status bar gradient." into klp-dev

10 years agoTweak status bar gradient.
John Spurlock [Tue, 8 Oct 2013 21:22:56 +0000 (17:22 -0400)]
Tweak status bar gradient.

Bug:10967264
Change-Id: I803420ba332934398b4878644e3a168bd99701ad

10 years agoMerge "Add secondary external storage support." into klp-dev
Jeff Sharkey [Tue, 8 Oct 2013 21:05:35 +0000 (21:05 +0000)]
Merge "Add secondary external storage support." into klp-dev

10 years agofix typo in code comment
Scott Main [Tue, 8 Oct 2013 20:38:31 +0000 (13:38 -0700)]
fix typo in code comment

Change-Id: Iefe5a52db4bb5852f3651487e97917879cdfa890

10 years agoMerge "Wrong argument: handleUnstableProviderDiedLocked" into klp-dev
Dianne Hackborn [Tue, 8 Oct 2013 20:29:47 +0000 (20:29 +0000)]
Merge "Wrong argument: handleUnstableProviderDiedLocked" into klp-dev