summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | am 26627ccc: Merge "A little debug code from issue #6516197: Places app not ↵Dianne Hackborn2012-05-301-4/+8
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getting removed..." into jb-dev * commit '26627ccc3f20ad353cf7c48c0488699c26e69a0b': A little debug code from issue #6516197: Places app not getting removed...
| * | | | | Merge "A little debug code from issue #6516197: Places app not getting ↵Dianne Hackborn2012-05-301-4/+8
| |\ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | removed..." into jb-dev
| | * | | | A little debug code from issue #6516197: Places app not getting removed...Dianne Hackborn2012-05-291-4/+8
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | ...from recent apps drawer after launching Places app Change-Id: Ibfa75e9cea2721a7380d7c13dc21504fbce61aee
* | | | | am 17150cf9: Fix locale in TextServicesManagerServiceSatoshi Kataoka2012-05-301-3/+3
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '17150cf91be1478e367c2ef5e4f5baaa66b487d0': Fix locale in TextServicesManagerService
| * | | | Fix locale in TextServicesManagerServiceSatoshi Kataoka2012-05-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6542210 Change-Id: I1670fac014beb834ec7c065ebf040d0ff3cf4161
* | | | | am 38616ccc: Merge "Fix a stack corruption in sensorservice" into jb-devMathias Agopian2012-05-291-5/+13
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '38616ccc94b1e1a605ab43cc5c230d6acc729a15': Fix a stack corruption in sensorservice
| * | | | Merge "Fix a stack corruption in sensorservice" into jb-devMathias Agopian2012-05-291-5/+13
| |\ \ \ \ | | |/ / / | |/| | |
| | * | | Fix a stack corruption in sensorserviceMathias Agopian2012-05-291-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6576732 Change-Id: If0f2fb0d0c35b932fb77cd262e676042145b28f9
* | | | | am ae5811c7: Merge "Fix (mostly) issue #5109947: Race condition between ↵Dianne Hackborn2012-05-295-233/+496
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | retrieving a..." into jb-dev * commit 'ae5811c71405878b09eace395ec2b28e54eeb427': Fix (mostly) issue #5109947: Race condition between retrieving a...
| * | | | Merge "Fix (mostly) issue #5109947: Race condition between retrieving a..." ↵Dianne Hackborn2012-05-295-233/+496
| |\ \ \ \ | | | | | | | | | | | | | | | | | | into jb-dev
| | * | | | Fix (mostly) issue #5109947: Race condition between retrieving a...Dianne Hackborn2012-05-295-233/+496
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...content provider and updating its oom adj This introduces the concept of an "unstable" reference on a content provider. When holding such a reference (and no normal stable ref), the content provider dying will not cause the client process to be killed. This is used in ContentResolver.query(), .openAssetFileDescriptor(), and .openTypedAssetFileDescriptor() to first access the provider with an unstable reference, and if at the point of calling into the provider we find it is dead then acquiring a new stable reference and doing the operation again. Thus if the provider process dies at any point until we get the result back, our own process will not be killed and we can safely retry the operation. Arguably there is still the potential for a race -- if somehow the provider is killed way late by the OOM killer after the query or open has returned -- but this should now be *extremely* unlikely. We also continue to have the issue with the other calls, but these are much less critical, and the same model can't be used there (we wouldn't want to execute two insert operations for example). The implementation of this required some significant changes to the underlying plumbing of content providers, now keeping track of the two different reference counts, and managing them appropriately. To facilitate this, the activity manager now has a formal connection object for a client reference on a content provider, which hands to the application when opening the provider. These changes have allowed a lot of the code to be cleaned up and subtle issues closed. For example, when a process is crashing, we now have a much better idea of the state of content provider clients (olding a stable ref, unstable ref, or waiting for it to launch), so that we can correctly handle each of these. The client side code is also a fair amount cleaner, though in the future there is more than should be done. In particular, the two ProviderClientRecord and ProviderRefCount classes should be combined into one, part of which is exposed to the ContentResolver internal API as a reference on a content provider with methods for updating reference counts and such. Some day we'll do that. Change-Id: I87b10d1b67573ab899e09ca428f1b556fd669c8c
* | | | | am 82b3b1bc: Merge "Make location providers upgradeable." into jb-devNick Pelly2012-05-293-51/+136
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '82b3b1bce9665a68b32ab0d7393ea63425677f70': Make location providers upgradeable.
| * | | | Merge "Make location providers upgradeable." into jb-devNick Pelly2012-05-293-51/+136
| |\ \ \ \ | | |_|_|/ | |/| | |
| | * | | Make location providers upgradeable.Nick Pelly2012-05-293-51/+136
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use config_netowrkLocationProviderPackageName and config_geocodeProviderPackageName as intial packages. If another package exists (or is later installed) that also implements a provider, and has the same signatures as the original providers, and has a hgiher version number, then use that instead. The old code used a funky fix of package name substring checks and service checks that was broken and not upgradeable. Bug: 6499445 Change-Id: Ic58f09cf85d31d9abf47707093e22f31dda25cf0
* | | | am de1ddd0f: Merge "Better handle changing app transitions." into jb-devCraig Mautner2012-05-292-11/+29
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'de1ddd0f93fae6ba517d516993e7fb495424f574': Better handle changing app transitions.
| * | | Merge "Better handle changing app transitions." into jb-devCraig Mautner2012-05-292-11/+29
| |\ \ \
| | * | | Better handle changing app transitions.Craig Mautner2012-05-292-11/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we are in the middle of an app transition and need to change to a new one we were not ending the old one in a clean state. Also, wallpapers were defaulting to the wrong animation in certain situations. Remove ':' style iterators. Fixes bug 6486708. Change-Id: Ied17e8410486020295db380ff68df5dad08bc5cc
* | | | | am 1dee8974: Merge "Track animating apps up until animation starts." into jb-devCraig Mautner2012-05-291-7/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '1dee8974693fff55e276e0aed1202e43904bb944': Track animating apps up until animation starts.
| * | | | Merge "Track animating apps up until animation starts." into jb-devCraig Mautner2012-05-291-7/+5
| |\ \ \ \ | | |_|/ / | |/| | |
| | * | | Track animating apps up until animation starts.Craig Mautner2012-05-291-7/+5
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ActivityStack sets the mNextAppTransition value before moving the apps to their proper position. This makes the test for mNextAppTransition being TRANSITION_UNSET incorrect. Better to just look for animating. Fixes bug 6565418. Change-Id: I4651b7d3678e46fc712a8e901992fb01b94c415e
* | | | am d4cf7e7b: Merge "Don\'t ANR on hover, scroll or if a window goes away." ↵Jeff Brown2012-05-251-15/+24
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | into jb-dev * commit 'd4cf7e7b06e6870d447dbed2683b8849cfe5336b': Don't ANR on hover, scroll or if a window goes away.
| * | | Merge "Don't ANR on hover, scroll or if a window goes away." into jb-devJeff Brown2012-05-251-15/+24
| |\ \ \ | | |_|/ | |/| |
| | * | Don't ANR on hover, scroll or if a window goes away.Jeff Brown2012-05-241-15/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents ANR on hover or scroll events. Prevents ANR in the case where one finger touches a window which is subsequently removed then a second finger comes along and tries to touch something. Change-Id: I985ccb70cd86659992328f14f8a705f3f05ea2e5
* | | | am 541803cc: am fd63c857: Merge "Wipe the user data out in any case."Jean-Baptiste Queru2012-05-251-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * commit '541803ccc530b8cc1d8d95aa5a82ebc191fc218c': Wipe the user data out in any case.
| * \ \ \ Merge "Wipe the user data out in any case."Jean-Baptiste Queru2012-05-251-0/+1
| |\ \ \ \
| | * | | | Wipe the user data out in any case.Masanori Ogino2012-02-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the external storage is not mounted, the android system won't wipe out the user data (i.e. "/data") if wipeData() is called with the flag WIPE_EXTERNAL_STORAGE. We think that the user data should be wiped out in any options and also wipeData(int) method currently supports also for a external storage. So we will also change the API reference comment. If we should care about backward compatibility of this method behavior with the option WIPE_EXTERNAL_STORAGE, then we would add an another bitmask something like a ALWAYS_RESET. Change-Id: Id7bf673c722bacc0480d32e46553b9a348513879
| * | | | | Merge "FileInputStream is not closed in "UserManager.java : readUserList()""Amith Yamasani2012-05-241-0/+1
| |\ \ \ \ \
| | * | | | | FileInputStream is not closed in "UserManager.java : readUserList()"Seohyeon.Song2012-04-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I50f54c70c8b6bc808fa59ce589b0480780cc811b
| * | | | | | Merge changes Ib28636e6,I93ebc433Jean-Baptiste Queru2012-05-041-0/+13
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: WallpaperManagerService does not properly propagate setDimensionHints() ImageWallpaper : get bitmap width before calc screen offset
| | * | | | | | WallpaperManagerService does not properly propagate setDimensionHints()SangWook Han2012-02-081-0/+13
| | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During bootstrap, Launcher could be initialized in between WallpaperManagerService and ImageWallpaper. In case Launcher's WindowManager.suggestDesiredDimenstions() is called after WallpaperManagerService begin to create ImageWallpaper and before ImageWallpaper Engine attached, that mostly resulted in Black Edge of image wallpaper. This can be reproduced easily (1 in 3) - set image wallpaper other than default. - modify Launcher/Workspace to call suggestDesiredDimenstions(w,h) - reboot To fix Black Edge, WallpaperManagerService modified to maintain a flag mDesiredDimensionChanging and set desired size at Engine attach. Black Edge still can be shown for some moment. but, always recoverd. To eliminate Black Edge it seems that IWallpaperConnection.aidl need more method. NOTE: Many market launcher and some phone vendor launcher call suggestDesiredDimenstions with argument (w,h) instead aosp's original (w*2,h) for single page wallpaper. Change-Id: Ib28636e6b2964d9deeee1f1e1d304554cc7a837e
* | | | | | | am 2af7b915: Merge "Redraw all windows earlier in power on sequence." into ↵Craig Mautner2012-05-241-4/+3
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jb-dev * commit '2af7b9151f8df3581e38847ac711185426df5dea': Redraw all windows earlier in power on sequence.
| * | | | | | Merge "Redraw all windows earlier in power on sequence." into jb-devCraig Mautner2012-05-241-4/+3
| |\ \ \ \ \ \
| | * | | | | | Redraw all windows earlier in power on sequence.Craig Mautner2012-05-241-4/+3
| | | |_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Send a message to all windows to redraw before notifying PhoneWindowManager of screen on. This minimizes the delay in screen update that causes the keyguard clock to display the old time before displaying the current time. Fixes bug 6381021. Change-Id: Ida7071e7dac2284540f101c5d004511b52133b91
* | | | | | | am 1ed1de7a: Merge "Modify logging to debug this issue" into jb-devRobert Greenwalt2012-05-243-92/+114
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit '1ed1de7ab2ae03f82500dbf6272bf036d89bd0c9': Modify logging to debug this issue
| * | | | | | Merge "Modify logging to debug this issue" into jb-devRobert Greenwalt2012-05-243-92/+114
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| | * | | | | Modify logging to debug this issueRobert Greenwalt2012-05-243-92/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Logging exec time on startUsingNetworkFeature as we've had some reports suggesting it's causing ANRs. Remove some logging from NDC so it's local log is more useful. bug:6492166 Change-Id: I258ff6c59bff2c65935242d50496d84720c5d493
* | | | | | | am 6385ff51: Merge "Advise persist threshold outside NPMS lock." into jb-devJeff Sharkey2012-05-241-9/+15
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit '6385ff511dd998f1fbb189621270e2c19577f66e': Advise persist threshold outside NPMS lock.
| * | | | | | Merge "Advise persist threshold outside NPMS lock." into jb-devJeff Sharkey2012-05-241-9/+15
| |\ \ \ \ \ \
| | * | | | | | Advise persist threshold outside NPMS lock.Jeff Sharkey2012-05-241-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6492166 Change-Id: Ibebdc7e9b8cae27c12fd7b61b53ab60287a0364d
* | | | | | | | am 0100625b: Merge "Fix bug #6522190 MountService should respond to ↵Fabrice Di Meglio2012-05-241-4/+7
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configuration changes ("INTERNAL STORAGE" string should be translated dynamically)" into jb-dev * commit '0100625bb316ecbd99873b72756ffba8613c3456': Fix bug #6522190 MountService should respond to configuration changes ("INTERNAL STORAGE" string should be translated dynamically)
| * | | | | | | Merge "Fix bug #6522190 MountService should respond to configuration changes ↵Fabrice Di Meglio2012-05-241-4/+7
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | ("INTERNAL STORAGE" string should be translated dynamically)" into jb-dev
| | * | | | | | | Fix bug #6522190 MountService should respond to configuration changes ↵Fabrice Di Meglio2012-05-231-4/+7
| | | |/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ("INTERNAL STORAGE" string should be translated dynamically) - use an ID instead of a String for StorageVolume description - use this ID for getting the correct localized version of the description string Change-Id: I30f3080fce2c889be38bfdf9f5121dffcf8a99e8
* | | | | | | | am 7018a90c: Fix the issue on matching the locale in TextServicesManagerServicesatok2012-05-241-4/+2
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | * commit '7018a90c323a7f0deb37939d5505ff112ac637f5': Fix the issue on matching the locale in TextServicesManagerService
| * | | | | | | Fix the issue on matching the locale in TextServicesManagerServicesatok2012-05-241-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6542210 Change-Id: I42d84b684d5689e8fceecb705bb51d19d847477a
* | | | | | | | am 67e6070f: Merge "Change method of tracking moving AppWindowTokens." into ↵Craig Mautner2012-05-235-105/+146
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jb-dev * commit '67e6070fa10bbd313c8ebe0de4e0440b688c569e': Change method of tracking moving AppWindowTokens.
| * | | | | | | Merge "Change method of tracking moving AppWindowTokens." into jb-devCraig Mautner2012-05-235-105/+146
| |\ \ \ \ \ \ \
| | * | | | | | | Change method of tracking moving AppWindowTokens.Craig Mautner2012-05-235-105/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stop trying to keep track of the AppTokens that have been moved to the top and bottom and then try and match the WindowStates when transitions are goodToGo. Instead rebuild the WindowState order based on the AppToken order when we are goodToGo. When moving AppWindowTokens lower in mAppTokens create a new ArrayList of AppWindowTokens to keep track of the apps in Z order while animating. Fixes bug 6481078. Change-Id: I29b33a507b45752f15feb10a9f4b47a3f5eb9f0e
* | | | | | | | | am 9cf5831f: Merge "Fix jank when launching apps that show wallpaper." into ↵Craig Mautner2012-05-231-4/+7
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jb-dev * commit '9cf5831f2b94f5e2edd7fd87abef4e9fac8aa82d': Fix jank when launching apps that show wallpaper.
| * | | | | | | | Merge "Fix jank when launching apps that show wallpaper." into jb-devCraig Mautner2012-05-231-4/+7
| |\ \ \ \ \ \ \ \
| | * | | | | | | | Fix jank when launching apps that show wallpaper.Craig Mautner2012-05-231-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not create a StartingWindow for apps that show wallpaper. Fix handling of obscure case where found wallpaper is hidden. Fixes bug 6484034. Change-Id: I07181c4aea56fa9e530df0c95d886fe8ad61ec9d