9385 Commits

Author SHA1 Message Date
Svetoslav Ganov
762932396a am 97490bc6: am 2205d204: Merge "System accessibility state update postponed if UI test autmation is running." into jb-dev
* commit '97490bc65a1307e276b341601cb5894568ac350a':
  System accessibility state update postponed if UI test autmation is running.
2012-05-23 16:08:51 -07:00
Svetoslav Ganov
97490bc65a am 2205d204: Merge "System accessibility state update postponed if UI test autmation is running." into jb-dev
* commit '2205d20421994d4e31994c298a22cb8fd9232fb6':
  System accessibility state update postponed if UI test autmation is running.
2012-05-23 16:05:07 -07:00
Rich Cannings
9a69c5fce7 Merge "Added code to log the current value of the "allow unknown sources" setting after successful package installation." 2012-05-23 14:21:34 -07:00
Svetoslav Ganov
4074e8a3f4 System accessibility state update postponed if UI test autmation is running.
1. If a UI test automation accessibility service is connected to the
   system we pospone state updates in the AccessibilityManagerService
   for the moment the UI automations service dies or is disconnected.

bug:6540522

Change-Id: I48ddf603b53d2158a00edcf8ad05cfe2575d4d75
2012-05-23 13:12:13 -07:00
Craig Mautner
43b091133a am b53437c5: am 53d003f0: Merge "Modify auto brightness to return to dim level." into jb-dev
* commit 'b53437c51b441dc0ccdfb743e0f4e0b2ea44eae1':
  Modify auto brightness to return to dim level.
2012-05-23 11:28:11 -07:00
Craig Mautner
b53437c51b am 53d003f0: Merge "Modify auto brightness to return to dim level." into jb-dev
* commit '53d003f0e77291e7382c4871e0828014b470ab9f':
  Modify auto brightness to return to dim level.
2012-05-23 11:24:38 -07:00
Craig Mautner
53d003f0e7 Merge "Modify auto brightness to return to dim level." into jb-dev 2012-05-23 11:22:04 -07:00
Svetoslav Ganov
a22c77ee6a am d52a4f68: am 64a03875: Merge "Perform an action in AccessibilityManagerSerivce using wrong process id." into jb-dev
* commit 'd52a4f68eaa2a16f5b1352a8e591997f9067abe9':
  Perform an action in AccessibilityManagerSerivce using wrong process id.
2012-05-22 18:33:59 -07:00
Svetoslav Ganov
d52a4f68ea am 64a03875: Merge "Perform an action in AccessibilityManagerSerivce using wrong process id." into jb-dev
* commit '64a03875897afe07b731eaf66969e87362a1a740':
  Perform an action in AccessibilityManagerSerivce using wrong process id.
2012-05-22 18:29:50 -07:00
Svetoslav Ganov
64a0387589 Merge "Perform an action in AccessibilityManagerSerivce using wrong process id." into jb-dev 2012-05-22 18:26:44 -07:00
Svetoslav Ganov
9bf21873c9 Perform an action in AccessibilityManagerSerivce using wrong process id.
1. We are passing the interrogating process id in the remote
   accessibility requests to catch the query from the same
   thread. While all other methods were doing this correctly
   somehow the perform action is using the incorrect process id.

bug:6534935

Change-Id: Icef50833903c562758d51ef316b60c53c7a336c0
2012-05-22 18:08:02 -07:00
Dianne Hackborn
f323763dd9 am ddf573d6: am 2d243bc6: Merge "Fix issue #5680541: onStartInputView called upon focus loss" into jb-dev
* commit 'ddf573d6091b99199bfde93a58ef51db796c7b0f':
  Fix issue #5680541: onStartInputView called upon focus loss
2012-05-22 17:13:53 -07:00
Dianne Hackborn
ddf573d609 am 2d243bc6: Merge "Fix issue #5680541: onStartInputView called upon focus loss" into jb-dev
* commit '2d243bc62a899f7af77886a2a2a82872d63226bb':
  Fix issue #5680541: onStartInputView called upon focus loss
2012-05-22 17:10:31 -07:00
Dianne Hackborn
2d243bc62a Merge "Fix issue #5680541: onStartInputView called upon focus loss" into jb-dev 2012-05-22 17:07:50 -07:00
Craig Mautner
e2d5b980f3 am 9441a930: am 208236dd: Merge "Pull showStrictModeViolation off of local threads." into jb-dev
* commit '9441a930ffa93529dcd0375e30ac2cfda312706f':
  Pull showStrictModeViolation off of local threads.
2012-05-22 17:00:37 -07:00
Craig Mautner
9441a930ff am 208236dd: Merge "Pull showStrictModeViolation off of local threads." into jb-dev
* commit '208236dd9600efb125639bf7ca5715fb341ee8d8':
  Pull showStrictModeViolation off of local threads.
2012-05-22 16:56:50 -07:00
Craig Mautner
208236dd96 Merge "Pull showStrictModeViolation off of local threads." into jb-dev 2012-05-22 16:54:09 -07:00
Craig Mautner
196943fb51 Modify auto brightness to return to dim level.
Previous auto brightness policy was to only ratchet screen brightness
up and never return to dim levels until the device was turned off. This
caused the screen to be very bright in dim areas and reduced battery
life. This change allows the screen to dim down over the course of
a minute to the desired brightness level.

Fixes bug 6422464.

Change-Id: I5592c06a495650c6496ec2fc9846d7a10fac4b16
2012-05-22 16:36:12 -07:00
Dianne Hackborn
a6e41342e2 Fix issue #5680541: onStartInputView called upon focus loss
We should tell the app that it is inactive, before unbinding.
Otherwise when it is told to unbind it will see that it is still
supposed to be active and immediately re-bind.

Also change the calls to set the active state to go through the
message dispatch path, to ensure ordering is correct.

Change-Id: I246241eac8f7521f42c4c1eee7f46097337e7303
2012-05-22 16:30:34 -07:00
Matt Finifter
f8a98ed4e1 Added code to log the current value of the "allow unknown sources" setting after
successful package installation.

Change-Id: Id8de7ae94e3b3b68e033c24649ca67324d894ce8
2012-05-22 16:18:20 -07:00
Craig Mautner
0447a81e6d Pull showStrictModeViolation off of local threads.
By moving the StrictModeViolation display onto the WindowManager
Handler we avoid potential deadlocks as found in the bug below.

Fixes bug 6537798.

Change-Id: Ia46a43d1f7f6e55256f770b9e196602092669b49
2012-05-22 16:01:31 -07:00
Dianne Hackborn
26743444c6 am d7b376f2: am 2bccea24: Merge "Fix issue #6499411: Characters not displayed (but suggestion bar is working)" into jb-dev
* commit 'd7b376f22346da4704ea4ca667331fc94eec9195':
  Fix issue #6499411: Characters not displayed (but suggestion bar is working)
2012-05-22 14:21:52 -07:00
Svetoslav Ganov
b2009b4d02 am 08d6c72d: am ec2bf4ca: Merge "UI test automation not working." into jb-dev
* commit '08d6c72dcae686daa7302aaf0be6ebae7a611ded':
  UI test automation not working.
2012-05-22 14:20:17 -07:00
Dianne Hackborn
d7b376f223 am 2bccea24: Merge "Fix issue #6499411: Characters not displayed (but suggestion bar is working)" into jb-dev
* commit '2bccea2461556a525c5c65be0364b5b9404c8651':
  Fix issue #6499411: Characters not displayed (but suggestion bar is working)
2012-05-22 13:16:57 -07:00
Dianne Hackborn
ac92087a9a Fix issue #6499411: Characters not displayed (but suggestion bar is working)
The problem was that when dismissing the lock screen, the window manager
would briefly turn off force hiding when it started animating the transition
and then turn it back on until the transition was done.

This would cause it to briefly switch focus to the app behind and then
take focus off it.  The app would find out it got focus, and re-start
input on itself, asking the input method service to do so.  At this
point the input method service would ask the window manager if the
caller really had focus, and it may or may not be told no depending
on the timing.  If it is told no, then it doesn't allow the focus
switch to happen at that point, ignoring the new input connection,
and ultimately when focus does really switch the IME is left talking
with an old dead input connection.

I added some code to the input connection to make sure when we are
no longer using one that we mark it inactive and can't use it.  This
bug was especially difficult to track down because it would only
visibly break when a GC happened during this time, causing the weak
reference on the input connection to become null.  With this change
it will now always break (though in the scenario here only if you
hit the race condition correctly).

Change-Id: I81a6164dc140c548da1a9736e42cd253e8238a80
2012-05-22 12:15:15 -07:00
Svetoslav Ganov
08d6c72dca am ec2bf4ca: Merge "UI test automation not working." into jb-dev
* commit 'ec2bf4ca30f511d71a49d6ac1572d1feffdcc803':
  UI test automation not working.
2012-05-22 11:43:16 -07:00
Svetoslav Ganov
ec2c171778 UI test automation not working.
1. The internal service instance created by AccessibilityManagerService
   was getting the looper of the current thread when created. This works
   for real accessibility services but since UI automation service is
   registered via an IPC the binder thread has no looper. Now we explicitly
   get the correct looper.

bug:6535435

Change-Id: I63a2ada1b65c4b3c71c3d1e6deb3dfdeb7a3d6d6
2012-05-22 11:32:04 -07:00
rich cannings
a6cfe52eb8 Allow APKs to install when verifier times out.
When app verfication is enabled and the verifier times out, allow
PackageManagerService to continue with the installation.

Bug: 6531120
Change-Id: Ic6aef755af92588e8887c918b70fb195c683b24c
2012-05-22 10:44:39 -07:00
rich cannings
3004fe8d3d Merge "Set DEFAULT_VERIFICATION_TIMEOUT to 10 seconds" 2012-05-22 10:25:16 -07:00
Kenny Root
e45875ec3d am 88ab8c8d: am 0eaeb69d: Merge "Do not bother to remove pending installs" into jb-dev
* commit '88ab8c8de4d8d2e2c1f3237024ecdefd77300916':
  Do not bother to remove pending installs
2012-05-22 09:01:45 -07:00
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
8e61c58cf7 am 6ea0fd0f: am 9faa9374: Merge "Changing the interaction model of the touch explorer." into jb-dev
* commit '6ea0fd0f3f54a36a92b4decd746f06497cf825e8':
  Changing the interaction model of the touch explorer.
2012-05-21 17:59:16 -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
rich cannings
aa8513e171 Set DEFAULT_VERIFICATION_TIMEOUT to 10 seconds
Bug: 6531174
Change-Id: I330a765e7f03cce3633046ef989f066c2aca5562
2012-05-21 16:15:23 -07:00
Jeff Brown
7754e537de am 7bc6d801: am ee3bb649: Merge "Disable debug logs." into jb-dev
* commit '7bc6d801d384c7593ba5f2f3293024083a822995':
  Disable debug logs.
2012-05-21 14:32:20 -07:00
satok
1fe6daba78 am 5978c628: am d7ba8143: Merge "Fix the issue on the inconsistent condition of InputMethodSubtype" into jb-dev
* commit '5978c628cddffb232a5c17a64a8baf76af8b344f':
  Fix the issue on the inconsistent condition of InputMethodSubtype
2012-05-21 14:29:55 -07:00
satok
fce614a305 am ee8ddd52: am 5d4d23eb: Merge "Consolidate the initialization of InputMethodManagerService not to use resource values until system ready" into jb-dev
* commit 'ee8ddd52ff4c5db698c81beacbcbdb709a119b8d':
  Consolidate the initialization of InputMethodManagerService not to use resource values until system ready
2012-05-21 14:29:37 -07:00
Jeff Brown
534e6488bc am dd8e50f4: am cf39bdf3: Add support for switching between multiple keyboard layouts.
* commit 'dd8e50f4b96578acd402ff4b199ca1649adf25fd':
  Add support for switching between multiple keyboard layouts.
2012-05-21 14:29:33 -07:00
Craig Mautner
4f248d0d5c am 8fcfdd39: am 255632d1: Merge "Prevent dim surface from flashing." into jb-dev
* commit '8fcfdd39dd571dfdfb4b4fd267566761e76207fc':
  Prevent dim surface from flashing.
2012-05-21 14:27:43 -07:00
Dianne Hackborn
5d9bb86367 am 9beee6ad: am d51ac09f: Merge "Fix activity resolver, issues #6519130 and #6507239" into jb-dev
* commit '9beee6ad206541f351faad5cf30b9d0216f07d22':
  Fix activity resolver, issues #6519130 and #6507239
2012-05-21 14:12:39 -07:00
Jeff Sharkey
577a2e055c am 17bee29b: am 787c9ec5: Merge "Transition from DEV network stats to XT." into jb-dev
* commit '17bee29b1fb0c8caa90860d8b98a69e616530b44':
  Transition from DEV network stats to XT.
2012-05-21 14:12:22 -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
Nick Pelly
2943f2aa7d am 9481259f: am 1ca43997: Merge "Enforce the minTime parameter in LocationManager#requestLocationUpdates" into jb-dev
* commit '9481259fcb09337db00b8b39bf4709a610d77c6c':
  Enforce the minTime parameter in LocationManager#requestLocationUpdates
2012-05-21 12:44:16 -07:00
Dianne Hackborn
bad4c4bf71 am ccf4e2f7: am abe39277: Merge "Fix issue #6515427: Add android.hardware.television and fix..." into jb-dev
* commit 'ccf4e2f71b65ace6d55c1e8513dd60b1123805da':
  Fix issue #6515427: Add android.hardware.television and fix...
2012-05-21 12:43:35 -07:00
Kenny Root
32b513850e am 8101eb7a: am ae9d040f: Merge "Wait for ASECs to be scanned before proceeding" into jb-dev
* commit '8101eb7a74d1a65aebd33c58742fc461dcb4518f':
  Wait for ASECs to be scanned before proceeding
2012-05-21 12:43:00 -07:00