56134 Commits

Author SHA1 Message Date
Adam Powell
ec1d60369f Fix bug 5112702 - switches should have "ON" on the right
Make Switches obey the Grand Unified Theory of Button Ordering.
This also matches their behavior with volume/brightness sliders.

Change-Id: I4e72801e81b10002542a05f61c99a57991f130ff
2011-08-07 18:03:39 -07:00
Jean-Michel Trivi
7b6198cacc Bug 5045498 API for client to notify remote control info changed
Update to API for a client to notify what type of information
 changed (e.g. playstate, metadata) to optimize small updates
 without the remote control display having to do expensive
 queries such as album art.

When the remote control display retrieves the flags about
 what information changed, the flag gets cleared.

Change-Id: I7d3d8d3eecd1da44695d84905ed9e7b70fe38b86
2011-08-07 17:44:47 -07:00
Adam Powell
9520251003 Fix bug 5116342 - don't keep fragment state around once resumed
Clear out saved fragment/view state when a fragment is resumed in case
we didn't need to restore it. This keeps it from hanging around and
preventing proper save/restore behavior later.

Change-Id: Ie3fce5534ee4f8fdb4116281f9ac6a9cfa392561
2011-08-07 17:20:17 -07:00
Adam Powell
8868f9797c Merge "Fix bug 5011824 - New Holo overflow menu for physical menu key devices" 2011-08-07 16:59:02 -07:00
Adam Powell
30a6e38762 Merge "Fix bug 5124712 - allow partial items when measuring height of list popups" 2011-08-07 16:41:39 -07:00
Adam Powell
a7845ed44a Fix bug 5124712 - allow partial items when measuring height of list popups
Change-Id: I59c9fc6d5dcd21679ba67d7c233ecd9d7e19d21c
2011-08-07 15:48:25 -07:00
Jim Miller
72aa694f3c Merge "Fix 5125978: remove lockscreen logspew" 2011-08-07 14:56:17 -07:00
Jim Miller
f3447351f7 Fix 5125978: remove lockscreen logspew
Change-Id: Iefa103e867e870dfe587271e0555404589d9e5b3
2011-08-07 14:32:00 -07:00
Jim Miller
510b7995ce Merge "Fix 5044158: Fix landscape PIN layout issue" 2011-08-07 14:21:16 -07:00
Adam Powell
dfee59afb3 Fix bug 5011824 - New Holo overflow menu for physical menu key devices
The new Holo-style overflow menu now appears from the edge of the screen
where the device's physical menu key can be found. The policy determining
this lives in getPreferredOptionsPanelGravity() in WindowManagerService.

Change-Id: I8851a2265547156591e82044e50b5cfc58d3eefa
2011-08-07 14:17:30 -07:00
Jean-Michel Trivi
5d49678841 Merge "Make retrieving remote control client go through binder interface" 2011-08-07 13:48:04 -07:00
Daniel Sandler
ffbf1756f6 Merge "Remove notifications when an app is disabled." 2011-08-07 13:37:59 -07:00
Daniel Sandler
1f1304a84e Don't show network type if no SIM.
Bug: 5127932
Change-Id: Ib29bfe3372b2c40618480691d65cc4c74d02f8fd
2011-08-07 16:36:39 -04:00
Daniel Sandler
aac0eb08bb Remove notifications when an app is disabled.
Bug: 4998840
Change-Id: Ic0c14105924d815aed78da1f5510c98a2fe1dd77
2011-08-06 22:51:56 -04:00
Fabrice Di Meglio
f2ce877c1d Fix bug #4584320 Single Line EditText not drawing correctly with spans applied (ICS)
- use correct 0 index for computing advance thru the char buffer (the buffer is created from TextUtils.getChars())
- udpate unit tests

Change-Id: Iaeb07658b79ecdf5e17395d55afb7c84965bb0fc
2011-08-05 20:54:54 -07:00
Isaac Levy
8dc6a1b282 Watchdog notify on explicit connect
Notifies when user explicitly clicks on wifi dialog.

Change-Id: I5eee37d68b422d748d41e9384d5006482a223dc5
2011-08-05 20:45:08 -07:00
Jim Miller
76803d55a5 Fix 5044158: Fix landscape PIN layout issue
This allows the PIN keyboard to settle to the bottom of the
view and the password textfield to fill the remaining space by
using the new rowOrderPreserved flag on GridLayout.

Change-Id: I8cf8cc383dfb1d6a2a7adbb78a8026fd54628ae0
2011-08-05 19:36:23 -07:00
Dianne Hackborn
9ea3163973 Fix issue #5108980 Wallpaper is not restored after upgrade from IRK32B to IRK33B
Take care of updating from old component name, and don't let this happen
again.

Also tweak how we switch between static wallpapers to avoid introducing
a 4MB allocation in the system UI process when this happens -- we now
stop the current wallpaper service and start a new one, so we get a
brand new surface that we can draw only one time in to.

Change-Id: I6fc8a42b8a46bba79759bd68fb7d0684b5d897b7
2011-08-05 19:22:25 -07:00
Dianne Hackborn
9c181ffbda Merge "Improved memory use reporting." 2011-08-05 18:18:52 -07:00
Dianne Hackborn
b437e090ec Improved memory use reporting.
Change-Id: I38e53e6228bba92a142bafeedb5af8df4e4e5724
2011-08-05 18:18:05 -07:00
James Dong
0a5825edf5 Do not release recording frames if camera is gone
Change-Id: Ia6038c1a3ca17207e43a955ec47c42cdff1f5a76
related-to-bug: 5129465
2011-08-05 17:19:29 -07:00
Gilles Debunne
cb2516bb66 The PASTE action is always displayed, even when starting a selection
Change-Id: I5269490f411de2bf6195956aead240a3908026e7
2011-08-05 17:02:54 -07:00
Eric Fischer
380dcb4d3f Import revised translations.
Change-Id: Id1dc8ed9e570a81fe25088df3bca5e206f04b1ad
2011-08-05 16:55:39 -07:00
Gilles Debunne
232cbab493 Handles' position are updated in case of external change.
A 'Select All' for instance will alter the selection and the handles
have to updated accordingly.

Change-Id: I8ac91c858e7944a7b4ce1b37a3d90609a3003d22
2011-08-05 16:54:45 -07:00
Mike Lockwood
2adf53c758 Merge "MediaScanner: Fix UnsupportedOperationException when scanning internal media" 2011-08-05 16:30:20 -07:00
John Wang
c0f660e3b7 Merge "Enable concurrent voice and data for LTE." 2011-08-05 16:29:27 -07:00
Mike Lockwood
43b076bb75 MediaScanner: Fix UnsupportedOperationException when scanning internal media
The media scanner was crashing while tring to insert genre data in the internal
media database, which does not support genres.
This resulted in some or all of the built in ringtones being unavailable

Bug: 5124718

Change-Id: Ib306348dd9808e59477b327b4adcb413957d8d24
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-05 19:20:44 -04:00
Fabrice Di Meglio
c77941fc94 Merge "Update BiDi unit tests" 2011-08-05 16:17:07 -07:00
Amith Yamasani
1a4a736457 Merge "SearchView asset changes." 2011-08-05 15:28:53 -07:00
Alex Sakhartchouk
bbc41c034b Fixing rs crash when no texture is bound.
Change-Id: I2c15106f50de995c63691f27e2c4d89dbffc758e
2011-08-05 15:27:25 -07:00
John Wang
cd62dfbc26 Enable concurrent voice and data for LTE.
bug:5017062
Change-Id: I2c701c74710ce0f718d28babea88fb93d3219564
2011-08-05 15:11:35 -07:00
Christopher Tate
d37dbc7c96 Merge "Fix bug where sometimes the full backup pw would not be validated" 2011-08-05 15:07:41 -07:00
Christopher Tate
580dc389db Merge "Handle rotation gracefully in the backup/restore confirmation UI" 2011-08-05 15:07:21 -07:00
Fabrice Di Meglio
fd0b623c33 Update BiDi unit tests
- update basic layout for having LTR and RTL TextView

Change-Id: Ic4cc6c27d431fe69bb62c55cd76a46ea6e241b4d
2011-08-05 15:04:12 -07:00
Neel Parekh
ced110ec59 Make retrieving remote control client go through binder interface
The way the old way worked relied on the process retrieving the
current remote control client to be in the exact same process as
the AudioService.  This removes that dependency.

Change-Id: I1ba8bf32b61ec1e979ef7eee9661ba801aa19690
2011-08-05 14:36:31 -07:00
Wink Saville
fb87cf606a Merge "resolved conflicts for merge of 7bb2d942 to master" 2011-08-05 13:55:39 -07:00
Stephen Hines
8f019d6305 Merge "Start using bcinfo components within librs." 2011-08-05 13:47:00 -07:00
Christopher Tate
3851fa9c8d Handle rotation gracefully in the backup/restore confirmation UI
We now don't automatically deny the operation if stopped, but instead
allow the activity to be destroyed and recreated as usual.  We retain
the observer instance across that sequence so we keep getting progress
reports etc.

The UI now also uses the spiffy new button bar styles, and positions
the deny / confirm buttons according to ICS standards.

Bug 5115411

Change-Id: Ie760a0c8496c69f9d5881273a63ad5b5b76ff554
2011-08-05 13:18:08 -07:00
Christopher Tate
eef4ae44b3 Fix bug where sometimes the full backup pw would not be validated
There was a hole where if no backup pw was supplied and the current
pw authentication field was also left blank, it wound up not verifying
and just proceeding with the backup.

Change-Id: I857d8e83cbb2b3bf6b6b04848c5696ef0cf393a1
2011-08-05 13:15:53 -07:00
Scott Main
e3373ff620 cherrypick Change-Id: Ic3cbbc99d698337f337dfe3b6746b1780c1d067d
docs: fix docs for faketouch (must set touchscreen required=false)
issue 5121972

Change-Id: Ieeeedd9e6929cf94cb6713d0690239d214531f57
2011-08-05 12:36:47 -07:00
Matthew Xie
c5708036b4 Implement switchConnectable with Powered property setting instead of scan modes
Bluez powered property setting is more apropriate for what this method intend to
achieve and it fixes a bug that incoming connection request wake up the stack in
HotOff state
bug 5080232

Change-Id: I1e29314041f082c1536b46f9707d17d463ae0fd7
2011-08-05 11:58:23 -07:00
Wink Saville
2b30afdbad resolved conflicts for merge of 7bb2d942 to master
Change-Id: I026b01805c81d8b26d22e4a195e5e38655a34d32
2011-08-05 11:40:22 -07:00
Jaikumar Ganesh
32a1e19aba Merge "Provide address and name in BT Hot off state." 2011-08-05 11:37:22 -07:00
Jaikumar Ganesh
a66590ed78 Provide address and name in BT Hot off state.
Clients need this before BT is turned on.
Todo: If BT "hot" feature is off, read from system properties.

Change-Id: I266c2d4731cacde7a53c65e3d5fb43a2cbe29481
2011-08-05 11:34:06 -07:00
Philip Milne
c218cacee0 Merge "Remove call to setPadding() in setUseDefaultMargins()." 2011-08-05 11:32:20 -07:00
Philip Milne
b559976a50 Remove call to setPadding() in setUseDefaultMargins().
It is not possible for teh user to override the assigned padding values
because the XML attributes are processed in the opposite order.

Also, make the XML and Java examples grid3.xml and Activity2.java
consistent in preparation for a move to API demos.

Change-Id: I47334f9f5a46a8a528067d88350dd70eaa38ff33
2011-08-05 11:24:55 -07:00
Jeff Sharkey
04cd0e47db Fix random stats generation for debugging.
Change-Id: I53f0e9ea9b15fbf7b99886ea8604eda8d3958d8d
2011-08-05 11:09:46 -07:00
Amith Yamasani
284585aa83 Merge "Don't change system sound defaults for upgrades." 2011-08-05 11:02:55 -07:00
Martijn Coenen
e29ea09328 Merge "Add Android app RTD type and convenience method." 2011-08-05 10:41:10 -07:00
Adam Powell
b83316f8c8 Merge "Fix bug 5111513 - Spinner asset updates for action bars" 2011-08-05 10:29:49 -07:00