summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* am 18eedbac: am a47a1e77: Merge change Ic03d28b9 into eclairSuchi Amalapurapu2009-10-291-1/+2
|\ | | | | | | | | | | | | Merge commit '18eedbacac964f200309f99fdfca06a0a01e5bf5' into eclair-mr2-plus-aosp * commit '18eedbacac964f200309f99fdfca06a0a01e5bf5': Check that the window which wants to force hide is visible before setting the flag forceHiding to true. If we do layout the surfaces
| * am a47a1e77: Merge change Ic03d28b9 into eclairSuchi Amalapurapu2009-10-291-1/+2
| |\ | | | | | | | | | | | | | | | | | | Merge commit 'a47a1e77a4dc9510187f57d5cdf12f5ecf6b3ab0' into eclair-mr2 * commit 'a47a1e77a4dc9510187f57d5cdf12f5ecf6b3ab0': Check that the window which wants to force hide is visible before setting the flag forceHiding to true. If we do layout the surfaces
| | * Check that the window which wants to force hide is visible before setting ↵Suchi Amalapurapu2009-10-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the flag forceHiding to true. If we do layout the surfaces again this flag gets set no matter what since the keyguard window is always present in the list of tokens and this hides the window which would have become visible since the keyguard just got dismissed. This causes unnecessary focus changes due to changes in visibility of current window. This will resolve issues related to current focus and time outs when dispatching key events.
| | * Merge change I8e7f5f07 into eclairAndroid (Google) Code Review2009-10-281-0/+9
| | |\ | | | | | | | | | | | | | | | | * changes: DO NOT MERGE: Fix loss of focus after wakeup into incall screen
| | | * DO NOT MERGE: Fix loss of focus after wakeup into incall screenChristopher Tate2009-10-281-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because of the asynchronous behavior of keyguard, and incall explicitly disabling keyguard, sometimes the window manager would wind up in a state in which the "correct" app and activity window were shown, but focus was recalculated "too soon," at a time when keyguard was just about gone but not quite, and incall was not yet fully shown. In this case there was no currently valid event target, but the final show of the incall window would not prompt a focus recalculation, so that "no current focus" state would incorrectly persist, resulting in spurious ANRs until some other phone activity forced a focus update. We now detect the problematic case when windows are shown, and make sure to recalculate focus explicitly thereafter. This change does *not* fix the underlying race conditions that have been resulting in mismatched state within the window manager, but it does force a validation pass that puts things in order so that normal operation can continue. Change-Id: I8e7f5f0795f0042a0da074aeed385e3fbc210360
* | | | am 8071b146: am fb872d1a: Merge change Id4d04def into eclairEric Fischer2009-10-291-7/+25
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '8071b14680f8081019ac1b995d7c7f09a8aeeba7' into eclair-mr2-plus-aosp * commit '8071b14680f8081019ac1b995d7c7f09a8aeeba7': Fix a race that kept the locale picker from working under heavy CPU load.
| * | | am fb872d1a: Merge change Id4d04def into eclairEric Fischer2009-10-291-7/+25
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit 'fb872d1af3c775114ac7d241eb1924a9aafbb9df' into eclair-mr2 * commit 'fb872d1af3c775114ac7d241eb1924a9aafbb9df': Fix a race that kept the locale picker from working under heavy CPU load.
| | * | Merge change Id4d04def into eclairAndroid (Google) Code Review2009-10-281-7/+25
| | |\ \ | | | | | | | | | | | | | | | | | | | | * changes: Fix a race that kept the locale picker from working under heavy CPU load.
| | | * | Fix a race that kept the locale picker from working under heavy CPU load.Eric Fischer2009-10-271-7/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The locale picker and the activity transition would both change the configuration, and depending upon the timing, the activity transition would undo what the locale picker had just done. Usually it worked right, but would often fail if the user changed locales just after a data wipe, when the media scanner was working hard in the background to index the contents of the SD card. http://b/issue?id=2216298
* | | | | am c867958e: am d376d240: Merge change I081f08c1 into eclairMike Lockwood2009-10-291-8/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'c867958eb6fb50210a767fa24757bfa19228c22e' into eclair-mr2-plus-aosp * commit 'c867958eb6fb50210a767fa24757bfa19228c22e': A better solution for ignoring user activity while the screen is animating off.
| * | | | am d376d240: Merge change I081f08c1 into eclairMike Lockwood2009-10-291-8/+5
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'd376d2407bbc14a2d221dfef9955d0feeab0d550' into eclair-mr2 * commit 'd376d2407bbc14a2d221dfef9955d0feeab0d550': A better solution for ignoring user activity while the screen is animating off.
| | * | | A better solution for ignoring user activity while the screen is animating off.Mike Lockwood2009-10-271-8/+5
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a deadlock that occurred because mAnimatingScreenOff was left set to true after aborting turning off the screen. This change removes the mAnimatingScreenOff flag and checks for (mScreenBrightness.animating && mScreenBrightness.targetValue == 0) instead. Fixes bug b/2219706 Change-Id: I081f08c14ad7585a953fb567867238b1f3db841f Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | am f634f492: am 5ef89808: Merge change I9c242127 into eclairMike Lockwood2009-10-291-17/+41
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit 'f634f4922894cc23a9b2298a0c971ffac763c132' into eclair-mr2-plus-aosp * commit 'f634f4922894cc23a9b2298a0c971ffac763c132': PowerManagerService: Animate LCD backlight changes due to autobrightness support.
| * | | am 5ef89808: Merge change I9c242127 into eclairMike Lockwood2009-10-291-17/+41
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit '5ef898080c1b8b596531c938eae87b3c35331ac2' into eclair-mr2 * commit '5ef898080c1b8b596531c938eae87b3c35331ac2': PowerManagerService: Animate LCD backlight changes due to autobrightness support.
| | * | PowerManagerService: Animate LCD backlight changes due to autobrightness ↵Mike Lockwood2009-10-271-17/+41
| | |/ | | | | | | | | | | | | | | | | | | support. Change-Id: I9c242127df801125c30f399198d1f7e9c8579612 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | am 95240270: Instead of a raw AIDL interface, give DropBox a Java interface ↵Dan Egnor2009-10-282-73/+40
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | (android.os.DropBox); move the Binder interface behind the scenes. Make DropBoxEntry into DropBox.Entry. Make it possible to get a dropbox from an (Application)Context with the usual getSyste Merge commit '952402704a175ba27f6c89dff1ada634c5ce5626' into eclair-mr2-plus-aosp * commit '952402704a175ba27f6c89dff1ada634c5ce5626': Instead of a raw AIDL interface, give DropBox a Java
| * | Instead of a raw AIDL interface, give DropBox a JavaDan Egnor2009-10-282-73/+40
| | | | | | | | | | | | | | | | | | | | | | | | interface (android.os.DropBox); move the Binder interface behind the scenes. Make DropBoxEntry into DropBox.Entry. Make it possible to get a dropbox from an (Application)Context with the usual getSystemService(DROPBOX_SERVICE) type thing. Update the tests accordingly.
* | | am 8d1eeb21: am 2d155d26: PowerManagerService: Fix bug resulting in ↵Mike Lockwood2009-10-281-10/+15
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | backlights turning on while screen is off. Merge commit '8d1eeb2144945365cae281552bd7bc5eb14f7688' into eclair-mr2-plus-aosp * commit '8d1eeb2144945365cae281552bd7bc5eb14f7688': PowerManagerService: Fix bug resulting in backlights turning on while screen is off.
| * | am 2d155d26: PowerManagerService: Fix bug resulting in backlights turning on ↵Mike Lockwood2009-10-281-10/+15
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | while screen is off. Merge commit '2d155d264e5cefc27abf2c5020fcfa06bde755ec' into eclair-mr2 * commit '2d155d264e5cefc27abf2c5020fcfa06bde755ec': PowerManagerService: Fix bug resulting in backlights turning on while screen is off.
| | * PowerManagerService: Fix bug resulting in backlights turning on while screen ↵Mike Lockwood2009-10-271-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | is off. Fixes bugs b/2216879 and b/2197060 Change-Id: I5de3cbdbc0601dd7950dba74cacfff06d41ad18e Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | am 7c64d448: am 8061f64f: Merge change Ib0d3d9d0 into eclairMike Lockwood2009-10-281-9/+27
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '7c64d4486ad8704f0b63474e2da0dd89147771ad' into eclair-mr2-plus-aosp * commit '7c64d4486ad8704f0b63474e2da0dd89147771ad': PowerManagerService: Clear Binder calling identity around calls to Sensor Manager.
| * | am 8061f64f: Merge change Ib0d3d9d0 into eclairMike Lockwood2009-10-281-9/+27
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '8061f64f6246116381131fc7951b6d88be37161a' into eclair-mr2 * commit '8061f64f6246116381131fc7951b6d88be37161a': PowerManagerService: Clear Binder calling identity around calls to Sensor Manager.
| | * PowerManagerService: Clear Binder calling identity around calls to Sensor ↵Mike Lockwood2009-10-261-9/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manager. This fixes a problem that resulted in bogus battery statistics for the prox and light sensors due to the sensors being enabled in an app's context and disabled in the system context. Fixes problems reported in bug b/2211960 Change-Id: Ib0d3d9d06f043b386d3b8d494b9bad5bd40bb6e1 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | am 4dee223c: am 86328a99: LocationManagerService: clear calling identity in ↵Mike Lockwood2009-10-281-0/+8
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | mock provider calls. Merge commit '4dee223c68d98ebac6bb3d91c2d6e47eb2b0a001' into eclair-mr2-plus-aosp * commit '4dee223c68d98ebac6bb3d91c2d6e47eb2b0a001': LocationManagerService: clear calling identity in mock provider calls.
| * | am 86328a99: LocationManagerService: clear calling identity in mock provider ↵Mike Lockwood2009-10-281-0/+8
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | calls. Merge commit '86328a99bd55532e318441d48ee9eb96cdc42403' into eclair-mr2 * commit '86328a99bd55532e318441d48ee9eb96cdc42403': LocationManagerService: clear calling identity in mock provider calls.
| | * LocationManagerService: clear calling identity in mock provider calls.Mike Lockwood2009-10-261-0/+8
| | | | | | | | | | | | | | | | | | | | | Fixes bug b/2198028 (testDirectionsFromScratchByTyping fails because of android.permission.ACCESS_WIFI_STATE) Change-Id: I44e95981d805189ed6d906d388c5189ee788802f Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | am ed7755cc: am 3333fa4f: PowerManagerService: Ensure that recent changes do ↵Mike Lockwood2009-10-281-6/+13
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | not effect the hardware ALS case. Merge commit 'ed7755cc30fe6b2b0254207347629ad0cae094db' into eclair-mr2-plus-aosp * commit 'ed7755cc30fe6b2b0254207347629ad0cae094db': PowerManagerService: Ensure that recent changes do not effect the hardware ALS case.
| * | am 3333fa4f: PowerManagerService: Ensure that recent changes do not effect ↵Mike Lockwood2009-10-281-6/+13
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | the hardware ALS case. Merge commit '3333fa4f3d2e1bd3842fe7d41d19557ff9a98372' into eclair-mr2 * commit '3333fa4f3d2e1bd3842fe7d41d19557ff9a98372': PowerManagerService: Ensure that recent changes do not effect the hardware ALS case.
| | * PowerManagerService: Ensure that recent changes do not effect the hardware ↵Mike Lockwood2009-10-261-6/+13
| | | | | | | | | | | | | | | | | | | | | ALS case. Change-Id: I42d2d1331c2a6234dfbdaa99f0cc8ab249f7ce22 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | am 9baeff05: am 6eb14c30: PowerManagerService: Do not enable light sensor if ↵Mike Lockwood2009-10-251-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | hardware backlight management is being used. Merge commit '9baeff05a8bf9bd4479f2a357dca0463cc750202' into eclair-mr2-plus-aosp * commit '9baeff05a8bf9bd4479f2a357dca0463cc750202': PowerManagerService: Do not enable light sensor if hardware backlight management is being used.
| * | am 6eb14c30: PowerManagerService: Do not enable light sensor if hardware ↵Mike Lockwood2009-10-251-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | backlight management is being used. Merge commit '6eb14c30387d9c13538887e54bc180a430b2ac40' into eclair-mr2 * commit '6eb14c30387d9c13538887e54bc180a430b2ac40': PowerManagerService: Do not enable light sensor if hardware backlight management is being used.
| | * PowerManagerService: Do not enable light sensor if hardware backlight ↵Mike Lockwood2009-10-241-1/+1
| | | | | | | | | | | | | | | | | | | | | management is being used. Change-Id: Ic652ac22ec3256d71d12504148927349dfbd3384 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | am 48153e7f: Merge change I064698b3 into eclair-mr2Robert Greenwalt2009-10-231-0/+10
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '48153e7f7fe46586c1994d69f899f75355847245' into eclair-mr2-plus-aosp * commit '48153e7f7fe46586c1994d69f899f75355847245': Add wifi "HANGED" driver state triggering reload.
| * | Add wifi "HANGED" driver state triggering reload.Robert Greenwalt2009-10-231-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | The driver can now report to us that they are hosed and we'll shut down wifi and restart it - only to be used as a last resort. Also fixing synch problem with updateWifiState. bug: 2173119
* | | am c6bead14: am 7580493b: Implement feature #2117336: Create event ↵Dianne Hackborn2009-10-221-26/+80
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | communication APIs for live wallpaper Merge commit 'c6bead14fe6fe70bcfd8802ee9f0259476a074ce' into eclair-mr2-plus-aosp * commit 'c6bead14fe6fe70bcfd8802ee9f0259476a074ce': Implement feature #2117336: Create event communication APIs for live wallpaper
| * | am 7580493b: Implement feature #2117336: Create event communication APIs for ↵Dianne Hackborn2009-10-221-26/+80
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | live wallpaper Merge commit '7580493b014a2c7ea883cd291255798dc72ebbff' into eclair-mr2 * commit '7580493b014a2c7ea883cd291255798dc72ebbff': Implement feature #2117336: Create event communication APIs for live wallpaper
| | * Implement feature #2117336: Create event communication APIs for live wallpaperDianne Hackborn2009-10-221-26/+80
| | | | | | | | | | | | | | | | | | | | | Note: currently only implements an async version (no result), and not yet actually tested. Change-Id: Id47ed045a4b0eb309ea8c58daf41a0e03eff1d3a
* | | am fa48000a: am 94f2c524: Merge change I63c2d9ed into eclairEric Fischer2009-10-221-0/+23
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'fa48000a25a32de1a117c716dcd6f9c255bffe58' into eclair-mr2-plus-aosp * commit 'fa48000a25a32de1a117c716dcd6f9c255bffe58': Update the names of the widgets when the locale changes.
| * | am 94f2c524: Merge change I63c2d9ed into eclairEric Fischer2009-10-221-0/+23
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '94f2c524214b56ac2416f79cf9e81fa598327917' into eclair-mr2 * commit '94f2c524214b56ac2416f79cf9e81fa598327917': Update the names of the widgets when the locale changes.
| | * Merge change I63c2d9ed into eclairAndroid (Google) Code Review2009-10-221-0/+23
| | |\ | | | | | | | | | | | | | | | | * changes: Update the names of the widgets when the locale changes.
| | | * Update the names of the widgets when the locale changes.Eric Fischer2009-10-221-0/+23
| | | | | | | | | | | | | | | | Bug 1814373, Bug 2152730
* | | | am d278ffc0: am 96e0c315: Merge change Ia3f7ef64 into eclairMike Lockwood2009-10-221-6/+8
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit 'd278ffc0984d730b333f53636a223eae6d9b7657' into eclair-mr2-plus-aosp * commit 'd278ffc0984d730b333f53636a223eae6d9b7657': PowerManager: Don't poke user activity in setKeyboardVisibility unless the state actually changed.
| * | | am 96e0c315: Merge change Ia3f7ef64 into eclairMike Lockwood2009-10-221-6/+8
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit '96e0c3156e21bbdb0d94201b08d80379b98c472a' into eclair-mr2 * commit '96e0c3156e21bbdb0d94201b08d80379b98c472a': PowerManager: Don't poke user activity in setKeyboardVisibility unless the state actually changed.
| | * | PowerManager: Don't poke user activity in setKeyboardVisibility unless the ↵Mike Lockwood2009-10-221-6/+8
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | state actually changed. Fixes bug b/2158297 (lock screen should time out after 7 seconds) Change-Id: Ia3f7ef6464129ab78283923dbfd7f7472136e676 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | am 3d4247ef: am fee0f577: Merge change I99dc6477 into eclairMike Lockwood2009-10-221-0/+7
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '3d4247ef9541afc88af5ac8d4634f331b20ed5cb' into eclair-mr2-plus-aosp * commit '3d4247ef9541afc88af5ac8d4634f331b20ed5cb': Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.
| * | am fee0f577: Merge change I99dc6477 into eclairMike Lockwood2009-10-221-0/+7
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit 'fee0f5773335e42f4ffdf2d2d1c344ceee3ccb33' into eclair-mr2 * commit 'fee0f5773335e42f4ffdf2d2d1c344ceee3ccb33': Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.
| | * Merge change I99dc6477 into eclairAndroid (Google) Code Review2009-10-221-0/+7
| | |\ | | | | | | | | | | | | | | | | * changes: Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.
| | | * Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.Mike Lockwood2009-10-211-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Part of a fix for bug b/2198537 Change-Id: I99dc64772fa7644b12432d5549603025196ea3e2 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | am f8a57dcb: am eadb97b4: Merge change I53f83502 into eclairMike Lockwood2009-10-221-1/+8
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit 'f8a57dcb5983ad465bff697bbccb0eca031e7072' into eclair-mr2-plus-aosp * commit 'f8a57dcb5983ad465bff697bbccb0eca031e7072': PowerManagerService: Ignore user activity while the screen is animating off.
| * | | am eadb97b4: Merge change I53f83502 into eclairMike Lockwood2009-10-221-1/+8
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit 'eadb97b4826bb6a2fa34db9c65b5a0d6f7baade9' into eclair-mr2 * commit 'eadb97b4826bb6a2fa34db9c65b5a0d6f7baade9': PowerManagerService: Ignore user activity while the screen is animating off.