summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Turn off hinting by default for higher density displays.Dianne Hackborn2011-08-121-2/+18
| | | | | | Also adds an API for apps to control whether hinting is used. Change-Id: I1a06b06255fbb8d0f02a8ce48c2cd60019088ed3
* Merge "Fix some crashes that are happening in the system process."Dianne Hackborn2011-08-123-10/+28
|\
| * Fix some crashes that are happening in the system process.Dianne Hackborn2011-08-123-10/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - When shutting down, if the screen goes to sleep there is code that tries to do a notifyAll without holding the lock: java.lang.IllegalMonitorStateException: object not locked by thread before notifyAll() at java.lang.Object.notifyAll(Native Method) at com.android.server.am.ActivityStack.checkReadyForSleepLocked(ActivityStack.java:776) at com.android.server.am.ActivityStack$1.handleMessage(ActivityStack.java:282) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at com.android.server.ServerThread.run(SystemServer.java:603) - If an invalid Uri object is sent to the system process it can crash because the Uri class throws an assertion while unmarshalling. Change this to an IllegalArgumentException so it gets sent back to the caller: java.lang.AssertionError at android.net.Uri$PathPart.readFrom(Uri.java:2224) at android.net.Uri$HierarchicalUri.readFrom(Uri.java:1106) at android.net.Uri$1.createFromParcel(Uri.java:1689) at android.net.Uri$1.createFromParcel(Uri.java:1681) at android.content.IContentService$Stub.onTransact(IContentService.java:53) at android.content.ContentService.onTransact(ContentService.java:120) at android.os.Binder.execTransact(Binder.java:338) at dalvik.system.NativeStart.run(Native Method) - StrictMode can try to access the first index in the stack crawl of a stack crawl array of length 0. Not sure why this happens, but make the code more robust: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0 at android.app.ApplicationErrorReport$CrashInfo.<init>(ApplicationErrorReport.java:341) at android.os.StrictMode$ViolationInfo.<init>(StrictMode.java:1978) at android.os.StrictMode$AndroidBlockGuardPolicy.startHandlingViolationException(StrictMode.java:1097) at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1068) at libcore.io.BlockGuardOs.read(BlockGuardOs.java:137) at libcore.io.IoBridge.read(IoBridge.java:426) at java.io.FileInputStream.read(FileInputStream.java:179) at java.io.InputStream.read(InputStream.java:148) at com.android.internal.os.ProcessStats.readFile(ProcessStats.java:804) at com.android.internal.os.ProcessStats.getCpuSpeedTimes(ProcessStats.java:564) at com.android.internal.os.ProcessStats.getLastCpuSpeedTimes(ProcessStats.java:545) at com.android.server.am.ActivityManagerService.updateCpuStatsNow(ActivityManagerService.java:1470) at com.android.server.am.ActivityManagerService.batteryNeedsCpuUpdate(ActivityManagerService.java:1522) at com.android.internal.os.BatteryStatsImpl$MyHandler.handleMessage(BatteryStatsImpl.java:110) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at com.android.server.am.ActivityManagerService$AThread.run(ActivityManagerService.java:1302) (Also fix this code to not cause strict mode to trigger at all, because there is no need, because this is just reading stuff from /proc.) - The system seems to crash during boot if it thinks it needs to rotate the screen, when it is trying to take the freeze snapshot way too early. There is no need to freeze the screen during boot or if the screen is off: java.lang.NullPointerException at android.view.Surface.init(Native Method) at android.view.Surface.<init>(Surface.java:256) at com.android.server.wm.ScreenRotationAnimation.<init>(ScreenRotationAnimation.java:91) at com.android.server.wm.WindowManagerService.startFreezingDisplayLocked(WindowManagerService.java:8758) at com.android.server.wm.WindowManagerService.startAppFreezingScreenLocked(WindowManagerService.java:3971) at com.android.server.wm.WindowManagerService.startAppFreezingScreen(WindowManagerService.java:4003) at com.android.server.am.ActivityRecord.startFreezingScreenLocked(ActivityRecord.java:515) at com.android.server.am.ActivityStack.ensureActivityConfigurationLocked(ActivityStack.java:3997) at com.android.server.am.ActivityManagerService.updateConfigurationLocked(ActivityManagerService.java:12535) at com.android.server.am.ActivityManagerService.updateConfiguration(ActivityManagerService.java:12439) at com.android.server.wm.WindowManagerService.systemReady(WindowManagerService.java:6161) at com.android.server.ServerThread.run(SystemServer.java:521) Change-Id: I85062bb5f6b0909a0f52feedaa75e7611d9d7fbd
* | Merge "Don't use HW accel drawing in lock screen on lower-end devices."Dianne Hackborn2011-08-121-0/+29
|\ \
| * | Don't use HW accel drawing in lock screen on lower-end devices.Dianne Hackborn2011-08-121-0/+29
| |/ | | | | | | | | | | | | This saves about 8MB in the system process because we don't need to do HW accelerated drawing there anymore. Change-Id: Ieaf72fe772536e12d10cf129d9338ca9fce6a6d4
* | Merge "Fix bug 5095223 - ICS action bar incorrectly resizing app icons"Adam Powell2011-08-121-20/+1
|\ \
| * | Fix bug 5095223 - ICS action bar incorrectly resizing app iconsAdam Powell2011-08-121-20/+1
| | | | | | | | | | | | | | | | | | Remove experimental auto-mipmapping of icons. Change-Id: I326ca396331a050985200b2ecf0d892474262916
* | | Merge "Remove WebDriver"John Reck2011-08-1223-2251/+0
|\ \ \
| * | | Remove WebDriverJohn Reck2011-08-1223-2251/+0
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 5155997 Change-Id: I66413032d0be90971fcca2278d96a40d6e221b89
* | | | Merge "Increase WebView.TAP_TIMEOUT to 300ms to account for trackpad taps."Ben Murdoch2011-08-121-1/+4
|\ \ \ \ | |_|/ / |/| | |
| * | | Increase WebView.TAP_TIMEOUT to 300ms to account for trackpad taps.Ben Murdoch2011-08-121-1/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | Track pad taps will have a duration of 300ms, so we need to take this into account when handling touch events in the WebView. Bug: 5076008 Change-Id: Ia0d7ad88637b1f6b85440283ab29086a5f60fdba
* | | Merge "Fix bug 5159073 - actionbar titles don't seem to be drawing anymore"Adam Powell2011-08-121-5/+7
|\ \ \
| * | | Fix bug 5159073 - actionbar titles don't seem to be drawing anymoreAdam Powell2011-08-121-5/+7
| | | | | | | | | | | | | | | | Change-Id: I2e617438134f1ff9f192d861655b69e4790593fe
* | | | Merge "Bug 5150869: Text selection enabled in browser."Gilles Debunne2011-08-121-27/+35
|\ \ \ \
| * | | | Bug 5150869: Text selection enabled in browser.Gilles Debunne2011-08-121-27/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After text selection is started, rebuildWebTextView is called, which calls setHorizontallyScrolling with false (multi-line). This was already its value, but since there was no test for a value change, the layout was nulled and this stops the selection mode. Change-Id: I99aadbf45fca4fbdbe8ab7266fe9a7ff839e2792
* | | | | Merge "Core transitions updates for phone and tablet."Brandon Keely2011-08-1229-303/+558
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Core transitions updates for phone and tablet.Brandon Keely2011-08-1129-303/+558
| | | | | | | | | | | | | | | | | | | | Change-Id: I89e21bc56f87d88f39baf5b94e36994563c345d0
* | | | | Merge "Set "is_read" = 0 for missed calls."Debashish Chatterjee2011-08-121-0/+3
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Set "is_read" = 0 for missed calls.Debashish Chatterjee2011-08-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed for an upcoming change in call log that will show only unread calls in the "new" section. The field "new" will henceforth only be used for notification. Bug: 5141185 Change-Id: Id24f815994ce90c89f5907c919ce95043a5d6217
* | | | | Merge "Fix bug 5075761 - Visual assets: CAB states"Adam Powell2011-08-1182-56/+91
|\ \ \ \ \
| * | | | | Fix bug 5075761 - Visual assets: CAB statesAdam Powell2011-08-1182-56/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrate new assets for the contextual action bar (action modes). Change-Id: I8439196f8b7466ce862e1c21a34b7ae1abf88f36
* | | | | | Merge "Remove ParcelSurfaceTexture and update MediaPlayer"Ted Bonkenburg2011-08-113-168/+0
|\ \ \ \ \ \
| * | | | | | Remove ParcelSurfaceTexture and update MediaPlayerTed Bonkenburg2011-08-113-168/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes the ParcelSurfaceTexture class since that functionality has been folded into Surface.java. The change also updates the MediaPlayer to get rid of setParcelSurfaceTexture() and modifies setTexture() to use the new Surface functionality in order to simplify the code. Change-Id: Iafa75ea3188263928128325d8a726786971b4de4
* | | | | | | Merge "Fix bug 5156213 - Fix title visibility states wrt expanded action views."Adam Powell2011-08-111-5/+12
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Fix bug 5156213 - Fix title visibility states wrt expanded action views.Adam Powell2011-08-111-5/+12
| |/ / / / / | | | | | | | | | | | | | | | | | | Change-Id: I20b5c5ad8112bec17e4cb5d6e568f47005a4e731
* | | | | | Merge "Make some methods/fields package private so that layoutlib can access ↵Xavier Ducrohet2011-08-1110-18/+18
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | them."
| * | | | | | Make some methods/fields package private so that layoutlib can access them.Xavier Ducrohet2011-08-1110-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I4aeadfbaf8a4f6a459fa19937c21ac23d9e5fb64
* | | | | | | Merge "Remove unnecessary private API"Romain Guy2011-08-112-13/+0
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Remove unnecessary private APIRomain Guy2011-08-112-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2ecb367528ec0691c07153a3d163b82a6ca33fdf
* | | | | | | Merge "Fix action bar tabs collapsing when they shouldn't."Romain Guy2011-08-112-11/+10
|\ \ \ \ \ \ \
| * | | | | | | Fix action bar tabs collapsing when they shouldn't.Adam Powell2011-08-112-11/+10
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | Change-Id: Ib0a91722b580802d2b5e3b07c4e57397665a3394
* | | | | | | Merge "Updated spinners Bug: 5076695"Justin Ho2011-08-1148-0/+0
|\ \ \ \ \ \ \
| * | | | | | | Updated spinnersJustin Ho2011-08-1148-0/+0
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5076695 Change-Id: I0f572f3bdba702df20074f6bec99bdb73ee146b8
* | | | | | | Merge "Update read/write profile permission descriptions."Dave Santoro2011-08-111-8/+9
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Update read/write profile permission descriptions.Dave Santoro2011-08-111-8/+9
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These changes are to match the recommendations of our tech writers and to clarify what the permission data involves. Bug 5098217 Change-Id: I05fa5e517980a7d24836e15bb96d12cfe35228a3
* | | | | | Merge "More fun with action bars and themes!"Adam Powell2011-08-117-11/+23
|\ \ \ \ \ \
| * | | | | | More fun with action bars and themes!Adam Powell2011-08-117-11/+23
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug 5144738 - Allow user to define pressed state asset for action bar. Added android:actionBarItemBackground theme attribute. This allows themes to define item pressed states for the action bar independent of the standard selectableItemBackground. Fix bug 5145416 - Custom view in action bar should use themed context when inflating resource ID. Also applies to tab custom views. Fix bug 5135550 - Tab divider height / Color should match spec. Added actionBarDivider theme attribute. Similar to actionBarItemBackground above, this allows apps to maintain proper contrast when the bar has a different contrast profile than the rest of the activity. Fix bug 5154778 - Theme.Holo.Light.DarkActionBar in themes.xml and search_bar.xml are still referencing the deprecated title_bar_shadow when we should be pointing to ab_solid_shadow_holo Change-Id: I5ef0084de28a7c2d2fa02ae1752884feab0f8523
* | | | | | Merge "Added support for colored / thick underlined text."Gilles Debunne2011-08-112-8/+55
|\ \ \ \ \ \
| * | | | | | Added support for colored / thick underlined text.Gilles Debunne2011-08-112-8/+55
| |/ / / / / | | | | | | | | | | | | | | | | | | Change-Id: Ib0e259dd20546855899bf091f694e41e7051fecb
* | | | | | Merge "Updated scrubber_control assets, adding pressed state Bug: 5076695"Justin Ho2011-08-1110-0/+1
|\ \ \ \ \ \
| * | | | | | Updated scrubber_control assets, adding pressed stateJustin Ho2011-08-1110-0/+1
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5076695 Change-Id: Ie34b1ccb2c0e9d1ba7c6c5af64719f87cb270edd
* | | | | | Merge "Updated progressbar_indeterminate and scrollbar_handle Bug: 5076695"Justin Ho2011-08-1132-0/+0
|\ \ \ \ \ \
| * | | | | | Updated progressbar_indeterminate and scrollbar_handleJustin Ho2011-08-1132-0/+0
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5076695 Change-Id: I00aa88ff0c7927bb416ef88c35cd7cb39105e520
* | | | | | Merge "Updated textfields Bug: 5076695"Justin Ho2011-08-1154-0/+0
|\ \ \ \ \ \
| * | | | | | Updated textfieldsJustin Ho2011-08-1154-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5076695 Change-Id: I0943e34e978aeebc4d1194a9bff8bfb4bd7543c4
* | | | | | | Merge "Better errors from copyResource"Kenny Root2011-08-111-1/+1
|\ \ \ \ \ \ \
| * | | | | | | Better errors from copyResourceKenny Root2011-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Copy resource would fail without a good error code when the file couldn't be found during copy. Also destroy the target container ID during move operations since it might exist. If the copy failed due to it existing, it would get destroyed anyway. This way the user has a chance to have a good outcome the first time. Bug: 3375299 Bug: 5113898 Change-Id: I00559833f0801bc50e7cc031b462495e37a6b4ab
* | | | | | | | Merge "Added FETCH_VOICEMAIL intent definition in VoicemailContract."Debashish Chatterjee2011-08-111-0/+12
|\ \ \ \ \ \ \ \
| * | | | | | | | Added FETCH_VOICEMAIL intent definition in VoicemailContract.Debashish Chatterjee2011-08-111-0/+12
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Content provider does not directly use this intent. But it is fired by the contacts app to request the voicemail source to fetch voicemail audio of a single voicemail message. The constant needs to live in the contracts file to serve as a common definition between contacts and voicemail source apps. Bug: 5114261 Change-Id: Ibf7b2a4c871d3561d2ca50d03f8182352fadd3ab
* | | | | | | | Merge "Fix behavior of custom animations for LayoutTransition."Chet Haase2011-08-111-2/+10
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / |/| | | | | | |