55804 Commits

Author SHA1 Message Date
Isaac Levy
d2fe04b71a Rewrote DnsPinger - now is async and concurrant
Change-Id: I93e1374ae857832935202614e34ce18f040fcfc7
2011-08-04 10:35:29 -07:00
Debashish Chatterjee
3f76ca47e2 Merge "Step1 of renaming READ_WRITE_OWN_VOICEMAIL to ADD_VOICEMAILS." 2011-08-03 06:06:30 -07:00
Debashish Chatterjee
766839cb6f Step1 of renaming READ_WRITE_OWN_VOICEMAIL to ADD_VOICEMAILS.
READ_WRITE_OWN_VOICEMAIL sounds a confusing name. Dianne recommened to
rename it to ADD_VOICEMAILS as this simply allows 3rd party apps to add
new voicemails to the system. The fact that we allow the app to acces
only its own voicemail is implicit and need not be highlighted in the
permission name. See bug: 5098551 for more details

This CL implements the 1st step of this change by adding the permission
ADD_VOICEMAILS. A follow up CL will remove READ_WRITE_OWN_VOICEMAIL once
content provider and contacts app have been modified to start using the
new ADD_VOICEMAILS permission instead.

Bug: 5098551
Change-Id: I515e7967bdb0e8498a60a32983f9122ce10dcc4a
2011-08-03 10:48:58 +01:00
satok
c660091696 Rename API name "RESULT_ATTR_LOOKS_TYPO"
Change-Id: I42ab73513de20ea9a39af734b358094269ca7fe4
2011-08-03 18:46:18 +09:00
Dianne Hackborn
f4461fc5a6 Merge "Reduce memory usage of status bar expanded view." 2011-08-02 22:48:16 -07:00
Dianne Hackborn
1dacf2772d Reduce memory usage of status bar expanded view.
It was configuring this to have its width follow the display size
but height be a fixed amount.  As a result, during a rotation we
would end up with a surface that is 800x712, which uses a lot more
memory.

The fix is to just always set the window to a fixed size, changing
it when the display size changes.

Also the expanded view was setting itself to use a hardware layer
for no reason -- it is a top view so there is no point in this,
and anyway it is doesn't even use hw rendering.  This saves 1.5MB
of the layer bitmap.

This change also fixes the returned problem where the expanded
view would flicker when pulling it down in landscape.

Change-Id: If57420b0bc3fdc2706d2d3b36cb2d287b5fc9e27
2011-08-02 22:37:42 -07:00
Sarthak Aggarwal
51812ec020 Removing hack for framerate setting in Stagefright for encoders.
Ducati binary starting to support frame-rate on i/p port rather than o/p port,
stagefright can start giving frame-rate frame rate on i/p port and 0 on o/p
port.

Change-Id: I70830747e43e6bfcac73f0fb01de0ab0235a7b28
Signed-Off-By: Sarthak Aggarwal<sarthak@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-08-02 19:01:07 -07:00
Adam Powell
85de77a1c7 Merge "Fix bug 5098288 - Rethink the suite of new themes" 2011-08-02 18:44:50 -07:00
Mathias Agopian
9a3cf8c634 Merge "fix a crasher in surfaceflinger" 2011-08-02 18:31:08 -07:00
Mathias Agopian
b17ee7fe4c fix a crasher in surfaceflinger
this would happen if being told to draw before a buffer
was available.

Change-Id: I46d121c73e883078cdbf952063e38b0076f79038
2011-08-02 18:29:57 -07:00
Adam Powell
269248d112 Fix bug 5098288 - Rethink the suite of new themes
Cut down the list of new themes for ICS. Holo apps now have
Theme.Holo, Theme.Holo.Light, and Theme.Holo.Light.DarkActionBar to
choose from.

Add manifest attribute android:uiOptions to express
splitActionBarWhenNarrow. Other options may move into this later as
well. (DialogWhenLarge?) This attribute is valid on both activity and
application tags; application settings will serve as the default for
activities that do not explicitly set uiOptions.

uiOptions are not currently reflected in the startup window for new
activities.

Change-Id: Iffdc2ce4cc69f79c9bd4e541b7923286e6936c1e
2011-08-02 17:58:24 -07:00
Romain Guy
7006064a28 Merge "Paint style and stroke width affect text rendering. Bug #5112207" 2011-08-02 17:34:06 -07:00
Romain Guy
bd496bc3d4 Paint style and stroke width affect text rendering.
Bug #5112207

Change-Id: Ic34037ace21a5058ba23dd15e51aae58c998454d
2011-08-02 17:32:41 -07:00
Robert Greenwalt
baef393241 Merge "Reduce ConnectivityService logging" 2011-08-02 17:32:05 -07:00
Robert Greenwalt
58d4c59581 Reduce ConnectivityService logging
bug:5106520
Change-Id: I4a7a5cac51c09e9e2275b30b7b2c053f94b9088d
2011-08-02 17:18:41 -07:00
Mathias Agopian
9ebf4ebbb9 Merge "fix an issue where the screen could be stale after a surface size change" 2011-08-02 17:09:34 -07:00
Mathias Agopian
d0ec2401e9 Merge "update HWC data structures even when a layer is marked for SKIP" 2011-08-02 17:09:18 -07:00
Mathias Agopian
9a4eacfeb4 Merge "Add a h/w composer API to allow the HAL to trigger a redraw" 2011-08-02 17:07:53 -07:00
Kenny Root
f5348d8211 Merge "Parent's canonical path; not parent of canonical" 2011-08-02 17:05:06 -07:00
Romain Guy
04ee7956ea Merge "Add the ability to enable/disable marquee fading per device" 2011-08-02 17:03:22 -07:00
Dianne Hackborn
5857bceaea Merge "Clear the bitmap from the canvas in a lot of places." 2011-08-02 16:57:50 -07:00
Dianne Hackborn
6311d0a079 Clear the bitmap from the canvas in a lot of places.
Change-Id: I6b2071ac7b348c473b9bdd1b972d095aebbb4fb3
2011-08-02 16:37:58 -07:00
Romain Guy
6805545649 Add the ability to enable/disable marquee fading per device
Change-Id: I4211553455e87f0af598a2fac1d4f65f15c294fc
2011-08-02 16:33:02 -07:00
Philip Milne
e10bcdb37c Merge "Fix for http://b/issue?id=5081478" 2011-08-02 16:22:26 -07:00
Philip Milne
899d592287 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
2011-08-02 16:01:28 -07:00
Mathias Agopian
0fb1a9458c update HWC data structures even when a layer is marked for SKIP
Change-Id: I16bcf44cd617814a14a795429bde2f39f411077d
2011-08-02 15:51:37 -07:00
Kenny Root
5832ead89a Parent's canonical path; not parent of canonical
When moving from SD card to internal, the PackageManager should check if
the native library directory parent's canonical path matches the
canonical data directory.

However, it was checking the canonical native library directory's
parent matches the data directory which makes tests concerning moving
from SD card to internal storage fail.

Change-Id: I16420efbb6f52fd6877a8f62ad060f8a1b8b0033
2011-08-02 15:49:39 -07:00
Robert Greenwalt
666742c7cf Merge "Stop creating threads for each MDST." 2011-08-02 15:47:50 -07:00
Matthew Xie
4376b7f2d7 Merge "Move mBluetoothService.runBluetooth after broadcasting the STATE_ON intent." 2011-08-02 15:44:28 -07:00
Mike Lockwood
8a32c6333a Merge "USB: Fix NPE that occurred when restoring default function in UsbManager.setEnabledFunctions" 2011-08-02 15:31:34 -07:00
Eric Fischer
147200b2c4 Merge "Import revised translations." 2011-08-02 15:24:05 -07:00
Matthew Xie
8594394aad 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
2011-08-02 15:22:09 -07:00
Mike Lockwood
8b4d36e866 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>
2011-08-02 18:18:09 -04:00
repo sync
7374d9728b Merge "Fix networktype on per process DNS setting" 2011-08-02 14:48:43 -07:00
repo sync
8935696a19 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
2011-08-02 13:40:58 -07:00
Jeff Hamilton
c8909501b1 Merge "Remove the binder interface for LLCP." 2011-08-02 13:33:02 -07:00
Conley Owens
53ad2c7fe2 am 0793586b: am f8c1f129: am e1d27154: am f87743e7: Merge "Prevent NullPointerException cases while using SipService."
* commit '0793586bf8f4dce71d0b4d7ff2f212129b3f76fe':
  Prevent NullPointerException cases while using SipService.
2011-08-02 13:32:26 -07:00
Conley Owens
0793586bf8 am f8c1f129: am e1d27154: am f87743e7: Merge "Prevent NullPointerException cases while using SipService."
* commit 'f8c1f1298ac3ede518c8d29eeb6719746c6afaf0':
  Prevent NullPointerException cases while using SipService.
2011-08-02 13:30:51 -07:00
Jeff Hamilton
c3afd39c67 Remove the binder interface for LLCP.
Change-Id: Idc9631cdbcac1435e285c656948a37315e32515d
2011-08-02 15:30:26 -05:00
Conley Owens
f8c1f1298a am e1d27154: am f87743e7: Merge "Prevent NullPointerException cases while using SipService."
* commit 'e1d271546767a8e2213aabba92506af9e97020b4':
  Prevent NullPointerException cases while using SipService.
2011-08-02 13:24:00 -07:00
Conley Owens
e1d2715467 am f87743e7: Merge "Prevent NullPointerException cases while using SipService."
* commit 'f87743e7bdfd10b9a1719036a6320a32df078879':
  Prevent NullPointerException cases while using SipService.
2011-08-02 13:21:12 -07:00
Romain Guy
6dd7431710 Merge "Properly cancel pending buffers on window size change" 2011-08-02 13:18:51 -07:00
Conley Owens
f87743e7bd Merge "Prevent NullPointerException cases while using SipService." 2011-08-02 13:08:14 -07:00
Romain Guy
cf15efba07 Properly cancel pending buffers on window size change
Change-Id: Id6108ce61a971673f3ebc8270e9dd00849c91ae5
2011-08-02 12:59:32 -07:00
Robert Greenwalt
5a8921fdda Stop creating threads for each MDST.
Response to email from the framework team.

Change-Id: I8fec9cfbc3364c2c2a16156afc2414d06c675de7
2011-08-02 12:55:48 -07:00
Romain Guy
ff7fffab23 Merge "Copy constructors should actually copy stuff. Bug #5027094" 2011-08-02 12:38:42 -07:00
Romain Guy
b1216dd916 Copy constructors should actually copy stuff.
Bug #5027094

Change-Id: Iab6bf652e0b9bdd1bbc794e7c4218f46bafdd1a4
2011-08-02 12:37:16 -07:00
Christopher Tate
94761d396d Merge "Reduce backup manager logspew" 2011-08-02 12:18:40 -07:00
Amith Yamasani
b0a20e47dd Merge "Volume panel changes." 2011-08-02 11:51:57 -07:00
Xavier Ducrohet
efe8e3460a Merge "Layoutlib: simple comment fix." 2011-08-02 11:48:23 -07:00