OSDN Git Service

android-x86/frameworks-base.git
13 years agoAudioFlinger: protect input/output stream access
Eric Laurent [Sun, 7 Aug 2011 23:32:26 +0000 (16:32 -0700)]
AudioFlinger: protect input/output stream access

Some methods would not check that the output orinput stream of a thread
was still valid before calling functions on its interface.
This could cause a crash if those methods where called while the output or
input was being closed by another thread.

Make sure that the output or input stream pointer is cleared before closing the
stream.
Always check that the output or input pointer is not null before calling
functions at the stream interface.
Generalize the use of initCheck() method to verify that the output or input
stream is not null.

Change-Id: I9d9ca6b744d011bcf3a7bbacb4a581ac1477bfa5

13 years agoMerge "Fix for http://b/issue?id=5081478"
Philip Milne [Tue, 2 Aug 2011 23:22:26 +0000 (16:22 -0700)]
Merge "Fix for http://b/issue?id=5081478"

13 years agoFix for http://b/issue?id=5081478
Philip Milne [Thu, 21 Jul 2011 18:39:37 +0000 (11:39 -0700)]
Fix for http://b/issue?id=5081478

GridLayout needs to call measure on children after it knows how large children should be

Also:

. Remove deprecated methods and XML attributes.
. Stop Spaces having margins by default.
. Remove getSpacers() and findUsed()
. Change default for row/columnOrderPreserved() from false to true.
. Improve automatic index allocation mechanism to use individual maxima.

Change-Id: Id79fbb2e70a0bf2002191ec2a9746547d896de72

13 years agoMerge "Stop creating threads for each MDST."
Robert Greenwalt [Tue, 2 Aug 2011 22:47:50 +0000 (15:47 -0700)]
Merge "Stop creating threads for each MDST."

13 years agoMerge "Move mBluetoothService.runBluetooth after broadcasting the STATE_ON intent."
Matthew Xie [Tue, 2 Aug 2011 22:44:28 +0000 (15:44 -0700)]
Merge "Move mBluetoothService.runBluetooth after broadcasting the STATE_ON intent."

13 years agoMerge "USB: Fix NPE that occurred when restoring default function in UsbManager.setEn...
Mike Lockwood [Tue, 2 Aug 2011 22:31:34 +0000 (15:31 -0700)]
Merge "USB: Fix NPE that occurred when restoring default function in UsbManager.setEnabledFunctions"

13 years agoMerge "Import revised translations."
Eric Fischer [Tue, 2 Aug 2011 22:24:05 +0000 (15:24 -0700)]
Merge "Import revised translations."

13 years agoMove mBluetoothService.runBluetooth after broadcasting the STATE_ON intent.
Matthew Xie [Sat, 30 Jul 2011 01:57:58 +0000 (18:57 -0700)]
Move mBluetoothService.runBluetooth after broadcasting the STATE_ON intent.

This is because broadcastState method move the Bluetooth adapter state
to ON. The mBluetoothService.runBluetooth should be called only in the ON state.
Remove mIsDiscovering variable in BluetoothService.
Fix a bug in BluetoothA2dpService that caused 2 times of state change
from DISCONNECTED to CONNECTING that messed up BluetoothService's
connection state count.
Change-Id: Ifb782a845ae70f007d2e036d930bb55f445d68b5

13 years agoUSB: Fix NPE that occurred when restoring default function in UsbManager.setEnabledFu...
Mike Lockwood [Tue, 2 Aug 2011 22:16:26 +0000 (18:16 -0400)]
USB: Fix NPE that occurred when restoring default function in UsbManager.setEnabledFunctions

Bug: 5110020

Change-Id: I5e4b5c27e4675fa6830823832ae51411dc448191
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMerge "Fix networktype on per process DNS setting"
repo sync [Tue, 2 Aug 2011 21:48:43 +0000 (14:48 -0700)]
Merge "Fix networktype on per process DNS setting"

13 years agoFix networktype on per process DNS setting
repo sync [Tue, 2 Aug 2011 20:39:06 +0000 (13:39 -0700)]
Fix networktype on per process DNS setting

This potentially has no impact on mobile due to DNS settings being the same. Seperate this change out of the p2p change

Change-Id: I70fff9b1e13015956793b19732785037adb0af24

13 years agoMerge "Remove the binder interface for LLCP."
Jeff Hamilton [Tue, 2 Aug 2011 20:33:02 +0000 (13:33 -0700)]
Merge "Remove the binder interface for LLCP."

13 years agoam 0793586b: am f8c1f129: am e1d27154: am f87743e7: Merge "Prevent NullPointerExcepti...
Conley Owens [Tue, 2 Aug 2011 20:32:26 +0000 (13:32 -0700)]
am 0793586b: am f8c1f129: am e1d27154: am f87743e7: Merge "Prevent NullPointerException cases while using SipService."

* commit '0793586bf8f4dce71d0b4d7ff2f212129b3f76fe':
  Prevent NullPointerException cases while using SipService.

13 years agoam f8c1f129: am e1d27154: am f87743e7: Merge "Prevent NullPointerException cases...
Conley Owens [Tue, 2 Aug 2011 20:30:51 +0000 (13:30 -0700)]
am f8c1f129: am e1d27154: am f87743e7: Merge "Prevent NullPointerException cases while using SipService."

* commit 'f8c1f1298ac3ede518c8d29eeb6719746c6afaf0':
  Prevent NullPointerException cases while using SipService.

13 years agoRemove the binder interface for LLCP.
Jeff Hamilton [Thu, 30 Jun 2011 03:02:42 +0000 (22:02 -0500)]
Remove the binder interface for LLCP.

Change-Id: Idc9631cdbcac1435e285c656948a37315e32515d

13 years agoam e1d27154: am f87743e7: Merge "Prevent NullPointerException cases while using SipSe...
Conley Owens [Tue, 2 Aug 2011 20:24:00 +0000 (13:24 -0700)]
am e1d27154: am f87743e7: Merge "Prevent NullPointerException cases while using SipService."

* commit 'e1d271546767a8e2213aabba92506af9e97020b4':
  Prevent NullPointerException cases while using SipService.

13 years agoam f87743e7: Merge "Prevent NullPointerException cases while using SipService."
Conley Owens [Tue, 2 Aug 2011 20:21:12 +0000 (13:21 -0700)]
am f87743e7: Merge "Prevent NullPointerException cases while using SipService."

* commit 'f87743e7bdfd10b9a1719036a6320a32df078879':
  Prevent NullPointerException cases while using SipService.

13 years agoMerge "Properly cancel pending buffers on window size change"
Romain Guy [Tue, 2 Aug 2011 20:18:51 +0000 (13:18 -0700)]
Merge "Properly cancel pending buffers on window size change"

13 years agoMerge "Prevent NullPointerException cases while using SipService."
Conley Owens [Tue, 2 Aug 2011 20:08:14 +0000 (13:08 -0700)]
Merge "Prevent NullPointerException cases while using SipService."

13 years agoProperly cancel pending buffers on window size change
Romain Guy [Tue, 2 Aug 2011 19:59:32 +0000 (12:59 -0700)]
Properly cancel pending buffers on window size change

Change-Id: Id6108ce61a971673f3ebc8270e9dd00849c91ae5

13 years agoStop creating threads for each MDST.
Robert Greenwalt [Fri, 29 Jul 2011 23:33:16 +0000 (16:33 -0700)]
Stop creating threads for each MDST.

Response to email from the framework team.

Change-Id: I8fec9cfbc3364c2c2a16156afc2414d06c675de7

13 years agoMerge "Copy constructors should actually copy stuff. Bug #5027094"
Romain Guy [Tue, 2 Aug 2011 19:38:42 +0000 (12:38 -0700)]
Merge "Copy constructors should actually copy stuff. Bug #5027094"

13 years agoCopy constructors should actually copy stuff.
Romain Guy [Tue, 2 Aug 2011 19:37:16 +0000 (12:37 -0700)]
Copy constructors should actually copy stuff.
Bug #5027094

Change-Id: Iab6bf652e0b9bdd1bbc794e7c4218f46bafdd1a4

13 years agoMerge "Reduce backup manager logspew"
Christopher Tate [Tue, 2 Aug 2011 19:18:40 +0000 (12:18 -0700)]
Merge "Reduce backup manager logspew"

13 years agoMerge "Volume panel changes."
Amith Yamasani [Tue, 2 Aug 2011 18:51:57 +0000 (11:51 -0700)]
Merge "Volume panel changes."

13 years agoMerge "Layoutlib: simple comment fix."
Xavier Ducrohet [Tue, 2 Aug 2011 18:48:23 +0000 (11:48 -0700)]
Merge "Layoutlib: simple comment fix."

13 years agoMerge "Removed unused import from AnimatorSet."
Martijn Coenen [Tue, 2 Aug 2011 18:44:23 +0000 (11:44 -0700)]
Merge "Removed unused import from AnimatorSet."

13 years agoMerge "Prevent crash with NPE in HardwareRenderer Bug #5109839"
Romain Guy [Tue, 2 Aug 2011 18:33:57 +0000 (11:33 -0700)]
Merge "Prevent crash with NPE in HardwareRenderer Bug #5109839"

13 years agoRemoved unused import from AnimatorSet.
Martijn Coenen [Tue, 2 Aug 2011 17:44:00 +0000 (10:44 -0700)]
Removed unused import from AnimatorSet.

Change-Id: I7d5b3327290845d44cbe0abd48bf45c6f43bf677

13 years agoPrevent crash with NPE in HardwareRenderer
Romain Guy [Tue, 2 Aug 2011 18:32:49 +0000 (11:32 -0700)]
Prevent crash with NPE in HardwareRenderer
Bug #5109839

Change-Id: I402fc70ff4b25d273cf3150759d6f2d4d971975d

13 years agoMerge "Fix tethering using BT."
Jaikumar Ganesh [Tue, 2 Aug 2011 18:25:13 +0000 (11:25 -0700)]
Merge "Fix tethering using BT."

13 years agoImport revised translations.
Eric Fischer [Tue, 2 Aug 2011 18:06:38 +0000 (11:06 -0700)]
Import revised translations.

Change-Id: If420bd92ac6f84a7ecfa57b48477815ac392cb3f

13 years agoMerge "Bug 4280211: permission green checkboxes removed"
Gilles Debunne [Tue, 2 Aug 2011 17:58:42 +0000 (10:58 -0700)]
Merge "Bug 4280211: permission green checkboxes removed"

13 years agoLayoutlib: simple comment fix.
Xavier Ducrohet [Tue, 2 Aug 2011 17:44:53 +0000 (10:44 -0700)]
Layoutlib: simple comment fix.

Change-Id: I402f6b465706e8edd14e512a973d087a14abbfe3

13 years agoMerge "Add OpenableColumns to the Voicemail table."
Hugo Hudson [Tue, 2 Aug 2011 17:55:13 +0000 (10:55 -0700)]
Merge "Add OpenableColumns to the Voicemail table."

13 years agoMerge "Misc layoutlib fix in preparation of the access change in framework code."
Xavier Ducrohet [Tue, 2 Aug 2011 17:43:45 +0000 (10:43 -0700)]
Merge "Misc layoutlib fix in preparation of the access change in framework code."

13 years agoMerge "Reverting until we can find a better way to address this issue without affecti...
Derek Sollenberger [Tue, 2 Aug 2011 17:39:43 +0000 (10:39 -0700)]
Merge "Reverting until we can find a better way to address this issue without affecting nine-patches with large stretchable areas."

13 years agoMerge "Fix ConcurrentModificationException in AnimatorSet."
Martijn Coenen [Tue, 2 Aug 2011 17:39:34 +0000 (10:39 -0700)]
Merge "Fix ConcurrentModificationException in AnimatorSet."

13 years agoMerge "Start thread pool for binder calls"
James Dong [Tue, 2 Aug 2011 17:36:44 +0000 (10:36 -0700)]
Merge "Start thread pool for binder calls"

13 years agoFix tethering using BT.
Jaikumar Ganesh [Tue, 2 Aug 2011 02:11:18 +0000 (19:11 -0700)]
Fix tethering using BT.

1. Since Input device runs in Bluetooth Service, avoid the proxy call.
2. Accept or reject incoming tethering connections.

This broke because of incoming connection request change for phonebook, HID,
A2DP.
Change-Id: Ia8c537bb79e4dbc66cfb6b23dcad4f99dbf950b3

13 years agoMerge "Restore deleted string still referenced from a layout."
Eric Fischer [Tue, 2 Aug 2011 17:29:11 +0000 (10:29 -0700)]
Merge "Restore deleted string still referenced from a layout."

13 years agoMerge "UsbManager: add getDefaultFunction()"
Mike Lockwood [Tue, 2 Aug 2011 17:01:53 +0000 (10:01 -0700)]
Merge "UsbManager: add getDefaultFunction()"

13 years agoMerge "Re-calculate mCurrentTimeUs for MP3 CBR seek because we might have called...
Gloria Wang [Tue, 2 Aug 2011 16:56:51 +0000 (09:56 -0700)]
Merge "Re-calculate mCurrentTimeUs for MP3 CBR seek because we might have called Resync() which changes mCurrentPos. For bug 4869063."

13 years agoUsbManager: add getDefaultFunction()
Mike Lockwood [Tue, 2 Aug 2011 16:54:49 +0000 (12:54 -0400)]
UsbManager: add getDefaultFunction()

Bug: 5108883

Change-Id: I211f1ee39987da4a5456d86b49b954c564fa3bf4
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMerge "Fix ordering assumption of argument evaluation."
Gloria Wang [Tue, 2 Aug 2011 16:22:05 +0000 (09:22 -0700)]
Merge "Fix ordering assumption of argument evaluation."

13 years agoMerge "Fix ordering assumption of argument evaluation."
Gloria Wang [Tue, 2 Aug 2011 16:21:53 +0000 (09:21 -0700)]
Merge "Fix ordering assumption of argument evaluation."

13 years agoMerge "Replace the hard coded video recording properties with media profile."
Yu Shan Emily Lau [Tue, 2 Aug 2011 15:39:01 +0000 (08:39 -0700)]
Merge "Replace the hard coded video recording properties with media profile."

13 years agoMerge "Updated btn_default and btn_toggle assets Bug: 5076695"
Justin Ho [Tue, 2 Aug 2011 14:27:38 +0000 (07:27 -0700)]
Merge "Updated btn_default and btn_toggle assets Bug: 5076695"

13 years agoMerge "Updated scrollbars and fast scroller assets. Bug: 5076695"
Justin Ho [Tue, 2 Aug 2011 14:27:22 +0000 (07:27 -0700)]
Merge "Updated scrollbars and fast scroller assets. Bug: 5076695"

13 years agoMerge "Updated progress bar and scrubbers, adding xhdpi Bug: 5076695"
Justin Ho [Tue, 2 Aug 2011 14:27:12 +0000 (07:27 -0700)]
Merge "Updated progress bar and scrubbers, adding xhdpi Bug: 5076695"

13 years agoMerge "Updated spinners Bug: 5076695"
Justin Ho [Tue, 2 Aug 2011 14:27:03 +0000 (07:27 -0700)]
Merge "Updated spinners Bug: 5076695"

13 years agoReverting until we can find a better way to address this issue without affecting...
Derek Sollenberger [Tue, 2 Aug 2011 12:17:49 +0000 (05:17 -0700)]
Reverting until we can find a better way to address this issue without affecting nine-patches with large stretchable areas.

Revert "Fix NinePatch decoder when the target is smaller than the source."

This reverts commit c4c458c678567b899aae04631570460c5e729512

13 years agoMerge "Refresh tablet notification drawer."
Daniel Sandler [Tue, 2 Aug 2011 11:39:46 +0000 (04:39 -0700)]
Merge "Refresh tablet notification drawer."

13 years agoMerge "Merging ongoing + latest notifications on phone UI to match tablets."
Daniel Sandler [Tue, 2 Aug 2011 11:39:35 +0000 (04:39 -0700)]
Merge "Merging ongoing + latest notifications on phone UI to match tablets."

13 years agoPass camera frame metadata from camera service to Java.
Wu-cheng Li [Fri, 29 Jul 2011 21:00:37 +0000 (05:00 +0800)]
Pass camera frame metadata from camera service to Java.

bug:4460717
Change-Id: I2fae6e1dfca6b8f3a5ee5716fc7817f5417bf657

13 years agoMerge "Add camera recording hint parameter."
Wu-cheng Li [Tue, 2 Aug 2011 07:16:28 +0000 (00:16 -0700)]
Merge "Add camera recording hint parameter."

13 years agoMerge "Move SpellCheckerSession"
satok [Tue, 2 Aug 2011 07:11:06 +0000 (00:11 -0700)]
Merge "Move SpellCheckerSession"

13 years agoMove SpellCheckerSession
satok [Tue, 2 Aug 2011 06:24:00 +0000 (15:24 +0900)]
Move SpellCheckerSession

SpellCheckerSession should be in android.view.textservice because this class will be used directly by users.

Change-Id: I0df6d7958adda421312b5f641ac4459ca4739cc9

13 years agoReplace the hard coded video recording
Yu Shan Emily Lau [Tue, 2 Aug 2011 06:52:47 +0000 (23:52 -0700)]
Replace the hard coded video recording
properties with media profile.

Change-Id: I431838839f52431e68183eebe7ebce382a44bdb7

13 years agoAdd camera recording hint parameter.
Wu-cheng Li [Tue, 2 Aug 2011 05:20:36 +0000 (13:20 +0800)]
Add camera recording hint parameter.

The API is still hidden.

bug:4266229
Change-Id: I5e4c24e9e2808582aecb55ac4f1d5be3ed7e36a2

13 years agoMerge "Finish the refactor work of bccPrepareExecutable"
Shih-wei Liao [Tue, 2 Aug 2011 06:26:39 +0000 (23:26 -0700)]
Merge "Finish the refactor work of bccPrepareExecutable"

13 years agoRefresh tablet notification drawer.
Daniel Sandler [Mon, 1 Aug 2011 20:47:53 +0000 (16:47 -0400)]
Refresh tablet notification drawer.

  * New "X" button appears in the system bar, allowing the
    user to clear all notifications. Only appears when the
    notifications list is showing and there are clearable
    items. (Note: the textual button on phones has also been
    replaced with an X.)

  * Updated panel background artwork and positioning.

  * Removed a bunch of old art.

Bug: 4970588
Bug: 4974043
Bug: 3509407 (regression)

Change-Id: Ibadb638cd18c4faa751cd1f311d73ceda65cb3ca

13 years agoChange SpellCheckerInfo IPC inputs to String
satok [Tue, 2 Aug 2011 03:24:44 +0000 (12:24 +0900)]
Change SpellCheckerInfo IPC inputs to String

Change-Id: I4c3f3c7aa7587e3f2582b43702108fa78f37ec54

13 years agoMerging ongoing + latest notifications on phone UI to match tablets.
Daniel Sandler [Fri, 29 Jul 2011 20:30:49 +0000 (16:30 -0400)]
Merging ongoing + latest notifications on phone UI to match tablets.

Change-Id: Ie8ee72137e9eeb6740f3d113d5331e8cba629ab2

13 years agoMerge "Add a method to set the current spell checker"
satok [Tue, 2 Aug 2011 02:49:37 +0000 (19:49 -0700)]
Merge "Add a method to set the current spell checker"

13 years agoAdd a method to set the current spell checker
satok [Mon, 1 Aug 2011 12:30:56 +0000 (21:30 +0900)]
Add a method to set the current spell checker

Change-Id: I0e1fbe99538c873eed3723fb419bbfa626dec509

13 years agoReduce backup manager logspew
Christopher Tate [Tue, 2 Aug 2011 02:20:14 +0000 (19:20 -0700)]
Reduce backup manager logspew

...with particular attention to boot-time logging.  In particular, the
following kinds of messages are now cut unless someone turns on the new
MORE_DEBUG flag in their local build:

08-01 11:25:32.203   155   223 V BackupManagerService: starting timeout: token=4f52ccd1 interval=30000
08-01 11:25:32.211   155   223 V BackupManagerService: opComplete: 4f52ccd1
08-01 11:25:32.211   155   223 V BackupManagerService: operation 4f52ccd1 complete: finalState=1
08-01 11:25:32.211   155   223 V PerformBackupThread: doBackup() success

and

01-01 00:00:19.710   148   162 V BackupManagerService: Adding 9 backup participants:
01-01 00:00:19.710   148   162 V BackupManagerService:     PackageInfo{41af0380 android} agent=com.android.server.SystemBackupAgent uid=1000 killAfterRestore=false
01-01 00:00:19.710   148   162 V BackupManagerService:     PackageInfo{41aa5068 com.android.browser} agent=com.android.browser.BrowserBackupAgent uid=10005 killAfterRestore=true
01-01 00:00:19.710   148   162 V BackupManagerService:     PackageInfo{4199ce28 com.android.nfc3} agent=com.android.nfc.NfcBackupAgent uid=1025 killAfterRestore=true
01-01 00:00:19.710   148   162 V BackupManagerService:     PackageInfo{41a6e170 com.android.providers.settings} agent=com.android.providers.settings.SettingsBackupAgent uid=1000 killAfterRestore=false
01-01 00:00:19.710   148   162 V BackupManagerService:     PackageInfo{4198ba90 com.android.providers.userdictionary} agent=com.android.providers.userdictionary.DictionaryBackupAgent uid=10000 killAfterRestore=false
01-01 00:00:19.710   148   162 V BackupManagerService:     PackageInfo{41a80190 com.android.vending} agent=com.android.vending.VendingBackupAgent uid=10042 killAfterRestore=false
01-01 00:00:19.710   148   162 V BackupManagerService:     PackageInfo{41ac2980 com.google.android.calendar} agent=com.android.calendar.CalendarBackupAgent uid=10007 killAfterRestore=true
01-01 00:00:19.710   148   162 V BackupManagerService:     PackageInfo{41b14fb8 com.google.android.gm} agent=com.google.android.gm.persistence.GmailBackupAgent uid=10020 killAfterRestore=true
01-01 00:00:19.710   148   162 V BackupManagerService:     PackageInfo{41af89b8 com.google.android.inputmethod.latin} agent=com.android.inputmethod.latin.BackupAgent uid=10028 killAfterRestore=false

and

01-01 00:00:20.000   148   162 D BackupManagerService: Now awaiting backup for 1 participants:
01-01 00:00:20.000   148   162 D BackupManagerService:     + BackupRequest{app=ApplicationInfo{41b15110 android}} agent=com.android.server.SystemBackupAgent
01-01 00:00:20.000   148   162 I BackupManagerService: New app com.android.browser never backed up; scheduling
01-01 00:00:20.015   148   162 D BackupManagerService: Now awaiting backup for 2 participants:
01-01 00:00:20.015   148   162 D BackupManagerService:     + BackupRequest{app=ApplicationInfo{41b15110 android}} agent=com.android.server.SystemBackupAgent
01-01 00:00:20.015   148   162 D BackupManagerService:     + BackupRequest{app=ApplicationInfo{41ae5cf8 com.android.browser}} agent=com.android.browser.BrowserBackupAgent
01-01 00:00:20.015   148   162 I BackupManagerService: New app com.android.nfc3 never backed up; scheduling
01-01 00:00:20.031   148   162 D BackupManagerService: Now awaiting backup for 3 participants:
01-01 00:00:20.031   148   162 D BackupManagerService:     + BackupRequest{app=ApplicationInfo{41b15110 android}} agent=com.android.server.SystemBackupAgent
01-01 00:00:20.031   148   162 D BackupManagerService:     + BackupRequest{app=ApplicationInfo{41ae5cf8 com.android.browser}} agent=com.android.browser.BrowserBackupAgent
01-01 00:00:20.031   148   162 D BackupManagerService:     + BackupRequest{app=ApplicationInfo{41a47d88 com.android.nfc3}} agent=com.android.nfc.NfcBackupAgent
... [N times]

and various other overly-chatty messages that aren't useful for the midrange
debugging needs of early testing.

Bug 5104300

Change-Id: I2b2afb5ba68059cb1f4cccc07f2833e43cd6fe94

13 years agoMerge "Move ImageWallpaper to SystemUI process."
Dianne Hackborn [Tue, 2 Aug 2011 01:59:58 +0000 (18:59 -0700)]
Merge "Move ImageWallpaper to SystemUI process."

13 years agoMerge "Reduce the amount of data cached by the gradients cache."
Romain Guy [Tue, 2 Aug 2011 01:57:43 +0000 (18:57 -0700)]
Merge "Reduce the amount of data cached by the gradients cache."

13 years agoReduce the amount of data cached by the gradients cache.
Romain Guy [Tue, 2 Aug 2011 01:56:21 +0000 (18:56 -0700)]
Reduce the amount of data cached by the gradients cache.

Change-Id: I8546f5a5ecf38031c9a40bdcc434d4c7f22da63d

13 years agoMerge "Fix bug 5105394 - Get rid of btn_default_small"
Adam Powell [Tue, 2 Aug 2011 01:31:40 +0000 (18:31 -0700)]
Merge "Fix bug 5105394 - Get rid of btn_default_small"

13 years agoBug 4280211: permission green checkboxes removed
Gilles Debunne [Tue, 2 Aug 2011 01:27:52 +0000 (18:27 -0700)]
Bug 4280211: permission green checkboxes removed

Change-Id: Ic1d1d6f90b2105cd634eb49c1aba2636c1d9e0b5

13 years agoStart thread pool for binder calls
James Dong [Tue, 2 Aug 2011 01:21:00 +0000 (18:21 -0700)]
Start thread pool for binder calls

Change-Id: Ie67f54ba06d7fdb42bcb041c1e0a50d8477ae423
related-to-bug: 5095635

13 years agoFix bug 5105394 - Get rid of btn_default_small
Adam Powell [Tue, 2 Aug 2011 01:15:48 +0000 (18:15 -0700)]
Fix bug 5105394 - Get rid of btn_default_small

Remove the small holo button resources and their preload entries.

Change-Id: I58a61e3f8d532b4d1887d39969dc81d5190d27ca

13 years agoMove ImageWallpaper to SystemUI process.
Dianne Hackborn [Mon, 1 Aug 2011 23:11:57 +0000 (16:11 -0700)]
Move ImageWallpaper to SystemUI process.

Nice to not load 4MB bitmaps in the system process.

Also, hey, with how we are now scrolling the surface instead of
the bitmap, there is no reason to keep that 4MB bitmap loaded in
to memory.  So don't.

Unfortunately it looks like for some reason the VM is still
holding on to the bitmap.  I'll need to figure out why.  Later.

Change-Id: Ib3503756144502fc5c8d5e294248c2417c4fe8c8

13 years agoMerge "Refactor input reader to add stylus support. Bug: 5064702"
Jeff Brown [Tue, 2 Aug 2011 00:48:21 +0000 (17:48 -0700)]
Merge "Refactor input reader to add stylus support. Bug: 5064702"

13 years agoMerge "Allow Canvas.setBitmap() to receive a null Bitmap."
Romain Guy [Tue, 2 Aug 2011 00:42:36 +0000 (17:42 -0700)]
Merge "Allow Canvas.setBitmap() to receive a null Bitmap."

13 years agoAllow Canvas.setBitmap() to receive a null Bitmap.
Romain Guy [Tue, 2 Aug 2011 00:39:21 +0000 (17:39 -0700)]
Allow Canvas.setBitmap() to receive a null Bitmap.

Change-Id: I6096f0b44866e532ccd96a29c816bf34d48c1dc2

13 years agoRestore deleted string still referenced from a layout.
Eric Fischer [Tue, 2 Aug 2011 00:22:34 +0000 (17:22 -0700)]
Restore deleted string still referenced from a layout.

Change-Id: I5285b44118d08f3f18d9a2dc4065c20b4a3a22c2

13 years agoMerge "Fix bug 5090996 - Crash on tapping Menu on dial pad"
Adam Powell [Tue, 2 Aug 2011 00:20:06 +0000 (17:20 -0700)]
Merge "Fix bug 5090996 - Crash on tapping Menu on dial pad"

13 years agoVolume panel changes.
Amith Yamasani [Fri, 22 Jul 2011 17:34:27 +0000 (10:34 -0700)]
Volume panel changes.

Combined volume panel only in tablets. On phones show active volume.
Added dummy assets for ring+notification icon.

Deprecated the NOTIFICATION_USES_RING_VOLUME. Now they are always
tied together. Audio manager changes still required to ensure that.

Initialize all feedback sounds to true.

Change-Id: I3ad7890c9be9334eedb5f3b709a4b6995fe24638

13 years agoMerge "connect/disconnect is now called from our EGL wrapper"
Mathias Agopian [Mon, 1 Aug 2011 23:36:02 +0000 (16:36 -0700)]
Merge "connect/disconnect is now called from our EGL wrapper"

13 years agoMerge "Add operation counts to network statistics."
Jeff Sharkey [Mon, 1 Aug 2011 23:33:50 +0000 (16:33 -0700)]
Merge "Add operation counts to network statistics."

13 years agoFix bug 5090996 - Crash on tapping Menu on dial pad
Adam Powell [Mon, 1 Aug 2011 20:42:50 +0000 (13:42 -0700)]
Fix bug 5090996 - Crash on tapping Menu on dial pad

Let the FragmentManager handle deferring menu invalidation when
not currently resumed.

Change-Id: I6e5de9c8ab5288c7c90a59ce8e0c7bb9133b6eb5

13 years agoMerge "Use high precision iterators on specific GPUs Bug #5098359"
Romain Guy [Mon, 1 Aug 2011 22:29:56 +0000 (15:29 -0700)]
Merge "Use high precision iterators on specific GPUs Bug #5098359"

13 years agoUse high precision iterators on specific GPUs
Romain Guy [Mon, 1 Aug 2011 22:28:16 +0000 (15:28 -0700)]
Use high precision iterators on specific GPUs
Bug #5098359

Change-Id: I52ee8c7b4c9e8d4c7bedb684eaf7bef6c44c74b9

13 years agoUpdated btn_default and btn_toggle assets
Justin Ho [Mon, 1 Aug 2011 22:19:32 +0000 (15:19 -0700)]
Updated btn_default and btn_toggle assets
Bug: 5076695

Change-Id: Ie50af9d9a972ad84a0674d0f35fda6289adbb9f8

13 years agoUpdated scrollbars and fast scroller assets.
Justin Ho [Mon, 1 Aug 2011 22:16:46 +0000 (15:16 -0700)]
Updated scrollbars and fast scroller assets.
Bug: 5076695

Change-Id: I4c013726e0cb1a5f692694cfc090e786a41a591d

13 years agoUpdated progress bar and scrubbers, adding xhdpi
Justin Ho [Mon, 1 Aug 2011 22:15:06 +0000 (15:15 -0700)]
Updated progress bar and scrubbers, adding xhdpi
Bug: 5076695

Change-Id: I6543ec9d24ac19cebd8a7a221ee8a3cac535ed69

13 years agoUpdated spinners
Justin Ho [Mon, 1 Aug 2011 22:13:24 +0000 (15:13 -0700)]
Updated spinners
Bug: 5076695

Change-Id: I69e94ca4c2333a24deb9015c90e24e067be3a84c

13 years agoMisc layoutlib fix in preparation of the access change in framework code.
Xavier Ducrohet [Sat, 30 Jul 2011 00:41:39 +0000 (17:41 -0700)]
Misc layoutlib fix in preparation of the access change in framework code.

Change-Id: I873adb7345514be6daa5c4fea4ebabb515f203e2

13 years agoMerge "Add functional test for screenshots."
Brett Chabot [Mon, 1 Aug 2011 22:07:01 +0000 (15:07 -0700)]
Merge "Add functional test for screenshots."

13 years agoam 8fb7bd4d: am 5bb3129c: (-s ours) am a2616220: am 5e57c2cf: Merge "Stagefright...
Jean-Baptiste Queru [Mon, 1 Aug 2011 21:12:43 +0000 (14:12 -0700)]
am 8fb7bd4d: am 5bb3129c: (-s ours) am a2616220: am 5e57c2cf: Merge "Stagefright: Return error if codec takes too long to return a buffer."

* commit '8fb7bd4d02cd4ad2111699778e64464d979f03bb':
  Stagefright: Return error if codec takes too long to return a buffer.

13 years agoam 5bb3129c: (-s ours) am a2616220: am 5e57c2cf: Merge "Stagefright: Return error...
Jean-Baptiste Queru [Mon, 1 Aug 2011 21:10:39 +0000 (14:10 -0700)]
am 5bb3129c: (-s ours) am a2616220: am 5e57c2cf: Merge "Stagefright: Return error if codec takes too long to return a buffer."

* commit '5bb3129c7eabce34d7c1469826e1795d4b225bb3':
  Stagefright: Return error if codec takes too long to return a buffer.

13 years agoMerge "Revert "Unhide APIs for user space VPN.""
Chia-chi Yeh [Mon, 1 Aug 2011 21:09:58 +0000 (14:09 -0700)]
Merge "Revert "Unhide APIs for user space VPN.""

13 years agoRevert "Unhide APIs for user space VPN."
Chia-chi Yeh [Mon, 1 Aug 2011 21:06:29 +0000 (14:06 -0700)]
Revert "Unhide APIs for user space VPN."

This reverts commit 3c2529c717cda3df321c1d0d6abe23ac1f298ac9.

Change-Id: I37d4ea6c1079d337ede7ac567d88414a41fc1e11

13 years agoconnect/disconnect is now called from our EGL wrapper
Mathias Agopian [Sat, 30 Jul 2011 00:55:48 +0000 (17:55 -0700)]
connect/disconnect is now called from our EGL wrapper

the original connect/disconnect hooks are deprecated
and replace by api_connect/api_disconnect. the original
hooks are no no-ops.
api_connect/api_disconnect is now only called from the
android framework.

Bug: 5057915
Change-Id: I8ca64cd1acd6cabf915bf54689ec2e5f6dfa495a

13 years agoMerge "Plug memory leak in EditText."
Romain Guy [Mon, 1 Aug 2011 21:02:54 +0000 (14:02 -0700)]
Merge "Plug memory leak in EditText."

13 years agoPlug memory leak in EditText.
Romain Guy [Mon, 1 Aug 2011 21:01:37 +0000 (14:01 -0700)]
Plug memory leak in EditText.

Change-Id: I0b42c23ceeaa958d02255945c35ff6807c177114

13 years agoFix ordering assumption of argument evaluation.
Gloria Wang [Mon, 1 Aug 2011 21:01:29 +0000 (14:01 -0700)]
Fix ordering assumption of argument evaluation.

No specific order is specified in the C++ standard, but the order of
the calls to Parcel read commands matters.  Move any calls with multiple
reads to local variables.

Fix for bug 5104979.

Change-Id: I709aa040e990d2659e7a3a089f7a42ae812de9ff