79134 Commits

Author SHA1 Message Date
Nick Pelly
da58f39374 am bfd125a0: Merge "Fix NPE when public API removeProximityAlert() used before addProximityAlert()." into jb-dev
* commit 'bfd125a0bf51ce0931d981d7694432868b9f511f':
  Fix NPE when public API removeProximityAlert() used before addProximityAlert().
2012-06-14 08:36:30 -07:00
Nick Pelly
bfd125a0bf Merge "Fix NPE when public API removeProximityAlert() used before addProximityAlert()." into jb-dev 2012-06-14 08:34:13 -07:00
Daniel Sandler
544a0fc170 am a1d40e47: Merge "Remove an unnecessary animation." into jb-dev
* commit 'a1d40e47f6aa976da584136ea6f6ba76e7046d11':
  Remove an unnecessary animation.
2012-06-14 07:18:53 -07:00
Daniel Sandler
a1d40e47f6 Merge "Remove an unnecessary animation." into jb-dev 2012-06-14 07:15:29 -07:00
John Spurlock
d5ef54658b 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
2012-06-14 10:01:48 -04:00
Chris Wren
6c3641ae5a am c07dc743: Merge "enable touch feedback on notification title." into jb-dev
* commit 'c07dc74374d05cc35f73a933c980a0ef974a7b58':
  enable touch feedback on notification title.
2012-06-14 05:49:39 -07:00
Chris Wren
87009a123e am a54c01ec: Merge "Invert the sense of the two-figner direction on tablets." into jb-dev
* commit 'a54c01eccbb9256fd7bcecf7b2f398a7e2ef0041':
  Invert the sense of the two-figner direction on tablets.
2012-06-14 05:49:35 -07:00
Chris Wren
c07dc74374 Merge "enable touch feedback on notification title." into jb-dev 2012-06-14 05:47:08 -07:00
Chris Wren
a54c01eccb Merge "Invert the sense of the two-figner direction on tablets." into jb-dev 2012-06-14 05:46:49 -07:00
Jeff Brown
de7a8ead24 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
2012-06-14 04:16:26 -07:00
Jeff Brown
5c9768b521 am b44700f2: Merge "When SIM absent, keyguard should be considered non-secure." into jb-dev
* commit 'b44700f27dc0f0673c54e422c62a49d0891b67d7':
  When SIM absent, keyguard should be considered non-secure.
2012-06-14 02:52:41 -07:00
Jeff Brown
b44700f27d Merge "When SIM absent, keyguard should be considered non-secure." into jb-dev 2012-06-14 02:45:35 -07:00
Ruei-sung Lin
be4e1ea4f1 am 0a4cbc32: Merge "Add property to override backdropper effect threshold." into jb-dev
* commit '0a4cbc3267c12fb4f5831ea70286b0664f90891a':
  Add property to override backdropper effect threshold.
2012-06-13 23:44:09 -07:00
Ruei-sung Lin
0a4cbc3267 Merge "Add property to override backdropper effect threshold." into jb-dev 2012-06-13 23:41:38 -07:00
Adam Powell
d6d0bddee3 Support route grouping in the MediaRouter dialog UI.
Change-Id: Idcae12cedfb7ca13950e7fa45441fba2029a9f68
2012-06-13 23:27:09 -07:00
Svetoslav Ganov
95068e5d1b 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
2012-06-13 21:14:16 -07:00
Uriel Rodriguez
a9f4fe828f am 6a797779: Merge "BUG 5457035: lowering max FUL failed attempts to 3" into jb-dev
* commit '6a7977794961fa7c165f7963b6ca6d82f94633ce':
  BUG 5457035: lowering max FUL failed attempts to 3
2012-06-13 21:13:34 -07:00
Uriel Rodriguez
6a79777949 Merge "BUG 5457035: lowering max FUL failed attempts to 3" into jb-dev 2012-06-13 21:11:12 -07:00
Svetoslav Ganov
d8058ca556 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
2012-06-13 20:26:48 -07:00
Jeff Brown
47cd14d9bc 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
2012-06-13 20:00:49 -07:00
Daniel Sandler
cb629f3800 am 4365d066: Merge "Remove line3 in big notification unless there\'s text to show." into jb-dev
* commit '4365d066e8beed17b61ba51c728d60a9baa499be':
  Remove line3 in big notification unless there's text to show.
2012-06-13 18:03:40 -07:00
Daniel Sandler
4365d066e8 Merge "Remove line3 in big notification unless there's text to show." into jb-dev 2012-06-13 18:00:56 -07:00
Nick Pelly
01ed75c82f Fix NPE when public API removeProximityAlert() used before addProximityAlert().
Bug: 6313992
Change-Id: I905ad9ea771286727ce4a3a2334f2a0dac967c3d
2012-06-13 16:45:27 -07:00
Fabrice Di Meglio
8d44fff7e6 Fix bug #6661824 Hebrew Text can be clipped
- use the correct ellipsis char in both measurement and rendered string

Change-Id: Ia00285fc16da528f18702719026503b5d0610642
2012-06-13 15:54:55 -07:00
Eino-Ville Talvala
4239373aed Add property to override backdropper effect threshold.
Also, change the default background mean to be the first incoming frame.

Bug: 6600585
Change-Id: I2181e75711d48d01f48e3fb1d604eb467f08fda4
2012-06-13 15:51:11 -07:00
Raphael Moll
4306096a43 Layoutlib Create: Find dependencies.
Usage: layoutlib_create --list-deps /path/to/layoutlib.jar

Prints:
- all classes found in the Jar and the types they use (the dependencies).
- all the dependencies missing from the Jar and what uses them.

Change-Id: I8b2674df127e1494feed7a653282e88e4d2f5494
2012-06-13 15:44:54 -07:00
Craig Mautner
129167cfe6 am 4323d6ea: Merge "Do not hide animating window behind keyguard." into jb-dev
* commit '4323d6ea5143a3f2c419b3db28f956755652d78a':
  Do not hide animating window behind keyguard.
2012-06-13 15:36:51 -07:00
Eino-Ville Talvala
708e6bc652 Remove Disco video from builds.
Bug: 6294985
Change-Id: Idde6148b94a55a27740f3b4f82c2038272f06628
2012-06-13 15:34:38 -07:00
Craig Mautner
4323d6ea51 Merge "Do not hide animating window behind keyguard." into jb-dev 2012-06-13 15:27:51 -07:00
John Reck
d6bcfeb5e9 am d54d7cfe: Merge "Call WebView.performLongClick instead of performLongClick()" into jb-dev
* commit 'd54d7cfec7bcfd4fa84dcf686071cc5e9b599522':
  Call WebView.performLongClick instead of performLongClick()
2012-06-13 15:02:48 -07:00
John Reck
d54d7cfec7 Merge "Call WebView.performLongClick instead of performLongClick()" into jb-dev 2012-06-13 14:59:13 -07:00
Uriel Rodriguez
aa24906de2 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
2012-06-13 17:30:13 -04:00
Craig Mautner
719c139d03 am f8d05b4e: Merge "Update wallpaper visibility at time of hide/show." into jb-dev
* commit 'f8d05b4ea61bb0db32c1a7f93f27a13f67c9ef0c':
  Update wallpaper visibility at time of hide/show.
2012-06-13 14:16:49 -07:00
Craig Mautner
f8d05b4ea6 Merge "Update wallpaper visibility at time of hide/show." into jb-dev 2012-06-13 14:09:08 -07:00
Adam Powell
6c14359074 am 4b4a947b: Merge "MediaRouter dialog" into jb-dev
* commit '4b4a947b5e4913d7f8b7df15d3a7cdf8f343471f':
  MediaRouter dialog
2012-06-13 14:05:24 -07:00
Adam Powell
4b4a947b5e Merge "MediaRouter dialog" into jb-dev 2012-06-13 14:02:53 -07:00
Eric Fischer
cc7baa28f2 am 82134f76: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit '82134f76936be049cc4b23a894ba7decc1d59952':
  Import translations. DO NOT MERGE
2012-06-13 12:35:18 -07:00
Eric Fischer
82134f7693 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-06-13 12:32:00 -07:00
Chris Wren
ebdc5b81d6 enable touch feedback on notification title.
Bug: 6646294
Change-Id: I8ef6fa104dabe280a45258181aa2ed597e433fca
2012-06-13 12:10:55 -07:00
Jeff Sharkey
ba55c5c579 am 96321890: Merge "Clear identity when snoozing limit." into jb-dev
* commit '963218905ab31ccd2cf7ff57d372b185624543a4':
  Clear identity when snoozing limit.
2012-06-13 12:10:41 -07:00
Jeff Sharkey
963218905a Merge "Clear identity when snoozing limit." into jb-dev 2012-06-13 12:06:10 -07:00
Eric Fischer
1d4062c746 Import translations. DO NOT MERGE
Change-Id: Ic1cf133bf3f6b25be1bc748595024f973c0f0deb
2012-06-13 12:05:16 -07:00
Adam Powell
70e11e50ee 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
2012-06-13 11:42:10 -07:00
John Reck
a8ae3e94c4 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
2012-06-13 10:58:34 -07:00
Jean-Baptiste Queru
a49b7fed91 am cfe75518: (-s ours) am 9b2b0527: Merge "Only check ARCH_ARM_HAVE_ARMV7A if TARGET_ARCH is arm"
* commit 'cfe75518ef23efede1359274c91c732c0ac7ccf3':
  Only check ARCH_ARM_HAVE_ARMV7A if TARGET_ARCH is arm
2012-06-13 10:55:13 -07:00
Jean-Baptiste Queru
cfe75518ef am 9b2b0527: Merge "Only check ARCH_ARM_HAVE_ARMV7A if TARGET_ARCH is arm"
* commit '9b2b0527ccbc00e2befa2b8554a7e045f5168203':
  Only check ARCH_ARM_HAVE_ARMV7A if TARGET_ARCH is arm
2012-06-13 10:47:52 -07:00
Chris Craik
06d6204a2e am d772c487: Merge "Fix attachFunctor path to ignore delay" into jb-dev
* commit 'd772c4878e2207795e92b26a462fd02bca7e3c2e':
  Fix attachFunctor path to ignore delay
2012-06-13 10:43:19 -07:00
Daniel Sandler
66d92f8109 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
2012-06-13 13:40:15 -04:00
Chris Craik
d772c4878e Merge "Fix attachFunctor path to ignore delay" into jb-dev 2012-06-13 10:34:59 -07:00
Jean-Baptiste Queru
9b2b0527cc Merge "Only check ARCH_ARM_HAVE_ARMV7A if TARGET_ARCH is arm" 2012-06-13 10:34:03 -07:00