Commit Graph

8077 Commits

Author SHA1 Message Date
Svetoslav Ganov
86783474fd Cannot interact with dialogs when IME is up and on not touch explored popups.
1. If the last touch explored location is within the active window we
   used to click on exact location if it is within the accessibility
   focus otherwise in the accessibility focus center. If the last touch
   explored location is not within the active window we used to just
   click there. This breaks in the case were one has touch explored
   at a given place in the current window and now a dialog opens *not*
   covering the touch explored location. If one uses swipes to move
   accessibility focus i.e. to traverse the dialog without touching
   it one cannot activate anything because the touch explorer is using
   the last touch explored location that is outside of the active
   window e.g the dialog.

   The solution is to clear the last touch explored location when a
   window opens or accessibility focus moves. If the last touch
   explored location is null we are clicking in the accessibility
   focus location.

bug:6620911

2. There is a bug in the window manager that does not notify a
   window that its location has changed (bug:6623031). This breaks
   accessibility interaction with dialogs that have input because
   when the IME is up the dialog is moved but not notified. Now
   the accessibility layer gets incorrect location for the
   accessibility focus and the window bounds.

   The soluion is when the accessibility manager service calls
   into the remove thress to obtain some accessibility node infos
   it passes the window left and top which it gets from the
   window manager. These values are used to update the attach info
   window left and top so all accessibility node infos emitted
   from that window had correct bounds in screen coordinates.

bug:6620796

Change-Id: I18914f2095c55cfc826acf5277bd94b776bda0c8
2012-06-07 12:02:16 -07:00
Robert Greenwalt
3cab89e691 Merge "Fix a sync problem in NativeDaemonConnector." 2012-06-07 11:37:15 -07:00
Robert Greenwalt
ef21599b17 Fix a sync problem in NativeDaemonConnector.
We had a gap in sync coverage between doing a check and waiting and a
matching gap between setting a condition and notifying.  It was possible
to get context switched just so and have the notify hit before the waiter
had started waiting.

bug:6492166
Change-Id: Idc876cf85b35902a79fae932547957ed5ef00e4f
2012-06-07 11:22:54 -07:00
Kenny Root
84e35eadfb Delete old forward-locked apps on upgrade
The old style forward-locked apps were in a directory called
/data/app-private but the new style forward-locked apps are in ASEC
containers. This made the upgrade path confused and it wouldn't
correctly generate the InstallArgs to delete the old file.

Bug: 6619438
Change-Id: If4323fa8701d9fc653998f5db58670b4124b9e87
2012-06-06 16:06:21 -07:00
Craig Mautner
409a1a5402 am fd62576f: am a9144ffd: Merge "Disable automatic screen dimming." into jb-dev
* commit 'fd62576f06c05d6aab687892b9fcccfed3899021':
  Disable automatic screen dimming.
2012-06-06 15:32:36 -07:00
Craig Mautner
fd62576f06 am a9144ffd: Merge "Disable automatic screen dimming." into jb-dev
* commit 'a9144ffd6466a914a9138dabab8bc331fdc70e2f':
  Disable automatic screen dimming.
2012-06-06 15:28:37 -07:00
Craig Mautner
a9144ffd64 Merge "Disable automatic screen dimming." into jb-dev 2012-06-06 15:24:36 -07:00
Craig Mautner
a4e96d5a6e Disable automatic screen dimming.
Done by setting the dimming period to Integer.MAX_VALUE. While it
doesn't technically disable dimming it will take 248 days to get to
any target value.

Fixes bug 6616423.

Change-Id: I5b753286b9d93664fbff79021be38adf4d8a007d
2012-06-06 14:49:44 -07:00
Craig Mautner
dd749e05c1 am 55ab60cd: am 8c4b40ec: Merge "Set screen brightness to match sensor at power on." into jb-dev
* commit '55ab60cd7fe97d95f997d5f0761a5e571a88aa14':
  Set screen brightness to match sensor at power on.
2012-06-06 14:45:56 -07:00
Craig Mautner
55ab60cd7f am 8c4b40ec: Merge "Set screen brightness to match sensor at power on." into jb-dev
* commit '8c4b40eceba39a493a1d01ed83decc8b43fbfb5d':
  Set screen brightness to match sensor at power on.
2012-06-06 14:42:06 -07:00
Craig Mautner
3793368f72 Set screen brightness to match sensor at power on.
Use the first sensor value received after screen on to set the screen
brightness. Do this setting immediately rather than animate to the
target brightness.

Fixes bug 6612418.

Change-Id: I6c24c55e0bd35ef58a6494d3b5e449954241fd00
2012-06-06 14:13:39 -07:00
Dianne Hackborn
fb6c039bfb am 4835c17b: am 1e122850: Merge "Fix issue #6609383: java.lang.SecurityException: Requires..." into jb-dev
* commit '4835c17b13c08693cf9a370df86d660818f8d391':
  Fix issue #6609383: java.lang.SecurityException: Requires...
2012-06-05 18:09:36 -07:00
Dianne Hackborn
4835c17b13 am 1e122850: Merge "Fix issue #6609383: java.lang.SecurityException: Requires..." into jb-dev
* commit '1e1228505d1704eab2dabb446c14518c6ae4ddc0':
  Fix issue #6609383: java.lang.SecurityException: Requires...
2012-06-05 18:04:24 -07:00
Dianne Hackborn
1e1228505d Merge "Fix issue #6609383: java.lang.SecurityException: Requires..." into jb-dev 2012-06-05 18:01:29 -07:00
Dianne Hackborn
bd145dbfd7 Fix issue #6609383: java.lang.SecurityException: Requires...
...MANAGE_APP_TOKENS permission

Bug: 6609383
Change-Id: I5ce8ac1ec496af50477111b46e6daea81181e3ca
2012-06-05 16:20:46 -07:00
Svetoslav Ganov
7510230583 am f1abc425: am cab5b8a9: Merge "Nodes with contentDescription should always be important for accessibility." into jb-dev
* commit 'f1abc4253111907ffb8e5ba19dffa8d00d92fc45':
  Nodes with contentDescription should always be important for accessibility.
2012-06-05 16:02:17 -07:00
Svetoslav Ganov
f1abc42531 am cab5b8a9: Merge "Nodes with contentDescription should always be important for accessibility." into jb-dev
* commit 'cab5b8a91d6fbcbb694284038f5529ff02f10f78':
  Nodes with contentDescription should always be important for accessibility.
2012-06-05 15:57:25 -07:00
Svetoslav Ganov
cab5b8a91d Merge "Nodes with contentDescription should always be important for accessibility." into jb-dev 2012-06-05 15:55:42 -07:00
Svetoslav Ganov
e47957a0bb Nodes with contentDescription should always be important for accessibility.
1. Now after setting the content description on a view we mark is as
   important for accessibility of the current important for accessibility
   mode of that view is auto.

2. Minor tweak to a touch explorer coefficient to make performing double
   tapping easier.

bug:6615353

Change-Id: I3b477f533a3ebde85d425caf32ace5e851240f88
2012-06-05 14:48:58 -07:00
Craig Mautner
f943b834b6 am 221354f8: am 35b691f0: Merge "Eliminate wallpaper exposure during transition." into jb-dev
* commit '221354f8e7190fd1a54b37612713440a83a3f835':
  Eliminate wallpaper exposure during transition.
2012-06-05 13:47:46 -07:00
Craig Mautner
221354f8e7 am 35b691f0: Merge "Eliminate wallpaper exposure during transition." into jb-dev
* commit '35b691f056159e938a256420f6d3dec1ebf8bfd9':
  Eliminate wallpaper exposure during transition.
2012-06-05 13:43:29 -07:00
Craig Mautner
35b691f056 Merge "Eliminate wallpaper exposure during transition." into jb-dev 2012-06-05 13:40:14 -07:00
Craig Mautner
ad5725d798 Eliminate wallpaper exposure during transition.
Make sure that the wallpaper target exists and is visible before
exposing the wallpaper.

Fixes bug 6570335.

Change-Id: I1dddfe26683e84fd813e7bee884ba2bd4bb85272
2012-06-05 10:20:56 -07:00
Svetoslav Ganov
4dfab12abf am e56f9633: am ccf97dc1: Merge "Global accessibility action to open recent apps shows the old dialog style." into jb-dev
* commit 'e56f9633d82def361bc1ffbc13d4bfd094286d56':
  Global accessibility action to open recent apps shows the old dialog style.
2012-06-05 09:54:47 -07:00
Irfan Sheriff
a7590f32e0 resolved conflicts for merge of e7884dbb to master
Change-Id: Icb13c37491d3e9f0252198f98d8110740fa1f997
2012-06-05 09:49:24 -07:00
Svetoslav Ganov
e56f9633d8 am ccf97dc1: Merge "Global accessibility action to open recent apps shows the old dialog style." into jb-dev
* commit 'ccf97dc1afc1b0f99ced0b5324e383edd5ee8246':
  Global accessibility action to open recent apps shows the old dialog style.
2012-06-04 23:09:40 -07:00
Svetoslav Ganov
ccf97dc1af Merge "Global accessibility action to open recent apps shows the old dialog style." into jb-dev 2012-06-04 23:06:42 -07:00
Irfan Sheriff
e7884dbb55 am 5751f816: Merge "Add contentobserver for nsd_on setting" into jb-dev
* commit '5751f816f06454ea48bc25f56051878e0ce82dc1':
  Add contentobserver for nsd_on setting
2012-06-04 22:55:21 -07:00
Irfan Sheriff
5751f816f0 Merge "Add contentobserver for nsd_on setting" into jb-dev 2012-06-04 22:53:00 -07:00
Irfan Sheriff
919aca5663 Add contentobserver for nsd_on setting
Bug: 6606274
Change-Id: I863b9e2a2446d697f3c9c49f24dcdc2b599f091e
2012-06-04 15:54:30 -07:00
Daniel Sandler
8a9e5b2dd0 am 04b2a978: am ab886f58: Don\'t do closing animation on an opening app.
* commit '04b2a978a5c13e7e70298a6cf514ab4dee5a814d':
  Don't do closing animation on an opening app.
2012-06-04 14:14:56 -07:00
Daniel Sandler
04b2a978a5 am ab886f58: Don\'t do closing animation on an opening app.
* commit 'ab886f588d4086214e66eed548ea3edd77f8d2ba':
  Don't do closing animation on an opening app.
2012-06-04 14:09:36 -07:00
Svetoslav Ganov
c682fc965d Global accessibility action to open recent apps shows the old dialog style.
1. The global action to open recent apps shows the old dialog style rent apps
   panel. Apparently the key code to open recent apps is not opening the new
   UI so the AccessibilityManagerService is calling directly the method on
   the IStatusBarSerivce to do so.

bug:6607664

Change-Id: I94c1963b07947776bf1c2448903b26f3603f9a59
2012-06-04 14:06:45 -07:00
Daniel Sandler
ab886f588d Don't do closing animation on an opening app.
Check to make sure that the closing wallpaper animation isn't used on
an opening app token. This can happen when a previous animation hasn't
completed when the next animation is starting.

Fixes bug 6557751.

Change-Id: Ib8bd4dd7de1e361f6fc0cab11d0997e70f9ddd0b
2012-06-04 13:57:49 -07:00
Dianne Hackborn
92bc9393e6 am 5a70063f: am 6593be0c: Merge "Work on issue #6579997: Mariner entrance animation" into jb-dev
* commit '5a70063f7ea8c910eefb025018ef02e84ff319f0':
  Work on issue #6579997: Mariner entrance animation
2012-06-04 10:38:48 -07:00
Dianne Hackborn
5a70063f7e am 6593be0c: Merge "Work on issue #6579997: Mariner entrance animation" into jb-dev
* commit '6593be0c200f69d932e40e05e9df54b89c157c48':
  Work on issue #6579997: Mariner entrance animation
2012-06-04 10:34:24 -07:00
Dianne Hackborn
6593be0c20 Merge "Work on issue #6579997: Mariner entrance animation" into jb-dev 2012-06-04 10:29:32 -07:00
Svetoslav Ganov
c0a0c7160a am 66a10964: am cc822a76: Merge "Touch exploration gesture end not delivered to clients." into jb-dev
* commit '66a10964b0aa56e07263005e6a41a87ecd2dd2d7':
  Touch exploration gesture end not delivered to clients.
2012-06-03 20:41:23 -07:00
Jeff Brown
42684c567a Merge "Clamp the minimum screen brightness." 2012-06-03 20:38:17 -07:00
Svetoslav Ganov
66a10964b0 am cc822a76: Merge "Touch exploration gesture end not delivered to clients." into jb-dev
* commit 'cc822a769e752c2845dc795f05b7b35b5b3f6614':
  Touch exploration gesture end not delivered to clients.
2012-06-03 20:32:43 -07:00
Svetoslav Ganov
cc822a769e Merge "Touch exploration gesture end not delivered to clients." into jb-dev 2012-06-03 20:30:12 -07:00
Svetoslav Ganov
cd94caf2bb Touch exploration gesture end not delivered to clients.
1. Touch exploration gestures are demarcated by start and end
   events. Due to a bug in the AccessibilityManagerService
   the gesture end event was not dispatched. This caused the
   AccessibilityNodeInfoCache to be off sync since it relies
   on getting such events not to mention that the clients were
   not getting the end but only the start event. The issue
   was that the notified service types variable was not reset
   after every event so when the manager sends the last hover
   exit it flags that the service type is already notified
   resulting in dropping on the floor the following gesture
   end event.

bug:6539306

Change-Id: I2b96bcecea3b2240199d67f01afa6a033afce1de
2012-06-03 19:34:38 -07:00
jaiyoung.park
15415f57a3 Fix dumpPowerState method
dumpPowerState method shows the current power manger service state but,
BUTTON_BRIGHT_BIT is omitted.

Add a routine of checking BUTTON_BRIGHT_BIT
Signed-off-by: jaiyoung.park <jaiyoung.park@lge.com>

Change-Id: I00484fb384963bafdc58ce89b3251a1f5585d992
2012-06-04 09:33:54 +09:00
Svetoslav Ganov
e5b0bc2649 am dafffc35: am 778fa81f: Merge "Fixing a crash in the TouchExplorer." into jb-dev
* commit 'dafffc35023df8b22a1a7c294f79da89199dc4c2':
  Fixing a crash in the TouchExplorer.
2012-06-03 12:45:24 -07:00
Svetoslav Ganov
dafffc3502 am 778fa81f: Merge "Fixing a crash in the TouchExplorer." into jb-dev
* commit '778fa81f5da05dcc45260caa70c97971bdccf8bb':
  Fixing a crash in the TouchExplorer.
2012-06-03 12:40:53 -07:00
Svetoslav Ganov
778fa81f5d Merge "Fixing a crash in the TouchExplorer." into jb-dev 2012-06-03 12:38:57 -07:00
Craig Mautner
4d9d59ab45 am 547be2fc: am da652f6e: Merge "Revert change to correct animations." into jb-dev
* commit '547be2fc329c5d8e3fca38cbf17ee32d0e788ac9':
  Revert change to correct animations.
2012-06-03 01:02:22 -07:00
Craig Mautner
547be2fc32 am da652f6e: Merge "Revert change to correct animations." into jb-dev
* commit 'da652f6e51e5b255019ac020d56e262e477c2a46':
  Revert change to correct animations.
2012-06-03 00:59:17 -07:00
Craig Mautner
da652f6e51 Merge "Revert change to correct animations." into jb-dev 2012-06-03 00:57:23 -07:00
Svetoslav Ganov
ebac1b79c4 Fixing a crash in the TouchExplorer.
1. If the runnable for performing a long press is not
   removed when all pointers are up and it is executed
   the explorer gets into delegating mode with no pointer
   down and the next down crashes the explorer. Added
   code to remove the long press runnable in a few places
   it was missing and also added a safety in the runnable
   to avoid executing it in case there are no active pointers.

bug:6557183

Change-Id: I9dab3de88fd08d8e2b38af18249ac551837c0736
2012-06-02 16:26:59 -07:00