OSDN Git Service

android-x86/frameworks-base.git
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 "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 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 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

10 years agoMerge "Fix HIDE_DESCENDANTS accessibility importance mode" into klp-dev
Alan Viverette [Tue, 8 Oct 2013 20:14:20 +0000 (20:14 +0000)]
Merge "Fix HIDE_DESCENDANTS accessibility importance mode" into klp-dev

10 years agoMerge "Don't wake users up with low battery sounds." into klp-dev
Daniel Sandler [Tue, 8 Oct 2013 20:03:06 +0000 (20:03 +0000)]
Merge "Don't wake users up with low battery sounds." into klp-dev

10 years agoMerge "Out with the sliders, in with the cog." into klp-dev
Daniel Sandler [Tue, 8 Oct 2013 20:02:48 +0000 (20:02 +0000)]
Merge "Out with the sliders, in with the cog." into klp-dev

10 years agoAdd secondary external storage support.
Jeff Sharkey [Mon, 7 Oct 2013 23:49:47 +0000 (16:49 -0700)]
Add secondary external storage support.

When SECONDARY_STORAGE is defined by the hardware configuration,
include those paths in the new getExternalCacheDirs() and
getExternalFilesDirs() APIs.  Give secondary volumes valid state
until vold reports back.

Bug: 1033012810330229
Change-Id: Ifa55bfda47fd7c750f462dd26c98792ad462ab91

10 years agoWallpaper cropper should inherit translucent theme
Michael Jurka [Tue, 8 Oct 2013 00:50:51 +0000 (17:50 -0700)]
Wallpaper cropper should inherit translucent theme

Change-Id: Icd13130d6250759c71ef016f62d10d7359cf067e

10 years agoWrong argument: handleUnstableProviderDiedLocked
You Kim [Mon, 30 Sep 2013 15:13:26 +0000 (00:13 +0900)]
Wrong argument: handleUnstableProviderDiedLocked

mProvider is HashMap<ProviderKey, ProviderClientRecord>. String
is not correct object for KEY. Complete removal using iterator.

Bug: 11086495

Change-Id: I51e4576544ef02ede6f96938689dd4e43ec6eb4f

10 years agoFix a crash in the select printers activity.
Svetoslav [Tue, 8 Oct 2013 18:25:32 +0000 (11:25 -0700)]
Fix a crash in the select printers activity.

 When the search view is attached and detached we announce that
 for accessibility. The trouble is that if the activity is being
 torn down we are trying to access resources from a fragment that
 is detached and the qcrash occurs. This change does not try to
 access resources if the activity is finishing and also we do not
 load resource strings if accessibility is not enabled.

bug:11127814

Change-Id: I4a47a8ed3b6a13544cf17b4395560246a33f0e2d

10 years agoMerge "Disable dragging the challenge area when there are no widgets" into klp-dev
Jim Miller [Tue, 8 Oct 2013 18:38:26 +0000 (18:38 +0000)]
Merge "Disable dragging the challenge area when there are no widgets" into klp-dev

10 years agoMerge "Translucent sysui flags affect layout." into klp-dev
John Spurlock [Tue, 8 Oct 2013 18:34:57 +0000 (18:34 +0000)]
Merge "Translucent sysui flags affect layout." into klp-dev

10 years agoDon't wake users up with low battery sounds.
Daniel Sandler [Mon, 23 Sep 2013 20:05:57 +0000 (16:05 -0400)]
Don't wake users up with low battery sounds.

Battery sounds will always play when the screen is on, and
then for Settings.Global.LOW_BATTERY_SOUND_TIMEOUT
milliseconds after the screen goes off. After that, low
battery alerts will be pushed out the airlock until the
screen comes back on again.

If battery sounds are suppressed via this mechanism you'll
see a log line like:

V/PowerUI ( 3161): screen off too long (5779ms, limit
5000ms): not waking up the user with low battery sound

The default value of LOW_BATTERY_SOUND_TIMEOUT is a settings
provider resource: R.integer.def_low_battery_sound_timeout.

Bug: 10487557
Change-Id: Iddd42038aa630631dc8f1833f20fcc5a0c646681

10 years agoOut with the sliders, in with the cog.
Daniel Sandler [Tue, 8 Oct 2013 17:27:33 +0000 (13:27 -0400)]
Out with the sliders, in with the cog.

Bug: 11103061
Change-Id: I58895c426f76f81148e4b0b08115c85f40debf6a

10 years agoMerge "Clean up unused resources" into klp-dev
Chris Craik [Tue, 8 Oct 2013 17:26:59 +0000 (17:26 +0000)]
Merge "Clean up unused resources" into klp-dev

10 years agoMerge "Hide Experimental WebView from dev settings DO NOT MERGE" into klp-dev
Torne (Richard Coles) [Tue, 8 Oct 2013 17:17:06 +0000 (17:17 +0000)]
Merge "Hide Experimental WebView from dev settings DO NOT MERGE" into klp-dev

10 years agoMerge "Fix typo in drawable xml" into klp-dev
Adam Powell [Tue, 8 Oct 2013 17:15:39 +0000 (17:15 +0000)]
Merge "Fix typo in drawable xml" into klp-dev

10 years agoFix typo in drawable xml
Adam Powell [Tue, 8 Oct 2013 17:10:40 +0000 (10:10 -0700)]
Fix typo in drawable xml

Bug 11130411

Change-Id: I76e1f5f684b17a4fa9e3e7064f7ab66029171c70

10 years agoHide Experimental WebView from dev settings DO NOT MERGE
Jonathan Dixon [Thu, 12 Sep 2013 00:55:15 +0000 (17:55 -0700)]
Hide Experimental WebView from dev settings DO NOT MERGE

Bug 10427705

The persist.webview system property is no longer needed, so removed too.

Change-Id: I8f02736469464b52636f3d59ec8537d11766d39f

10 years agodeblue notification dividers
Ari Sachter-Zeltzer [Tue, 8 Oct 2013 00:22:18 +0000 (17:22 -0700)]
deblue notification dividers

Change-Id: I6530b7c777c1ef793033d2333f229e9e06f0db70

10 years agoTranslucent sysui flags affect layout.
John Spurlock [Tue, 8 Oct 2013 16:54:35 +0000 (12:54 -0400)]
Translucent sysui flags affect layout.

Recently removed when they went private, but that was wrong:
they still affect layout.

Bug:11128955
Change-Id: Ic94230732a6b2ff3dcaa79b03e181a4e46585902