OSDN Git Service

android-x86/frameworks-base.git
12 years agoFix issue #6636731: Mariner animation ring gets stuck
Dianne Hackborn [Fri, 15 Jun 2012 19:05:27 +0000 (12:05 -0700)]
Fix issue #6636731: Mariner animation ring gets stuck

Weren't cleaning out any ActivityOptions that are still attached
to a finishing activity.

Bug: 6636731
Change-Id: If0520bbcbf1d4ce19d46ff769918893cefda9c87

12 years agoMerge "Help out issue #6654729: CAB + screen off during playback" into jb-dev
Dianne Hackborn [Fri, 15 Jun 2012 04:33:48 +0000 (21:33 -0700)]
Merge "Help out issue #6654729: CAB + screen off during playback" into jb-dev

12 years agoMerge "Synthesize fake vsyncs when the screen is off." into jb-dev
Jeff Brown [Fri, 15 Jun 2012 04:30:49 +0000 (21:30 -0700)]
Merge "Synthesize fake vsyncs when the screen is off." into jb-dev

12 years agoSynthesize fake vsyncs when the screen is off.
Jeff Brown [Fri, 15 Jun 2012 02:03:44 +0000 (19:03 -0700)]
Synthesize fake vsyncs when the screen is off.

When the screen is off, we might not receive real vsync pulses from
the hardware which would cause posted Choreographer callbacks to not run.
This is bad because messages in the Looper might be blocked behind a barrier
that is scheduled to be removed by one of those Choreographer callback
(see ViewRootImpl.doTraversals).  Until the barrier is removed, those messages
will not run.  To prevent starvation of the Looper, we synthesize fake vsync
pulses at a reduced rate whenever the display hardware stops generating them.

This change should fix a variety of rare non-deterministic bugs where
the system might appear to be unresponsive while the screen is off,
and spurious ANRs reported shortly after the screen is turned back on.

Bug: 6574842
Bug: 6636995
Bug: 6643559
Change-Id: I263f2fdf979afd79e5ac47a0cc5d34a93b860c21

12 years agoMerge "Handle ENITR failure for Headset control channel." into jb-dev
Matthew Xie [Fri, 15 Jun 2012 03:28:46 +0000 (20:28 -0700)]
Merge "Handle ENITR failure for Headset control channel." into jb-dev

12 years agoHandle ENITR failure for Headset control channel.
Matthew Xie [Fri, 15 Jun 2012 03:08:40 +0000 (20:08 -0700)]
Handle ENITR failure for Headset control channel.

Wrap poll and read with TEMP_FAILURE_RETRY
bug 65030006623444

Change-Id: I2e302dc04df6b5bd5982c3d189881a687a95fb2d

12 years agoHelp out issue #6654729: CAB + screen off during playback
Dianne Hackborn [Fri, 15 Jun 2012 02:38:20 +0000 (19:38 -0700)]
Help out issue #6654729: CAB + screen off during playback

People generally expect, if they are using FLAG_KEEP_SCREEN_ON,
that the screen won't immediately dim after it is cleared, even
if it has been passed the user activity timeout since the last
user interaction.  So include the flag to reset the user activity
timeout when releasing its wake lock.

Change-Id: If7a8fea8faef3edbf13dff10a2f248adc9e3ff0b

12 years agoMerge "Don't finish noHistory="true" activities behind the lock screen" into jb-dev
Christopher Tate [Fri, 15 Jun 2012 02:35:58 +0000 (19:35 -0700)]
Merge "Don't finish noHistory="true" activities behind the lock screen" into jb-dev

12 years agoMerge "API updates for MediaRouter" into jb-dev
Adam Powell [Fri, 15 Jun 2012 00:51:25 +0000 (17:51 -0700)]
Merge "API updates for MediaRouter" into jb-dev

12 years agoMerge "Run the screen on/off broadcasts at foreground priority" into jb-dev
Christopher Tate [Fri, 15 Jun 2012 00:34:28 +0000 (17:34 -0700)]
Merge "Run the screen on/off broadcasts at foreground priority" into jb-dev

12 years agoMerge "Add support for NEXT_HTML_ELEMENT to WebViewClassic." into jb-dev
Svetoslav Ganov [Fri, 15 Jun 2012 00:19:54 +0000 (17:19 -0700)]
Merge "Add support for NEXT_HTML_ELEMENT to WebViewClassic." into jb-dev

12 years agoRun the screen on/off broadcasts at foreground priority
Christopher Tate [Fri, 15 Jun 2012 00:00:48 +0000 (17:00 -0700)]
Run the screen on/off broadcasts at foreground priority

Bug 6643559

Change-Id: I392f11dabea518238d0f4336c3663bf5c7d46146

12 years agoDon't finish noHistory="true" activities behind the lock screen
Christopher Tate [Thu, 14 Jun 2012 21:16:54 +0000 (14:16 -0700)]
Don't finish noHistory="true" activities behind the lock screen

The foreground activity is stopped when the device goes to sleep,
and started again when the device is unlocked.  We now distinguish
this case from a "normal" stop, and do not finish() a foreground
noHistory="true" activity inappropriately when the device sleeps.
We also detect the case where an activity is started while the
device is still asleep, in which case the foreground noHistory
activity is cleaned up as part of bringing the new activity to
the foreground.

Bug 6657549

Change-Id: I9c6a0830aed0e47e4207b62803b90067c8486112

12 years agoAPI updates for MediaRouter
Adam Powell [Thu, 14 Jun 2012 23:04:12 +0000 (16:04 -0700)]
API updates for MediaRouter

* Accept a Context when fetching the names of routes and
  categories. This lets string resources resolve at time of access
  with the correct configuration. The older versions remain available
  that will use the static resources from the application. (There are
  enough cases where applications will populate this from external
  data that requiring it each time even when it was not initialized
  from a resource doesn't seem reasonable.)

* Remove the ability for apps to programmatically select non-user
  routes.

* Make MediaRouter.Callback an abstract class instead of an interface.
  This will make further extensions easier to keep compatible in the
  future.

Change-Id: If981c511dfbdfaf41ef0d1cfe4a377fc14bb5600

12 years agoMerge "DO NOT MERGE Respect the "Make password visible" setting." into jb-dev
George Mount [Thu, 14 Jun 2012 23:14:16 +0000 (16:14 -0700)]
Merge "DO NOT MERGE Respect the "Make password visible" setting." into jb-dev

12 years agoMerge "Show even fewer notifications in Setup." into jb-dev
Daniel Sandler [Thu, 14 Jun 2012 23:07:45 +0000 (16:07 -0700)]
Merge "Show even fewer notifications in Setup." into jb-dev

12 years agoAdd support for NEXT_HTML_ELEMENT to WebViewClassic.
alanv [Thu, 14 Jun 2012 22:24:19 +0000 (15:24 -0700)]
Add support for NEXT_HTML_ELEMENT to WebViewClassic.

Bug: 6663344
Change-Id: Ieb48998e3af12916fe499a12d5bf7a767df8d05b

12 years agoMerge "AccessibilityInjector should return false on a failed action." into jb-dev
Svetoslav Ganov [Thu, 14 Jun 2012 22:14:14 +0000 (15:14 -0700)]
Merge "AccessibilityInjector should return false on a failed action." into jb-dev

12 years agoDO NOT MERGE Respect the "Make password visible" setting.
George Mount [Thu, 14 Jun 2012 21:08:56 +0000 (14:08 -0700)]
DO NOT MERGE Respect the "Make password visible" setting.

 Bug 6667146

 Webkit Change: I95ffcfa6fa47baad60b1af55f84bee35dfcc7972

Change-Id: I7fc107b02f73f4c54e8fe66484038ea9d7b69d61

12 years agoMerge "Expose apps when keyguard animating." into jb-dev
Craig Mautner [Thu, 14 Jun 2012 21:55:19 +0000 (14:55 -0700)]
Merge "Expose apps when keyguard animating." into jb-dev

12 years agoMerge "Tweak recents launch app animation" into jb-dev
Michael Jurka [Thu, 14 Jun 2012 21:33:55 +0000 (14:33 -0700)]
Merge "Tweak recents launch app animation" into jb-dev

12 years agoMerge "Don't create a giant layer for all notifications Bug #6642475" into jb-dev
Romain Guy [Thu, 14 Jun 2012 21:32:07 +0000 (14:32 -0700)]
Merge "Don't create a giant layer for all notifications Bug #6642475" into jb-dev

12 years agoDon't create a giant layer for all notifications
Romain Guy [Thu, 14 Jun 2012 19:52:53 +0000 (12:52 -0700)]
Don't create a giant layer for all notifications
Bug #6642475

When expanding the status bar, create one layer per notification instead of
a single giant layer for the pile of notifications. This prevents layer
creation failure when the total height of the notifications is larger
than the maximum allowed texture size in OpenGL ES 2.0.

This change only enables layers on notifications that will be visible
once the notification area is fully expanded.

Change-Id: I3c791a66cf5ac0973f3a65cfcd84b95209d580f3

12 years agoExpose apps when keyguard animating.
Craig Mautner [Thu, 14 Jun 2012 21:11:27 +0000 (14:11 -0700)]
Expose apps when keyguard animating.

Continuing in the trend of not hiding apps while the keyguard is
animating.

Fixes bug 6653600.

Change-Id: I151315084a13dcec061d2d6edccd31e1133610f4

12 years agoMerge "Remove Disco video from builds." into jb-dev
Eino-Ville Talvala [Thu, 14 Jun 2012 21:02:46 +0000 (14:02 -0700)]
Merge "Remove Disco video from builds." into jb-dev

12 years agoShow even fewer notifications in Setup.
Daniel Sandler [Thu, 14 Jun 2012 20:10:13 +0000 (16:10 -0400)]
Show even fewer notifications in Setup.

Restricting to pkg="android" didn't filter out things like
open wifi networks, etc. So now we have a whitelist:
notifications must be sent the "android" pseudo-package,
*and* they must have one of these "kind" tags:

  - android.system.imeswitcher (IME switcher, needed by SUW)
  - android.system.update (OTAs)

Note that OTAs currently use a fullScreenIntent, so they
bypass this logic anyway, but for consistency's sake we now
allow OTA icons in the status bar explicitly.

Bug: 6645469
Change-Id: Ib2e2f22d7a0817a1acaf8137ed4f3c7d3ddf8af5

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Thu, 14 Jun 2012 19:20:40 +0000 (12:20 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Thu, 14 Jun 2012 19:10:43 +0000 (12:10 -0700)]
Import translations. DO NOT MERGE

Change-Id: I561c60ea1ff93ae79414331242232bccfc820679

12 years agoTweak recents launch app animation
Michael Jurka [Thu, 14 Jun 2012 18:57:50 +0000 (11:57 -0700)]
Tweak recents launch app animation

- Sometimes the black background would flash; changing
animation durations to make this much less likely
- Fixing issue in Recents where we sometimes forgot
to disable drawing caches on views after enabling them

12 years agoMerge "Change snap behavior for lock screen" into jb-dev
Michael Jurka [Thu, 14 Jun 2012 18:39:21 +0000 (11:39 -0700)]
Merge "Change snap behavior for lock screen" into jb-dev

12 years agoMerge "Add new ASSIST key and map it to the global assist intent." into jb-dev
Jeff Brown [Thu, 14 Jun 2012 18:28:52 +0000 (11:28 -0700)]
Merge "Add new ASSIST key and map it to the global assist intent." into jb-dev

12 years agoMerge "Support route grouping in the MediaRouter dialog UI." into jb-dev
Adam Powell [Thu, 14 Jun 2012 18:25:20 +0000 (11:25 -0700)]
Merge "Support route grouping in the MediaRouter dialog UI." into jb-dev

12 years agoChange snap behavior for lock screen
Michael Jurka [Thu, 14 Jun 2012 00:38:14 +0000 (17:38 -0700)]
Change snap behavior for lock screen

Use angle and distance from center, rather than
distance from target.

Change-Id: Ic970bc4b05d341dbb6aab334e3f630794f2a211c

12 years agoMerge "Fix bug #6661824 Hebrew Text can be clipped" into jb-dev
Fabrice Di Meglio [Thu, 14 Jun 2012 17:50:36 +0000 (10:50 -0700)]
Merge "Fix bug #6661824 Hebrew Text can be clipped" into jb-dev

12 years agoMerge "Active window not updated window not updated properly." into jb-dev
Svetoslav Ganov [Thu, 14 Jun 2012 17:48:09 +0000 (10:48 -0700)]
Merge "Active window not updated window not updated properly." into jb-dev

12 years agoActive window not updated window not updated properly.
Svetoslav Ganov [Thu, 14 Jun 2012 17:30:00 +0000 (10:30 -0700)]
Active window not updated window not updated properly.

1. Accessibility allows querying only of the active window.
   The active window is the one that has input focus or the
   one the user is touching. Hence, if the user is touching
   a window that does not have input focus this window is
   the active one and as soon as the user stops touching
   it the active window becomes the one that has input
   focus. Currently the active window is not updated properly
   when the user lifts his finger. This leads to a scenario
   of traversal actions sent to the wrong window and the user
   being stuck.

   The reason is that the last touch explored event that is
   used to determine where to click is cleared when accessibility
   focus moves but this event is also used to determine when to
   send the hover exit and touch exploration gesture end events.
   The problem is that the last hover event is cleared before
   it is used for sending the right exit events, thus the event
   stream is inconsistent and the accessibility manager service
   relies on this stream to update the active window. Now we
   are keeping separate copies of the last touch event - one
   for clicking and one for determining the which events to
   inject to ensure consistent stream.

bug:6666041

Change-Id: Ie9961e562a42ef8a9463afacfff2246adcb66303

12 years agoMerge "If a gesture cannot be detected the device should transition to touch explorat...
Svetoslav Ganov [Thu, 14 Jun 2012 17:03:59 +0000 (10:03 -0700)]
Merge "If a gesture cannot be detected the device should transition to touch exploration state." into jb-dev

12 years agoMerge "NavBar: Slippery on the unsecured lock screen." into jb-dev
John Spurlock [Thu, 14 Jun 2012 15:53:12 +0000 (08:53 -0700)]
Merge "NavBar: Slippery on the unsecured lock screen." into jb-dev

12 years agoMerge "Fix NPE when public API removeProximityAlert() used before addProximityAlert...
Nick Pelly [Thu, 14 Jun 2012 15:34:12 +0000 (08:34 -0700)]
Merge "Fix NPE when public API removeProximityAlert() used before addProximityAlert()." into jb-dev

12 years agoMerge "Remove an unnecessary animation." into jb-dev
Daniel Sandler [Thu, 14 Jun 2012 14:15:29 +0000 (07:15 -0700)]
Merge "Remove an unnecessary animation." into jb-dev

12 years agoNavBar: Slippery on the unsecured lock screen.
John Spurlock [Wed, 13 Jun 2012 15:19:51 +0000 (11:19 -0400)]
NavBar: Slippery on the unsecured lock screen.

The NavBar is always non-slippery, except when:
 - the notification shade is showing
 - the 3 buttons (back,home,recents) are disabled

Also fix unrelated bug that ignored the "show panel delay"
before the first config change.

Bug: 6614842
Change-Id: Ib40adaef122b563809398fdebbd8a88d8f0c7ffd

12 years agoMerge "enable touch feedback on notification title." into jb-dev
Chris Wren [Thu, 14 Jun 2012 12:47:08 +0000 (05:47 -0700)]
Merge "enable touch feedback on notification title." into jb-dev

12 years agoMerge "Invert the sense of the two-figner direction on tablets." into jb-dev
Chris Wren [Thu, 14 Jun 2012 12:46:49 +0000 (05:46 -0700)]
Merge "Invert the sense of the two-figner direction on tablets." into jb-dev

12 years agoAdd new ASSIST key and map it to the global assist intent.
Jeff Brown [Thu, 14 Jun 2012 01:28:57 +0000 (18:28 -0700)]
Add new ASSIST key and map it to the global assist intent.

Moved some duplicate code from SearchPanelView and LockScreen
over to SearchManager to avoid creating yet another copy of it
in PhoneWindowManager.

Bug: 6594275
Change-Id: Ib4ebcd6817639d17548952ab2ce7cb876c05777c

12 years agoMerge "When SIM absent, keyguard should be considered non-secure." into jb-dev
Jeff Brown [Thu, 14 Jun 2012 09:45:35 +0000 (02:45 -0700)]
Merge "When SIM absent, keyguard should be considered non-secure." into jb-dev

12 years agoMerge "Add property to override backdropper effect threshold." into jb-dev
Ruei-sung Lin [Thu, 14 Jun 2012 06:41:38 +0000 (23:41 -0700)]
Merge "Add property to override backdropper effect threshold." into jb-dev

12 years agoSupport route grouping in the MediaRouter dialog UI.
Adam Powell [Thu, 14 Jun 2012 06:15:49 +0000 (23:15 -0700)]
Support route grouping in the MediaRouter dialog UI.

Change-Id: Idcae12cedfb7ca13950e7fa45441fba2029a9f68

12 years agoIf a gesture cannot be detected the device should transition to touch exploration...
Svetoslav Ganov [Thu, 14 Jun 2012 04:01:51 +0000 (21:01 -0700)]
If a gesture cannot be detected the device should transition to touch exploration state.

1. We are deciding whether the user is performing a gesture or an exploration based
   on the gesture velocity. If we are detecting gesture we do the recognition at the
   gesture end which is when the finger goes up. This is better than having a mode
   toggle gesture for exploring and gestures detection. However, it is possible that
   the user really wanted to perform an exploration but was moving too fast and
   unless he lifts his finger the device is in gesture detection mode. This is
   frustrating since the user has no feedback and assumes exploration does not
   work.

   We want to perform gesture detection only for a maximal time frame and if the
   user did not lift his finger we transition into touch exploration state.

bug:6663173

Change-Id: I954ff937cca902e31b51325d1e1dfce84d239624

12 years agoMerge "BUG 5457035: lowering max FUL failed attempts to 3" into jb-dev
Uriel Rodriguez [Thu, 14 Jun 2012 04:11:12 +0000 (21:11 -0700)]
Merge "BUG 5457035: lowering max FUL failed attempts to 3" into jb-dev

12 years agoAccessibilityInjector should return false on a failed action.
Svetoslav Ganov [Thu, 14 Jun 2012 03:21:47 +0000 (20:21 -0700)]
AccessibilityInjector should return false on a failed action.

1. AccessibilityInjector was returning true even if the underlying
   JavaScript was not loaded/failed. This may lead to TalkBack getting
   stuck in a web view. To avoid this TalkBack requires gran1ularity
   change when getting into web view. This is neither advertised nor
   shown in the tutorial and which is worse it is inconsistent with
   the traversal of the app.

   Now if the action fails, false is returned and also the timeout for
   handling the action request is increased to 5s. Upon the completion
   of this timeout TalkBack may decide to show a wait dialog or just
   skip the web content. We are treating this as an ANR.

bug:6663344

Change-Id: Idf3d08fe928c495bb974a127f853de6f938e2f77

12 years agoWhen SIM absent, keyguard should be considered non-secure.
Jeff Brown [Thu, 14 Jun 2012 03:00:49 +0000 (20:00 -0700)]
When SIM absent, keyguard should be considered non-secure.

Previously, it was observed that while a SIM is being initialized
by the hardware the SIM may briefly be reported as being in an
ABSENT state before eventually transitioning into a READY,
PIN_REQUIRED, PUK_REQUIRED, PERM_DISABLE state.

While booting up, the phone might observe that the SIM is ABSENT and
therefore bypass the keyguard going straight to the home screen.
Later when the SIM was fully initialized, the phone would revert back
to the lock screen in order to ask for the PIN.  The user might
turn on the phone, slide out the keyboard (bypassing the keyguard),
then a few moments later the keyguard would pop up prompting for a PIN.

The user experience could be somewhat jarring, so the keyguard was
changed to handle the transient case differently.  While the SIM
was ABSENT, the keyguard would not be automatically bypassed
by opening the keyboard slider.  Thus the user would be forced to
manually swipe away the keyguard before interacting with the
device.  This would help to cover the time it would take before
the SIM was fully initialized and the keyguard could determine
whether the user would need to be prompted for a SIM PIN or PUK.

To prevent the keyguard from being bypassed automatically, we
hacked up the keyguard so that it would be considered to be in a
secure state while the SIM was ABSENT.  It's worth noting that
considering the keyguard to be secure did not confer any
additional security properties to the system whatsoever.
If the user did not have a pattern lock, PIN or password set then
all it would take to access the phone is to swipe away the keyguard.

This old hack was all about devices with slide-out keyboards,
but it had some side-effects.  Namely, it assumed that the SIM
ABSENT state was transient.  But what about phones that are
being used without a SIM at all?

Considering the keyguard to be secure when the SIM is ABSENT
breaks stuff.  In fact, it turns out that making the keyguard
secure isn't really what we want at all.  What we want is a way
to prevent the keyguard from being automatically bypassed on
boot when the user opens up a sliding keyboard.  But we don't
have those anymore... and in the worst case it was just a little
janky... and what's more, nowadays the keyguard provides useful
features so maybe we shouldn't bypass it anyhow... oh and actually,
I deleted the code that used to bypass the keyguard when the
keyboard slider was opened... so this does nothing useful at all.

Right...

This change removes the old hack thereby ensuring that non-secure
keyguard features like launching the Camera or Assistant or
application features like hands-free voice search will work
correctly on phones without a SIM.

Bug: 6022658
Change-Id: I019d1d8c65c55cbf4d10d4928e1d2b2b242162a6

12 years agoMerge "Remove line3 in big notification unless there's text to show." into jb-dev
Daniel Sandler [Thu, 14 Jun 2012 01:00:56 +0000 (18:00 -0700)]
Merge "Remove line3 in big notification unless there's text to show." into jb-dev

12 years agoFix NPE when public API removeProximityAlert() used before addProximityAlert().
Nick Pelly [Wed, 13 Jun 2012 23:45:27 +0000 (16:45 -0700)]
Fix NPE when public API removeProximityAlert() used before addProximityAlert().

Bug: 6313992
Change-Id: I905ad9ea771286727ce4a3a2334f2a0dac967c3d

12 years agoFix bug #6661824 Hebrew Text can be clipped
Fabrice Di Meglio [Wed, 13 Jun 2012 22:45:38 +0000 (15:45 -0700)]
Fix bug #6661824 Hebrew Text can be clipped

- use the correct ellipsis char in both measurement and rendered string

Change-Id: Ia00285fc16da528f18702719026503b5d0610642

12 years agoAdd property to override backdropper effect threshold.
Eino-Ville Talvala [Fri, 8 Jun 2012 21:35:13 +0000 (14:35 -0700)]
Add property to override backdropper effect threshold.

Also, change the default background mean to be the first incoming frame.

Bug: 6600585
Change-Id: I2181e75711d48d01f48e3fb1d604eb467f08fda4

12 years agoRemove Disco video from builds.
Eino-Ville Talvala [Wed, 13 Jun 2012 22:17:58 +0000 (15:17 -0700)]
Remove Disco video from builds.

Bug: 6294985
Change-Id: Idde6148b94a55a27740f3b4f82c2038272f06628

12 years agoMerge "Do not hide animating window behind keyguard." into jb-dev
Craig Mautner [Wed, 13 Jun 2012 22:27:51 +0000 (15:27 -0700)]
Merge "Do not hide animating window behind keyguard." into jb-dev

12 years agoMerge "Call WebView.performLongClick instead of performLongClick()" into jb-dev
John Reck [Wed, 13 Jun 2012 21:59:13 +0000 (14:59 -0700)]
Merge "Call WebView.performLongClick instead of performLongClick()" into jb-dev

12 years agoBUG 5457035: lowering max FUL failed attempts to 3
Uriel Rodriguez [Wed, 13 Jun 2012 21:30:13 +0000 (17:30 -0400)]
BUG 5457035: lowering max FUL failed attempts to 3

After an unrecognized face occurs 3 times in a row, we disable FUL until the user unlocks via the
backup lock.  Lowering this values makes spoofing with liveliness enabled more difficult.  Since
we currently don't differentiate between the max number attempts with and without liveliness
enabled, we had to lower it for all uses of FUL.

Change-Id: I7a429f64cde2767ddd2ceb0885343acd0b802aac

12 years agoMerge "Update wallpaper visibility at time of hide/show." into jb-dev
Craig Mautner [Wed, 13 Jun 2012 21:09:08 +0000 (14:09 -0700)]
Merge "Update wallpaper visibility at time of hide/show." into jb-dev

12 years agoMerge "MediaRouter dialog" into jb-dev
Adam Powell [Wed, 13 Jun 2012 21:02:53 +0000 (14:02 -0700)]
Merge "MediaRouter dialog" into jb-dev

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Wed, 13 Jun 2012 19:32:00 +0000 (12:32 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoenable touch feedback on notification title.
Chris Wren [Wed, 13 Jun 2012 17:35:43 +0000 (13:35 -0400)]
enable touch feedback on notification title.

Bug: 6646294
Change-Id: I8ef6fa104dabe280a45258181aa2ed597e433fca

12 years agoMerge "Clear identity when snoozing limit." into jb-dev
Jeff Sharkey [Wed, 13 Jun 2012 19:06:10 +0000 (12:06 -0700)]
Merge "Clear identity when snoozing limit." into jb-dev

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Wed, 13 Jun 2012 19:05:16 +0000 (12:05 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ic1cf133bf3f6b25be1bc748595024f973c0f0deb

12 years agoMediaRouter dialog
Adam Powell [Tue, 12 Jun 2012 23:59:45 +0000 (16:59 -0700)]
MediaRouter dialog

Add the dialog behavior for MediaRouteActionProvider/MediaRouteButton.

Still TODO:

* Switch audio icon based on source; speaker/bt/user

* Rig up volume slider

* Rig up item icons

* Rig up group button for groupable categories

* Make grouping work

Change-Id: I3f992516b184d5ae940ddb7bbb7f94ff58914589

12 years agoCall WebView.performLongClick instead of performLongClick()
John Reck [Wed, 13 Jun 2012 17:37:40 +0000 (10:37 -0700)]
Call WebView.performLongClick instead of performLongClick()

 Bug: 6656538
 Due to the WebView/WebViewClassic refactor we need to call
 WebView.performLongClick instead of performLongClick directly
 to allow subclasses to override performLongClick

Change-Id: I9b580217fbafc82d03e63eabfdda9f5bad98db0f

12 years agoRemove an unnecessary animation.
Daniel Sandler [Wed, 13 Jun 2012 17:36:52 +0000 (13:36 -0400)]
Remove an unnecessary animation.

When the notification panel is full-width (small devices
like phones) we can just leave the icons showing all the
time, which saves a little CPU during the
performance-critical shade expand operation.

On sw600dp devices we continue to use DISABLE_SYSTEM_INFO to
smoothly hide the status bar when the notification panel
appears (and show it when the panel is dismissed).

Bug: 6555172
Change-Id: I59a1226549dd1e51c375c3972b47079c1ee856b0

12 years agoMerge "Fix attachFunctor path to ignore delay" into jb-dev
Chris Craik [Wed, 13 Jun 2012 17:34:59 +0000 (10:34 -0700)]
Merge "Fix attachFunctor path to ignore delay" into jb-dev

12 years agoremove obsolete notificaiton pane visibility code.
Chris Wren [Wed, 13 Jun 2012 16:20:05 +0000 (12:20 -0400)]
remove obsolete notificaiton pane visibility code.

Bug: 6647263
Change-Id: I634f17c608effe215b9ec4241355fd7cc8860d8e

12 years agoRemove line3 in big notification unless there's text to show.
Daniel Sandler [Wed, 13 Jun 2012 16:17:07 +0000 (12:17 -0400)]
Remove line3 in big notification unless there's text to show.

If you have no subText or summaryText in a big template, but
you *do* have a number, the overflow bar (below the big text
or inbox or whatever) would have shown; now it does not.

Bug: 6657006
Change-Id: Ib2af2712da3a98227bd8d697560893adbdc427e9

12 years agoUpdate wallpaper visibility at time of hide/show.
Craig Mautner [Wed, 13 Jun 2012 15:39:38 +0000 (08:39 -0700)]
Update wallpaper visibility at time of hide/show.

Call the Window client method dispatchAppVisibility when hiding or
showing wallpaper rather than wait until the next call to
performLayoutAndPlaceSurfaces.

Fixes bug 6645473.

Change-Id: I363f69f8db0affff92308e11ce52546401959d8f

12 years agoMerge ""Two actions ought to be enough for anybody."" into jb-dev
Daniel Sandler [Wed, 13 Jun 2012 14:07:02 +0000 (07:07 -0700)]
Merge ""Two actions ought to be enough for anybody."" into jb-dev

12 years agoClear identity when snoozing limit.
Jeff Sharkey [Wed, 13 Jun 2012 04:06:30 +0000 (21:06 -0700)]
Clear identity when snoozing limit.

Continues to check MANAGE_NETWORK_POLICY permission.  This allows
SystemUI to invoke snoozeLimit() without CONNECTIVITY_INTERNAL.

Bug: 6653091
Change-Id: I464bf62b79f2647c6b6db151251a0036897d0cc0

12 years agoFix 6641800: Remove unnecessary padding below status view
Jim Miller [Wed, 13 Jun 2012 02:56:34 +0000 (19:56 -0700)]
Fix 6641800: Remove unnecessary padding below status view

This fixes a bug on a 600dp device where the owner info text
was clipped.

Change-Id: I5293b6c1f508307dc55b23d6e2f219e9fa735693

12 years agoDo not hide animating window behind keyguard.
Craig Mautner [Tue, 12 Jun 2012 22:50:45 +0000 (15:50 -0700)]
Do not hide animating window behind keyguard.

The transition from clock to keyguard when restarting the device
was janky. The cause was that the clock app was animating away
which kept the adjustWallpaperWindowsLocked() method from setting
the keyguard as the new mWallpaperTarget. At the same time the
WindowAnimator saw that the keyguard was readyToDisplay() which
set mForceHiding true causing the clock to become hidden. Since
the clock was mWallpaperTarget the wallpaper was hidden at the
same time.

This fix does not allow mForceHiding to hide an animating
window.

Fixes bug 6649988.

Change-Id: Ie5cb0dfcc987d5ee1ad2351cf520629b8e301a2b

12 years agoFix 6613962: Update keyguard to use new GlowPadView UX design.
Jim Miller [Tue, 12 Jun 2012 04:06:13 +0000 (21:06 -0700)]
Fix 6613962: Update keyguard to use new GlowPadView UX design.

Change-Id: I4f1ef3107e5550f7df9dcb412943a84b66432b7d

12 years agoMerge "Set detached wallpaper on the scale up animation." into jb-dev
Craig Mautner [Wed, 13 Jun 2012 02:04:01 +0000 (19:04 -0700)]
Merge "Set detached wallpaper on the scale up animation." into jb-dev

12 years agoFix attachFunctor path to ignore delay
Chris Craik [Wed, 13 Jun 2012 00:23:28 +0000 (17:23 -0700)]
Fix attachFunctor path to ignore delay

Don't defer functor invocation when calling attach functor directly.

bug:6653638

Change-Id: Ifffc027df16612f380f39b82b7d0a4411d53b4ea

12 years agoLow disk space string change, surface state.
Jeff Sharkey [Wed, 13 Jun 2012 00:12:08 +0000 (17:12 -0700)]
Low disk space string change, surface state.

Surface current low disk state through IPackageManager for use in
Settings app.

Bug: 6576409
Change-Id: I9ae9ce99a2faa3015a237036c03567d1ae11628f

12 years agoMerge "Print extended SQLite error code." into jb-dev
Jeff Brown [Tue, 12 Jun 2012 23:06:03 +0000 (16:06 -0700)]
Merge "Print extended SQLite error code." into jb-dev

12 years agoSet detached wallpaper on the scale up animation.
Craig Mautner [Tue, 12 Jun 2012 22:50:45 +0000 (15:50 -0700)]
Set detached wallpaper on the scale up animation.

This keeps the background wallpaper from disappearing when expanding an
app that has a wallpaper background (e.g. clock).

Fixes bug 6649988. The second half of the bug, the first half will be
reissued as a new bug.

Change-Id: I209c9038469e4133586a927c92ef64ae43fb937f

12 years agoMerge "Do not cancel animations when switching." into jb-dev
Craig Mautner [Tue, 12 Jun 2012 22:45:37 +0000 (15:45 -0700)]
Merge "Do not cancel animations when switching." into jb-dev

12 years agoPrint extended SQLite error code.
Jeff Brown [Tue, 12 Jun 2012 22:39:09 +0000 (15:39 -0700)]
Print extended SQLite error code.

Bug: 6538393
Change-Id: I2b010c6a1127887717af67ec588c3df8bf41afe6

12 years agoMerge "Add NOTICE and MODULE_LICENSE_APACH2 to libvideoeditor_jni.so" into jb-dev
James Dong [Tue, 12 Jun 2012 21:20:31 +0000 (14:20 -0700)]
Merge "Add NOTICE and MODULE_LICENSE_APACH2 to libvideoeditor_jni.so" into jb-dev

12 years agoAdd NOTICE and MODULE_LICENSE_APACH2 to libvideoeditor_jni.so
James Dong [Tue, 12 Jun 2012 21:04:30 +0000 (14:04 -0700)]
Add NOTICE and MODULE_LICENSE_APACH2 to libvideoeditor_jni.so

Change-Id: Ibe37c2e6ede6143dc4e27c6072867bc58aa1c08a
related-to-bug: 6647465

12 years agoInvert the sense of the two-figner direction on tablets.
Chris Wren [Mon, 11 Jun 2012 14:39:36 +0000 (10:39 -0400)]
Invert the sense of the two-figner direction on tablets.

Bug: 6506376
Change-Id: Ife336c6695608f14554e18e32ea35f118d7f12e2

12 years agoMerge "Make sure to stop noHistory="true" activities properly" into jb-dev
Christopher Tate [Tue, 12 Jun 2012 20:38:56 +0000 (13:38 -0700)]
Merge "Make sure to stop noHistory="true" activities properly" into jb-dev

12 years agoMerge "StatusBar: Respond properly to global expand message" into jb-dev
John Spurlock [Tue, 12 Jun 2012 20:29:09 +0000 (13:29 -0700)]
Merge "StatusBar: Respond properly to global expand message" into jb-dev

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Ying Wang [Tue, 12 Jun 2012 20:20:19 +0000 (13:20 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoImport translations. DO NOT MERGE
Ying Wang [Tue, 12 Jun 2012 20:17:59 +0000 (13:17 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iafceb53cc46753f25f460609e9db6fa227c15032

12 years agoMake sure to stop noHistory="true" activities properly
Christopher Tate [Tue, 12 Jun 2012 20:08:18 +0000 (13:08 -0700)]
Make sure to stop noHistory="true" activities properly

The code was correctly inducing a 'finish' when such an activity was
being stopped, but then was not continuing with the rest of the stop
bookkeeping at that point.  In some circumstances this could result
in an inconsistent state, with the activity marked as finishing but
neither in the foreground nor stopped.

Bug 6585403

Change-Id: Ib5c5be885bc6534e099e040d87a8589f7b7454ce

12 years ago"Two actions ought to be enough for anybody."
Daniel Sandler [Tue, 12 Jun 2012 20:06:27 +0000 (16:06 -0400)]
"Two actions ought to be enough for anybody."

Bug: 6650170
Change-Id: I5ee6990a8e556f9ee1fbfb0989db33f75b07f4ea

12 years agoMerge "MediaRouter work" into jb-dev
Adam Powell [Tue, 12 Jun 2012 19:04:24 +0000 (12:04 -0700)]
Merge "MediaRouter work" into jb-dev

12 years agoMediaRouter work
Adam Powell [Tue, 12 Jun 2012 18:25:54 +0000 (11:25 -0700)]
MediaRouter work

Fix a bug where MediaRouter would crash on creation

Add click listener for app-supplied extended settings on the route
selection dialog.

Change-Id: I2991db1720b5c574148e250526984592f4dc3c44

12 years agoMerge "make the boot animation 32-bits to avoid banding" into jb-dev
Justin Ho [Tue, 12 Jun 2012 18:22:44 +0000 (11:22 -0700)]
Merge "make the boot animation 32-bits to avoid banding" into jb-dev

12 years agoDo not cancel animations when switching.
Craig Mautner [Tue, 12 Jun 2012 18:13:41 +0000 (11:13 -0700)]
Do not cancel animations when switching.

Was canceling ongoing animations when starting a new animation which
caused the window of the first animation to restart. This looked
janky. The original cancellation was put in to stop the incorrect
animation being selected when quickly switching between an incoming
app and the homescreen. Reversing the cancellation no longer exposes
the original problem it was put in to fix.

One way to duplicate what this is fixing.
1. Slow down animations to 10x.
2. Run ApiDemos/App/Alert Dialogs/List dialog
3. Tap outside the list dialog and then tap the home button.
Tapping outside the list dialog causes the list dialog to animate
away. Tapping the home button then causes the app to animate away.
Before this fix the list dialog would revert to full size before
the app animates away. With this fix the list dialog continues its
original animation as the app animates away.

Fixes bug 6600726.

Change-Id: I29c940254808a321c3b6c2e4f4b7c78a72b47899

12 years agoMerge "Made IAudioService.setBluetoothA2dpOn() not oneway" into jb-dev
Eric Laurent [Tue, 12 Jun 2012 18:10:33 +0000 (11:10 -0700)]
Merge "Made IAudioService.setBluetoothA2dpOn() not oneway" into jb-dev

12 years agoMerge "Put PLMN and SPN on one line in the notification panel." into jb-dev
Daniel Sandler [Tue, 12 Jun 2012 18:04:11 +0000 (11:04 -0700)]
Merge "Put PLMN and SPN on one line in the notification panel." into jb-dev

12 years agoMerge "Suppress header flash when collapsing notifications panel." into jb-dev
Daniel Sandler [Tue, 12 Jun 2012 18:04:08 +0000 (11:04 -0700)]
Merge "Suppress header flash when collapsing notifications panel." into jb-dev