75099 Commits

Author SHA1 Message Date
Jeff Brown
5bbd4b4f5f Get alias for Bluetooth devices.
Bluetooth devices can be renamed by the user.  Make the
input system aware of the user-specified name and transparently
pass it down to applications.  This enables the keyboard
layout picker Settings UI to use device names that are
consistent with what the user set in the Bluetooth UI.

Bug: 6363157
Change-Id: I8eea26ce2c69c2a3f09c8de02e9e847610e0419c
2012-04-20 20:11:12 -07:00
Jeff Brown
9e6d4b035d Lost the race.
Bug: 6373370
Change-Id: If42a3de66b1d407b06064e91ff578dc9ca5ceed8
2012-04-20 13:08:27 -07:00
Jeff Brown
f44e39493c When ANR happens, only remove ANR'd window.
The system bar uses input event injection to inject BACK keys
into the application.  If the receiving application ANRs, we
used to clear the touch state unconditionally.  Doing so would
prevent the system bar from receiving the ACTION_UP event so
the back button would continue to appear pressed until pressed
again.

Now we are more careful to only remove the specific ANR'd
window from the touch state.  Other windows should continue
to receive touch events as usual.

Change-Id: If86bfc323e2c7aed82ca1334bc67da649953168f
2012-04-20 11:33:27 -07:00
Chris Wren
80a76276dc Add visual feedback for notification expandability.
Change-Id: I0b82a465a126a6d0ec6cf6af87dc56817765b995
2012-04-20 12:45:02 -04:00
Chris Wren
cd3e6e2264 Merge "fix press feedback on notification rows" 2012-04-20 09:42:06 -07:00
Alex Sakhartchouk
d6d6d35c54 Merge "Deprecate" 2012-04-20 09:40:55 -07:00
Chris Wren
d84e593746 fix press feedback on notification rows
Change-Id: I50de2f4d6142c2553428abc853c820f4354d0640
Bug: 6362246
2012-04-20 09:40:11 -07:00
Wu-cheng Li
e17fc7d669 Merge "Improve android.hardware.Camera.setRotation javadoc." 2012-04-20 03:21:30 -07:00
Wu-cheng Li
8969ea12ca Improve android.hardware.Camera.setRotation javadoc.
Change-Id: If6c77044f3f4567ab0c3987fb2ddc47ae307582a
2012-04-20 17:38:09 +08:00
Svetoslav Ganov
e30df7744c Merge "Adding an opt-in mechanism for gesture detection in AccessibilityService." 2012-04-19 22:09:27 -07:00
Svetoslav Ganov
fefd20e927 Adding an opt-in mechanism for gesture detection in AccessibilityService.
1. An accessibility service has to explicitly opt in to be notified
   for gestures by the system. There is only one accessibility service
   that handles gestures and in case it does not handle a gesture
   the system performs default handling. This default handling ensures
   that we have gesture navigation even if no accessibility service
   would like to participate/customize the interaction model.

bug:5932640

Change-Id: Id8194293bd94097b455e9388b68134a45dc3b8fa
2012-04-19 22:08:42 -07:00
Guang Zhu
b0668e4d19 follow up file original policy change
enable the access for webview test

Change-Id: Iebde5f3175eabf6e084dc1a2fe8b9dce280ebe7c
2012-04-19 22:02:04 -07:00
Scott Main
ad04c9ccc9 am 08e9e960: am ffad98c7: docs: fix markup error in resource sidenav
* commit '08e9e9600acd8dc8b3d26e5fcb43614ecafd8cbe':
  docs: fix markup error in resource sidenav
2012-04-19 19:52:18 -07:00
Scott Main
08e9e9600a am ffad98c7: docs: fix markup error in resource sidenav
* commit 'ffad98c72e1ee9101065e19318c74ab4c735a477':
  docs: fix markup error in resource sidenav
2012-04-19 19:48:50 -07:00
Jeff Brown
8962abd4e2 Merge "Check whether db was really opened read/write." 2012-04-19 19:47:09 -07:00
Jeff Brown
330ec91e02 Check whether db was really opened read/write.
Bug: 6176510
Change-Id: I7aeeb4340e55d554a57bb46c3c27ab37186f7e3a
2012-04-19 19:44:43 -07:00
Scott Main
ffad98c72e docs: fix markup error in resource sidenav
Change-Id: I70f2c906e83b96661005d24eaef448ec9246590e
2012-04-19 19:31:29 -07:00
Scott Main
3c6ac8c022 am 5da1c179: am 5f8173f3: docs: fix javadoc link
* commit '5da1c179305f7c9d79a1c1b8f14d484d10189183':
  docs: fix javadoc link
2012-04-19 19:30:36 -07:00
Scott Main
5da1c17930 am 5f8173f3: docs: fix javadoc link
* commit '5f8173f35b241e2f15dad1218b07216c9163b80d':
  docs: fix javadoc link
2012-04-19 19:28:01 -07:00
Brian Colonna
a277e14fb6 Merge "Moved biometric sensor selected check into LPKV" 2012-04-19 19:26:30 -07:00
Scott Main
5f8173f35b docs: fix javadoc link
Change-Id: Ife9c4948c484eaf1e01dbb269bc61e657cc5527e
2012-04-19 19:24:50 -07:00
Scott Main
9c10486a52 am 2442e1e0: am 421854e6: docs: add fragments class to training TOC
* commit '2442e1e067b78cd215544b2e32725ce0b92d0f72':
  docs: add fragments class to training TOC
2012-04-19 19:24:37 -07:00
Scott Main
2442e1e067 am 421854e6: docs: add fragments class to training TOC
* commit '421854e6e8fe3418d22ae444567a06b5f308c896':
  docs: add fragments class to training TOC
2012-04-19 19:22:11 -07:00
Scott Main
421854e6e8 docs: add fragments class to training TOC
Change-Id: Ib54257d74f43eb85855685b49f8b0fa70ca6e984
2012-04-19 19:18:44 -07:00
Scott Main
58fe7c02d9 am 72c13446: am 67e988e0: Merge "docs: for AU basic training on fragments including ZIP for sample app" into ics-mr1
* commit '72c13446b432915f75a21e887b3ee6bbb655f757':
  docs:  for AU basic training on fragments including ZIP for sample app
2012-04-19 19:13:26 -07:00
Scott Main
926b00b3b1 am 559f184a: am 6ea11c0a: Merge "docs: Add 101 class on activity lifecycle including ZIP for sample app" into ics-mr1
* commit '559f184a89315ff646c55b12e0f9664abff72a7e':
  docs: Add 101 class on activity lifecycle including ZIP for sample app
2012-04-19 19:10:29 -07:00
Scott Main
72c13446b4 am 67e988e0: Merge "docs: for AU basic training on fragments including ZIP for sample app" into ics-mr1
* commit '67e988e0e96dcd0f9c8f07e5b685dc7c8224a884':
  docs:  for AU basic training on fragments including ZIP for sample app
2012-04-19 19:09:37 -07:00
Brian Colonna
c169366f2c Moved biometric sensor selected check into LPKV
This change moves all of the mBiometricUnlock.installedAndSelected()
checks from inside the biometric sensor implementation to
LockPatternKeyguardView.  There are several reasons for this change:

1) Instead of constructing a BiometricUnlock object and asking it if
it's enabled, LPKV can check this for itself and not even bother
constructing it if it's not enabled.

2) Since mBiometricUnlock will not be constructed if biometric unlock
isn't enabled, LPKV can simply do null checks to see if it should call
biometric unlock functions.  So it serves the dual-purpose of ensuring
there will be no null-pointer exceptions with regards to using the
biometric unlock.

3) This greatly reduces the chance of bugs being introduced into
non-biometric unlock methods because no biometric unlock calls will be
attempted if biometric unlock is not enabled.  Previously, the calls
would be made and then the biometric unlock would check if it was
enabled and return, which was not only bug-prone, but also
inefficient.

4) This simplifies the biometric unlock interface by removing an
unnecessary function call.

5) The biometric unlock implementations do not have to check if they
are installed every time they do something, which greatly cleans up
biometric unlock implementations.  It makes much more sense for the
biometric unlock functions to be able to assume that they aren't
being called unless they should be.

6) Eventually when there is more than one possible biometric unlock
method, it will make much more sense for LPKV to be in charge of
what is constructed and what isn't.

Change-Id: I5437ac05d8ceb2b182fe372cd6c75ad944ade28f
2012-04-19 22:07:30 -04:00
Scott Main
559f184a89 am 6ea11c0a: Merge "docs: Add 101 class on activity lifecycle including ZIP for sample app" into ics-mr1
* commit '6ea11c0a20db6b808b92cfa40ef7f916825cee5e':
  docs: Add 101 class on activity lifecycle including ZIP for sample app
2012-04-19 19:06:51 -07:00
Scott Main
67e988e0e9 Merge "docs: for AU basic training on fragments including ZIP for sample app" into ics-mr1 2012-04-19 19:05:09 -07:00
Scott Main
6ea11c0a20 Merge "docs: Add 101 class on activity lifecycle including ZIP for sample app" into ics-mr1 2012-04-19 19:04:51 -07:00
Scott Main
d9ee0d71f4 docs: for AU basic training on fragments
including ZIP for sample app

Change-Id: Ifacdf63cb85274b1ff7a389c563d325604c0b7fa
2012-04-19 18:58:03 -07:00
Scott Main
be2f4edd2c docs: Add 101 class on activity lifecycle
including ZIP for sample app

Change-Id: Id2659ebe15094dad10da4d9bdefed527984fccd9
2012-04-19 18:53:40 -07:00
Winson Chung
dd184f9fb1 Merge "Adding callback for widget size changed, and potentially other extra info" 2012-04-19 18:45:37 -07:00
Brian Colonna
8c44c181de Merge "Fix: refreshBatteryInfo was uncovering backup" 2012-04-19 18:22:17 -07:00
Adam Powell
53c5fa8a2f Merge "Fix some smooth scrolling bugs in lists and update on the animation timer." 2012-04-19 18:19:26 -07:00
Dirk Dougherty
902414c42f am 69e67195: am 2a73a218: Doc change: Add link target for developer video block.
* commit '69e67195fdb3805b76031e259b4b27a01b3e7cea':
  Doc change: Add link target for developer video block.
2012-04-19 18:18:34 -07:00
Dirk Dougherty
69e67195fd am 2a73a218: Doc change: Add link target for developer video block.
* commit '2a73a2189b2a592727d2e698d7dc09a973ffa273':
  Doc change: Add link target for developer video block.
2012-04-19 18:15:50 -07:00
Adam Powell
1fa179ef41 Fix some smooth scrolling bugs in lists and update on the animation
timer.

Change-Id: I0cb03c6da204a34c9e942c3953b87287c3d4763d
2012-04-19 18:15:09 -07:00
Dianne Hackborn
5dd32fbcbf Merge "Fix issue #4499996: LiveWallpaperPreview activity intent filter" 2012-04-19 18:12:05 -07:00
Dirk Dougherty
2a73a2189b Doc change: Add link target for developer video block.
Change-Id: I24cd78a5c76029e9bf9425775d82944322c60f63
2012-04-19 18:11:09 -07:00
Svetoslav Ganov
bac7ef0be1 Merge "UI test automation cannot get the root node and gets null children." 2012-04-19 18:06:34 -07:00
Adam Cohen
e8724c82ab Adding callback for widget size changed, and potentially other extra info
Change-Id: I57738c92b6a0ba68ae66b19a533559470c64e6f1
2012-04-19 18:01:46 -07:00
Dianne Hackborn
7df7d2022d Fix issue #4499996: LiveWallpaperPreview activity intent filter
Change-Id: I5fc71503d2c59c907da954dbda3587394e6405bf
2012-04-19 18:00:04 -07:00
Dirk Dougherty
7728c68e0c am 7367ebc8: am 3e6b20be: Doc change: update links to developer video.
* commit '7367ebc8b698c4163c4a80b310544287e81f0bf4':
  Doc change: update links to developer video.
2012-04-19 17:27:12 -07:00
Dirk Dougherty
7367ebc8b6 am 3e6b20be: Doc change: update links to developer video.
* commit '3e6b20be5c7e05b85947e40f2099189ef9b5bf79':
  Doc change: update links to developer video.
2012-04-19 17:24:18 -07:00
Svetoslav Ganov
749e796eb3 UI test automation cannot get the root node and gets null children.
1. The AccessibilityInteractionController was using an incorrect
   looper i.e. not the UI thread looper which was causing getting
   the root node to fail.

2. The AccessibilityNodeInfo was populated by a ViewGroup with the
   children for accessibility without checking whether these children
   are really displayed.

bug:6362875

Change-Id: I7906d89571eb9d57d10f971639f88632926dd077
2012-04-19 17:13:51 -07:00
Dirk Dougherty
3e6b20be5c Doc change: update links to developer video.
Change-Id: I8c12f7b144308f53ba687713084d56ed14b3ac45
2012-04-19 17:10:10 -07:00
Selim Gurun
caf7f3d1fc Merge "Add websettings API for file origin policy." 2012-04-19 17:01:21 -07:00
Selim Gurun
0ea6dad65e Add websettings API for file origin policy.
Bug: 6212665

Add the API and change the default behavior for Jelly Bean+.

Change-Id: I9a83f510675023c36e2e72c4a69ad082d8124a23
2012-04-19 16:38:18 -07:00