9350 Commits

Author SHA1 Message Date
Kenny Root
88ab8c8de4 am 0eaeb69d: Merge "Do not bother to remove pending installs" into jb-dev
* commit '0eaeb69d1c4849da8ab1df70b84e90837193df67':
  Do not bother to remove pending installs
2012-05-22 08:57:52 -07:00
Kenny Root
0eaeb69d1c Merge "Do not bother to remove pending installs" into jb-dev 2012-05-22 08:54:30 -07:00
Svetoslav Ganov
6ea0fd0f3f am 9faa9374: Merge "Changing the interaction model of the touch explorer." into jb-dev
* commit '9faa9374c1398ca4a0f3fbfc4feaa5cddeb073b0':
  Changing the interaction model of the touch explorer.
2012-05-21 17:55:29 -07:00
Svetoslav Ganov
9faa9374c1 Merge "Changing the interaction model of the touch explorer." into jb-dev 2012-05-21 17:52:28 -07:00
Kenny Root
14ae367cae Do not bother to remove pending installs
Pending install list is cleared if there is an error connecting to DCS,
so don't try to remove each pending install in the loop.

Change-Id: I736114878ad92136c3b8a3ca27a1f058adaba395
2012-05-21 16:57:32 -07:00
Svetoslav Ganov
e15ccb93ad Changing the interaction model of the touch explorer.
1. Now the user have to double tap to activate the last
   item. If the last touched window is not active because
   it does not take input focus the click on the last
   touch explored location. Othewise the click is on the
   accessibility focus location.

bug:5932640

Change-Id: Ibb7b97262a7c5f2f94abef429e02790fdc91a8dd
2012-05-21 14:08:57 -07:00
Jeff Brown
7bc6d801d3 am ee3bb649: Merge "Disable debug logs." into jb-dev
* commit 'ee3bb6498adc801023798b4fc48b5dcd77e059f5':
  Disable debug logs.
2012-05-21 13:10:24 -07:00
Jeff Brown
ee3bb6498a Merge "Disable debug logs." into jb-dev 2012-05-21 13:08:17 -07:00
Jeff Brown
1b9ba578f1 Disable debug logs.
Change-Id: Icc7d389789885185f2ca9b609bad6096fe290106
2012-05-21 10:54:18 -07:00
satok
5978c628cd am d7ba8143: Merge "Fix the issue on the inconsistent condition of InputMethodSubtype" into jb-dev
* commit 'd7ba81437020b45f8f33fef729820078b1cd2547':
  Fix the issue on the inconsistent condition of InputMethodSubtype
2012-05-21 02:57:31 -07:00
satok
d81e950265 Fix the issue on the inconsistent condition of InputMethodSubtype
Bug: 6510104
Change-Id: I67790e5f59d0d05340b74eca1029c60f381061b8
2012-05-21 18:30:14 +09:00
satok
ee8ddd52ff am 5d4d23eb: Merge "Consolidate the initialization of InputMethodManagerService not to use resource values until system ready" into jb-dev
* commit '5d4d23ebdf42a90207a86fc258a44e9540f356ab':
  Consolidate the initialization of InputMethodManagerService not to use resource values until system ready
2012-05-20 21:53:36 -07:00
Jeff Brown
dd8e50f4b9 am cf39bdf3: Add support for switching between multiple keyboard layouts.
* commit 'cf39bdf3dff5e29447f6ce734b76dc3490385e58':
  Add support for switching between multiple keyboard layouts.
2012-05-20 21:53:34 -07:00
satok
5d4d23ebdf Merge "Consolidate the initialization of InputMethodManagerService not to use resource values until system ready" into jb-dev 2012-05-20 19:59:50 -07:00
Jeff Brown
cf39bdf3df Add support for switching between multiple keyboard layouts.
Also show a notification when an external keyboard is connected
and does not have a keyboard layout selected yet.

Bug: 6405203
Change-Id: Id0ac6d83b3b381f8a236b2244a04c9acb203db3c
2012-05-20 14:56:22 -07:00
Craig Mautner
8fcfdd39dd am 255632d1: Merge "Prevent dim surface from flashing." into jb-dev
* commit '255632d16064bf8e65b1773c4f0884267b9ec93f':
  Prevent dim surface from flashing.
2012-05-18 17:36:44 -07:00
Craig Mautner
255632d160 Merge "Prevent dim surface from flashing." into jb-dev 2012-05-18 17:32:48 -07:00
Craig Mautner
067ca32a52 Prevent dim surface from flashing.
This fix keeps the dim surface below the highest shown layer. If
two shown layers were both dim it was ambiguous where the dim surface
would appear causing dialogs to first be dimmed and then flash when
the dim was put behind them.

Fixes bug 6497476.

Change-Id: I360cf2d23d58fc4c03edbbed16d79c08c29e48b9
2012-05-18 17:19:51 -07:00
Dianne Hackborn
9beee6ad20 am d51ac09f: Merge "Fix activity resolver, issues #6519130 and #6507239" into jb-dev
* commit 'd51ac09fd7db5d810452138749f9291617c0dbf7':
  Fix activity resolver, issues #6519130 and #6507239
2012-05-18 15:59:55 -07:00
Jeff Sharkey
17bee29b1f am 787c9ec5: Merge "Transition from DEV network stats to XT." into jb-dev
* commit '787c9ec558a06bb8ebcb5a77f5268cedd218fd1b':
  Transition from DEV network stats to XT.
2012-05-18 15:59:46 -07:00
Dianne Hackborn
5320eb8938 Fix activity resolver, issues #6519130 and #6507239
6519130: Starting ResolverActivity with no arguments crashes system_server
6507239: ResolverActivity may bypass signature permissions

Change-Id: I64534f781bc6b7eb45e85dbe3a55d351ee28e85c
2012-05-18 15:04:53 -07:00
Jeff Sharkey
787c9ec558 Merge "Transition from DEV network stats to XT." into jb-dev 2012-05-18 11:40:42 -07:00
satok
0a1bcf4e0d Consolidate the initialization of InputMethodManagerService not to use resource values until system ready
Bug: 6477193
InputMethodManagerService have used the resource value of "isDefault" in the constructor. We should wait to use that value until system ready.
Change-Id: I682fc109c303d8c7fd33d494c59e8e28d6dc6fa5
2012-05-18 16:00:40 +09:00
Nick Pelly
9481259fcb am 1ca43997: Merge "Enforce the minTime parameter in LocationManager#requestLocationUpdates" into jb-dev
* commit '1ca4399706103fd9df50661866caaeed95221621':
  Enforce the minTime parameter in LocationManager#requestLocationUpdates
2012-05-17 21:00:54 -07:00
Nick Pelly
1ca4399706 Merge "Enforce the minTime parameter in LocationManager#requestLocationUpdates" into jb-dev 2012-05-17 20:57:56 -07:00
Dianne Hackborn
ccf4e2f71b am abe39277: Merge "Fix issue #6515427: Add android.hardware.television and fix..." into jb-dev
* commit 'abe3927701c0aff839498272565aeee714aa6e9d':
  Fix issue #6515427: Add android.hardware.television and fix...
2012-05-17 18:20:50 -07:00
Dianne Hackborn
abe3927701 Merge "Fix issue #6515427: Add android.hardware.television and fix..." into jb-dev 2012-05-17 18:18:27 -07:00
Dianne Hackborn
0cf2c8a533 Fix issue #6515427: Add android.hardware.television and fix...
...logic for notouch in Configuration

Added new TELEVISION feature.

We now force the configuration to "television" if the TELEVISION
feature is set, and "notouch" if the TOUCHSCREEN feature is not set.

Also cleaned up documentation, deprecated some configurations that
are not used.

Change-Id: If1c7a284b580a8a66bda2a75f0c7fa841b3dc9b7
2012-05-17 18:11:14 -07:00
Kenny Root
8101eb7a74 am ae9d040f: Merge "Wait for ASECs to be scanned before proceeding" into jb-dev
* commit 'ae9d040f715130389de3dbc3bf52e24e5f29425a':
  Wait for ASECs to be scanned before proceeding
2012-05-17 17:17:19 -07:00
Christopher Tate
1f4dda280b am 27cb3f8c: Merge "Eliminate "backup enabled but not provisioned" failure modes" into jb-dev
* commit '27cb3f8c44be79f78a0c47b5631472705acb3e96':
  Eliminate "backup enabled but not provisioned" failure modes
2012-05-17 17:17:17 -07:00
Jeff Brown
90ab4341cf am dc9445ba: Merge "Add support for grouping keyboard layouts by collection." into jb-dev
* commit 'dc9445ba4cb2e261719d3c38956d9cbe1fddcd64':
  Add support for grouping keyboard layouts by collection.
2012-05-17 17:17:15 -07:00
Kenny Root
ae9d040f71 Merge "Wait for ASECs to be scanned before proceeding" into jb-dev 2012-05-17 16:42:09 -07:00
Christopher Tate
27cb3f8c44 Merge "Eliminate "backup enabled but not provisioned" failure modes" into jb-dev 2012-05-17 16:41:53 -07:00
Jeff Brown
dc9445ba4c Merge "Add support for grouping keyboard layouts by collection." into jb-dev 2012-05-17 16:33:40 -07:00
Kenny Root
51a573c767 Wait for ASECs to be scanned before proceeding
Move MountService up the list, then pause waiting for MountService to
finish scanning ASECs before the services that require those packages to
be ready.

Additionally, don't automatically mark all ASEC apps as FLAG_EXTERNAL on
reboot. This prevents AppWidgets and other things from being used with
ASECs which are on internal storage.

Bug: 6445613
Change-Id: I3e0b3e244fec966814d7a5ea93de5d337aea79bd
2012-05-17 16:06:54 -07:00
Christopher Tate
97ea122c65 Eliminate "backup enabled but not provisioned" failure modes
Previously, the setup app was responsible for telling the backup
manager through a side band that the user had passed through the
backup/restore-related portion of the setup flow.  Now that the
flow has been streamlined and certain mandatory portions of it
are no longer relevant, we can ditch the whole idea of the backup
manager's internal "provisioned" state.  This makes setup and the
setup "wizard" applications less fragile as well as eliminating
the possibility of unrecoverable "backup was never provisioned"
failure modes.

Now, the only check the backup manager has to do is against the
full "device is provisioned" flag, just like all of the other
components on the phone that only become usable after the setup
process has exited [such as phone calls].

Bug 6493520

Change-Id: I13ec8dd8baa1e74ed8569b0326219a98a7f632a9
2012-05-17 16:02:15 -07:00
Jeff Brown
d9fec5d317 Add support for grouping keyboard layouts by collection.
Bug: 6405203
Change-Id: Id818b27ec09928150795d594a96df186a6e39168
2012-05-17 16:01:54 -07:00
Nick Pelly
f1be6861da Enforce the minTime parameter in LocationManager#requestLocationUpdates
There is a long history in Android, on both GED and non GED devices
of GPS providers ignoring the minTime parameter making location updates
every second. The problem is usually poor GPS drivers that claim to
do scheduling but then do not.

By making the minTime parameter strict (instead of a hint) we can add
a CTS test to ensure that udpates to not occur too frequently. I believe
this is the desired behavior from apps. If apps want to take advantage
of more frequent updates when another application asks for those updates
then it can use the passive provider.

The CTS test for GPS has already been submitted (as part of CTS Verifier).

Bug: 6424983
Change-Id: I163b9e44ea7ab71530b86fc2282614e0150e90f1
2012-05-17 14:56:54 -07:00
Irfan Sheriff
46579dc8af am f82e7693: Merge "handleAirplaneModeToggled cleanup" into jb-dev
* commit 'f82e7693ca4396435ef91c7be5348731d9e863c0':
  handleAirplaneModeToggled cleanup
2012-05-17 14:22:41 -07:00
Irfan Sheriff
f82e7693ca Merge "handleAirplaneModeToggled cleanup" into jb-dev 2012-05-17 14:19:46 -07:00
Irfan Sheriff
42d73bba66 handleAirplaneModeToggled cleanup
Addressing a cosmetic comment from the previous CL

Bug: 6504534
Change-Id: I04981f8b541611cb93110e8b88cd7751027060cc
2012-05-17 14:14:44 -07:00
Irfan Sheriff
16cf17ce60 am ce66556a: Merge "Fix persisting wifi state on setWifiEnabled() call" into jb-dev
* commit 'ce66556a345aacad517f8eb72ddec20160ce9d61':
  Fix persisting wifi state on setWifiEnabled() call
2012-05-17 14:12:59 -07:00
Irfan Sheriff
ce66556a34 Merge "Fix persisting wifi state on setWifiEnabled() call" into jb-dev 2012-05-17 14:10:35 -07:00
Irfan Sheriff
f03d62007c Fix persisting wifi state on setWifiEnabled() call
When somebody makes a quick setWifiEnabled calls in back to back succession,
we were missing setting the last state because we were only doing that
when wifi was in a particular state from a state machine's perspective.

This was done to handle the interaction b/w airplane and wifi and was
done in the wrong way. That part is now moved to the code which detects
airplane mode changes.

In the longer term, I want to move the whole persisting code as part of
wifi state machine which is more aware of the exact states wifi is in.

Bug: 6504534
Change-Id: I452f3f4efdeb84458dcfd280269e09ffa3844f05
2012-05-17 14:05:56 -07:00
Craig Mautner
a978d9bfef am d51a68b3: Merge "Eliminate deferred surface destruction." into jb-dev
* commit 'd51a68b3d2d347be989b53af1777454f97ad9b46':
  Eliminate deferred surface destruction.
2012-05-17 13:13:56 -07:00
Craig Mautner
d51a68b3d2 Merge "Eliminate deferred surface destruction." into jb-dev 2012-05-17 13:11:50 -07:00
Jeff Sharkey
70c70530bd Transition from DEV network stats to XT.
When XT stats are available, transition to prefer them over DEV,
since they aren't subject to hardware driver bugs.  Only switches at
the first atomic XT bucket, and adds a Settings.Secure flag to force
back to DEV if needed.  Includes tests to cover transition.

Fix tests where device overlay would change which network types
reflected data usage.  Test both history and summary APIs.  Fixed
collection timestamps to reflect full buckets.

Bug: 6504744
Change-Id: Idd7f3b2fdb064c36547c85c51c214fd938c59b7e
2012-05-17 10:10:39 -07:00
Craig Mautner
bf08af3323 Eliminate deferred surface destruction.
Removing the code that delays a surface destruction when
WindowManager.FLAG_KEEP_SURFACE_WHILE_ANIMATING is set. The lock
screen that continued to animate after destroySurfaceLocked is no
longer used and this code was causing problems.

Also mDrawState was being set to NO_SURFACE in destroySurfaceLocked
even if the surface ended up not being destroyed. Later when it was
reused the false value of mDrawState was messing things up.

The screen lock bug referenced below no longer levaes the user stuck
with a black lockscreen. However it occasionally powers back up in the
launcher screen rather than the lock screen.

Fixes bug 6485955.

Change-Id: I684104c7e7c39c161a5118aa890889fbae92e635
2012-05-16 20:07:22 -07:00
Kenny Root
e262d4bdbd am 11e123f7: Merge "Check system app before removal" into jb-dev
* commit '11e123f7684378578242f5824e14ddba2f68d9ca':
  Check system app before removal
2012-05-16 19:01:30 -07:00
Kenny Root
11e123f768 Merge "Check system app before removal" into jb-dev 2012-05-16 18:59:04 -07:00