summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Database cleanup needs to happen for all users.Jeff Sharkey2012-10-111-3/+14
| | | | | Bug: 6970084 Change-Id: I9a6f1cbaf095b245ec9707a90c518256e0aa1f5f
* Merge changes I50eb7dcf,I7ae92ce1,Icb22db1c into jb-mr1-devJeff Brown2012-10-102-30/+112
|\ | | | | | | | | | | | | * changes: Don't enable input dispatch until the screen is visible. Dejank electron beam. Don't process UEvents in Dalvik unless they match a pattern.
| * Don't process UEvents in Dalvik unless they match a pattern.Jeff Brown2012-10-102-30/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | On some devices, vsync is delivered from the kernel to userspace over a netlink socket via UEvent. The result is that a thread wakes up, reads a message, creates a new String then searches it for matches against a pattern on every single frame. Reduce the overhead by performing the initial pattern matching in native code. Bug: 7326329 Change-Id: Icb22db1c38330694207bec1153840e0c06f502d6
* | Merge "Remove Dream windows immediately." into jb-mr1-devDaniel Sandler2012-10-101-4/+13
|\ \
| * | Remove Dream windows immediately.Daniel Sandler2012-10-101-4/+13
| | | | | | | | | | | | | | | | | | | | | Ensures that onDetachedFromWindow happens before onDestroy. Bug: 7295929 Change-Id: Ic4ac2552bfce75a5dc43dc840e6ef0182369e24b
* | | Merge "Fix a runtime restart when cycling between 4 users" into jb-mr1-devAmith Yamasani2012-10-101-9/+4
|\ \ \
| * | | Fix a runtime restart when cycling between 4 usersAmith Yamasani2012-10-101-9/+4
| | |/ | |/| | | | | | | | | | | | | | | | | | | Some refactoring in Sync Manager caused mUserManager to be initialized too late. Make sure this is initialized in the constructor now. Bug: 7328386 Change-Id: Ic67915e172c3b8ef368852147667287e38c0213b
* | | Merge "Import translations. DO NOT MERGE" into jb-mr1-devBaligh Uddin2012-10-1049-67/+67
|\ \ \ | |/ / |/| |
| * | Import translations. DO NOT MERGEBaligh Uddin2012-10-1049-67/+67
| | | | | | | | | | | | | | | Change-Id: I57efb052a4003b16c6901ea8af12efcd535d1e4c Auto-generated-cl: translation import
* | | Fix the buildFabrice Di Meglio2012-10-101-2/+2
| | | | | | | | | | | | Change-Id: I9c79677ee4f68d6fc82b754d08e701229725c2a6
* | | Merge "Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)" ↵Fabrice Di Meglio2012-10-104-10/+10
|\ \ \ | | | | | | | | | | | | into jb-mr1-dev
| * | | Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)Fabrice Di Meglio2012-10-104-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - rename to LayoutParams.resolveLayoutDirection(int) - upate 17.txt too Change-Id: I54fe28dc47cfdb65ef0b5b0244dabbe1d675c781
* | | | Merge "Fix WebView accessibility scripts." into jb-mr1-devSvetoslav Ganov2012-10-101-11/+159
|\ \ \ \
| * | | | Fix WebView accessibility scripts.alanv2012-10-101-11/+159
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensures A11y APIs are added to WebView before page loads. Prevents calls to TTS before init and after shutdown. Ensures calls to TTS are thread- safe. Activates and deactivates feedback from AndroidVox when view is attached and detached. Adds a flag for logging debug output, as well as a lot of debug output. Bug: 7326781 Change-Id: I5d4ab7f9fb1669f98ef05ae207e897565d3086c9
* | | | Merge "Don't play notifications during speech recognition" into jb-mr1-devJean-Michel Trivi2012-10-101-1/+10
|\ \ \ \
| * | | | Don't play notifications during speech recognitionJean-Michel Trivi2012-10-101-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for querying AudioManager to know whether speech recognition is currently underway. Don't play a notification if speech recognition is underway. Bug 7314859 Change-Id: I1bd013a3168cfe1a6b6dcfd28565e1c3c512eb6a
* | | | | Merge "Move lockscreen to using haptic feedback setting." into jb-mr1-devJeff Sharkey2012-10-102-11/+11
|\ \ \ \ \
| * | | | | Move lockscreen to using haptic feedback setting.Jeff Sharkey2012-10-102-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes lockscreen-specific "Vibrate on touch" setting, and changes it to use the haptic feedback setting instead. Bug: 7318772 Change-Id: I637c392a1aaa22403cb20da4723f90c3b2e3de19
* | | | | | Merge "Update to accessibility toggle message." into jb-mr1-devSvetoslav Ganov2012-10-101-1/+1
|\ \ \ \ \ \
| * | | | | | Update to accessibility toggle message.Casey Burkhardt2012-10-101-1/+1
| | |_|/ / / | |/| | | | | | | | | | | | | | | | Change-Id: I9957b86f3424d800b1b9804dc77f5bc5b728922b
* | | | | | Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings ↵Fabrice Di Meglio2012-10-101-0/+6
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | apps looks broken on Manta in Arabic)" into jb-mr1-dev
| * | | | | Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps ↵Fabrice Di Meglio2012-10-101-0/+6
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | looks broken on Manta in Arabic) - fix LayoutParams resolution for LinearLayout only - apply onResolveLayoutDirection() in both measureHorizontal() and measureVertical() Change-Id: I5fcded9a79cd9aaeb0e12da7fd14176b71ba2fb6
* | | | | Merge "Include all accounts in dumpsys." into jb-mr1-devJeff Sharkey2012-10-102-19/+58
|\ \ \ \ \
| * | | | | Include all accounts in dumpsys.Jeff Sharkey2012-10-102-19/+58
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow accounts to be loaded when a user is stopped, but always validate accounts against a freshly queried PMS cache when the user actually starts. Bug: 7276595 Change-Id: I0382064c73123c243bc6f6e5da8fc3d0a8b73442
* | | | | Merge "Reduce android.bluetooth package debug messages" into jb-mr1-devMatthew Xie2012-10-108-69/+80
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Reduce android.bluetooth package debug messagesMatthew Xie2012-10-098-69/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug 7174712 Change-Id: I8d3fdc8edbe42068b5a550660d7b24854c3c4af4
* | | | | Merge "Revert "Don't update the text services locale in the main thread"" ↵Ken Wakasa2012-10-101-38/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | into jb-mr1-dev
| * | | | | Revert "Don't update the text services locale in the main thread"Ken Wakasa2012-10-101-38/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8fa0838bf82f43acfabc0e7fe9471e488a97796b Change-Id: Ie790ae6dcb33d05d1fbf86c8ef28aec6fe60793a
* | | | | | Merge "Fix build, only invalidate when creating user." into jb-mr1-devJeff Sharkey2012-10-102-2/+5
|\ \ \ \ \ \
| * | | | | | Fix build, only invalidate when creating user.Jeff Sharkey2012-10-102-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 7276595 Change-Id: I322f9d76a682b2d45fc556e35381442458168fe5
* | | | | | | Merge "Make RegisteredServicesCache multi-user aware." into jb-mr1-devJeff Sharkey2012-10-099-333/+379
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Make RegisteredServicesCache multi-user aware.Jeff Sharkey2012-10-099-333/+379
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RegisteredServicesCache is used to track account authenticators and sync adapters, which can vary based on user. This change requires that callers now provide a userId when making cache requests. It continues persisting into a single file for now, which is keyed based on UID. It now watches for package broadcasts from all users, and scans packages on-demand. It changes cache callers to provide a relevant userId, and evicts cache entries when users are stopped. Changes SyncManager to only work with accounts from running users, only kicking off pending syncs once a user is started. Bug: 7276595, 7316150 Change-Id: I79466a84aa69aa37e4bd9691c5d6221d3662ff29
* | | | | | | Merge "Don't update the text services locale in the main thread" into jb-mr1-devSatoshi Kataoka2012-10-091-1/+38
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Don't update the text services locale in the main threadSatoshi Kataoka2012-10-091-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6761326 Change-Id: I9f8a81d3c9261a6cfc00292b9f5cb06053b9112d
* | | | | | | Merge "Cannot force a shown item from an ActionMode into the overflow menu." ↵Svetoslav Ganov2012-10-091-0/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into jb-mr1-dev
| * | | | | | | Cannot force a shown item from an ActionMode into the overflow menu.Svetoslav Ganov2012-10-091-0/+3
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. An app showing an action mode with a visible item that decides to move this item to the overflow menu cannot do so since the action menu is not updated properly. Specifically, ActionMenuPresenter does not clear the "is action button" property of a menu item neither requires nor requests an action button, i.e. the item's "show as action" property changed to be never shown on the action bar. bug:7319766 Change-Id: I5cfda6269466fafca1f039a3bab6397392ae9f17
* | | | | | | Merge "Revert "Revert "Add config resource to help ATT prepaid""" into ↵Baligh Uddin2012-10-092-0/+6
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | jb-mr1-dev
| * | | | | | | Revert "Revert "Add config resource to help ATT prepaid""Baligh Uddin2012-10-092-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert the revert - change is good. This reverts commit 2133caf515660d957bb7fd05b35e7eb2f2391d48 Change-Id: I987d5533e8ce909a3adfa38bceeac5c42e22da19
* | | | | | | | Merge "Further work on issue #7307399: Framework needs a new ↵Dianne Hackborn2012-10-091-4/+10
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | | | | | | | | | pre-user-shutdown..." into jb-mr1-dev
| * | | | | | | Further work on issue #7307399: Framework needs a new pre-user-shutdown...Dianne Hackborn2012-10-091-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...phase & callback API I realized there were a few things wrong with what was there. The new ACTION_USER_STARTING was not being sent for the first user at boot, and there was an existing problem where ACTION_USER_STARTED was sent every time there was a user switch. Also improved some debug output of broadcasts to make it easier to see what is going on in this stuff, and better reporting of why a service couldn't be started. Change-Id: Id8a536defbbad1f73d94a37d13762436b822fbe3
* | | | | | | | Merge "Revert "Add config resource to help ATT prepaid"" into jb-mr1-devBaligh Uddin2012-10-092-6/+0
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | |
| * | | | | | | Revert "Add config resource to help ATT prepaid"Baligh Uddin2012-10-092-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | breaking jb-mr1-release This reverts commit 901ac560cafe0b8d76fd7441cbaf8749be33577c Change-Id: I5fab4097a40e0ba31dc716967ef921c113a795a7
* | | | | | | | Merge "Return true on successful accessiblity action click/long click." into ↵Svetoslav Ganov2012-10-091-8/+10
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | | | | | | | | jb-mr1-dev
| * | | | | | | Return true on successful accessiblity action click/long click.Svetoslav Ganov2012-10-091-8/+10
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. If a view is clickable or long clickable perfroming the corresponding accessiblity action should return true no matter whether there is a registered on click/long click listener. Currently true is returned only if there is a listener but it is also possible that a sub-class overrides performClick and does work there. For example CompoundButton. Now if the view is clickable or long clickable we will call the perfrom* method and return true, which is we clicked. 2. Fixed some JavaDoc indentation. bug:7318777 Change-Id: Id603fee378b8f7d07f1128b5641ede57640bab53
* | | | | | | Merge "Fix issue #7311376: Add API to allow apps to know if they are..." ↵Dianne Hackborn2012-10-094-4/+41
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into jb-mr1-dev
| * | | | | | | Fix issue #7311376: Add API to allow apps to know if they are...Dianne Hackborn2012-10-094-4/+41
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...running as the foreground user Add UserManager.isUserRunning() which is the public version of the existing method on ActivityManager. Also add UserManager.isUserRunningOrStopping() since that seems like it will be useful. And fix the internal function that returns the array of currently running users to not include stopped users. Change-Id: I84672fa8748fc027fd402729586b5603f640e498
* | | | | | | Merge "default the screen on during the dream." into jb-mr1-devChris Wren2012-10-091-1/+1
|\ \ \ \ \ \ \
| * | | | | | | default the screen on during the dream.Chris Wren2012-10-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 7295909 Change-Id: Ic629bd08bdade8dba2b92124c56cab1bb438bec2
* | | | | | | | Merge "Back up / restore the "Avoid poor connections" wifi setting" into ↵Christopher Tate2012-10-091-0/+1
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | jb-mr1-dev
| * | | | | | | Back up / restore the "Avoid poor connections" wifi settingChristopher Tate2012-10-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 7318177 Change-Id: I8fdc037f823b8c57727e7d49c5bffdc9b3c10ebb