56046 Commits

Author SHA1 Message Date
Chia-chi Yeh
880f64ac10 Merge "VPN: introduce VpnService as the base class for user space VPN." 2011-08-08 11:33:57 -07:00
Mark Brophy
930740d1ef Merge "Store last-resume times in a separate XML file." 2011-08-08 11:30:19 -07:00
Alex Sakhartchouk
75e0254731 Merge "Fixing rs crash when no texture is bound." 2011-08-08 11:25:03 -07:00
Chia-chi Yeh
199ed6ef89 VPN: introduce VpnService as the base class for user space VPN.
Change-Id: I4793a6eb51b33f669fc6d39e1a16cf5eb9e3d851
2011-08-08 11:15:41 -07:00
Fabrice Di Meglio
2532672569 Merge "Fix bug #4584320 Single Line EditText not drawing correctly with spans applied (ICS)" 2011-08-08 10:58:13 -07:00
Romain Guy
4974bc1be6 Prevent crash when purging the gradients cache.
Bug #5133876

Change-Id: I3d1fa4e29498044796d725337ac93e6a1e8f0bcb
2011-08-08 10:55:55 -07:00
Justin Ho
1eb1f72ccd Merge "Updated tab assets, removing [un]selected_pressed_focused states Updated appropriate style Bug: 5076695" 2011-08-08 10:21:09 -07:00
Justin Ho
50859a6f5c Merge "Updated overscroll assets Bug: 5076695" 2011-08-08 10:16:42 -07:00
Adam Powell
3a02ff1300 Merge "Fix bug 5112702 - switches should have "ON" on the right" 2011-08-08 09:53:36 -07:00
Adam Powell
e112567b45 Merge "Fix bug 5116342 - don't keep fragment state around once resumed" 2011-08-08 09:53:23 -07:00
Eric Laurent
c993acbce6 Merge "AudioFlinger: protect input/output stream access" 2011-08-08 09:31:42 -07:00
Jean-Michel Trivi
6f9ff5368c Merge "Bug 5045498 API for client to notify remote control info changed" 2011-08-08 09:17:41 -07:00
Justin Ho
ac54d8ee0a Updated tab assets, removing [un]selected_pressed_focused states
Updated appropriate style
Bug: 5076695

Change-Id: I6b8102f0d176ac0ecc69878440ca9cd711e22904
2011-08-08 09:01:00 -07:00
Eric Laurent
828b9773cc 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
2011-08-08 08:55:29 -07:00
Mark Brophy
c63502720e Store last-resume times in a separate XML file.
In UsageStatsService, separate last-resume times from the rest of
the statistics, and serialize them to an XML file daily.

This way, ApplicationsProvider will still be able to acces this data,
even thoguh other statistics are flushed to disk and discarded each day.

Bug: 5108745
Change-Id: Id3df3c98243ba02cde16b31e5e29bd9ff3602108
2011-08-08 16:24:16 +01:00
Justin Ho
6a585c124c Updated overscroll assets
Bug: 5076695

Change-Id: Ia35deb3f384519a715d6f53689663bd284dc8cd8
2011-08-08 07:53:06 -07:00
Daniel Sandler
2dbf1b76b9 Merge "Don't show network type if no SIM." 2011-08-08 07:11:40 -07:00
Svetoslav Ganov
74b551aae5 Merge "Turning off accessibility feature reboots the device" 2011-08-08 06:50:19 -07:00
satok
03b2ea1102 Support xml configuration file for the spell checker and add the spell checker subtype
Change-Id: I74715855525fc0a1282238d593ad37aefd42bfc3
2011-08-08 19:29:26 +09:00
Dianne Hackborn
7d608423b7 Move OOM kernel settings to activity manager.
The activity manager now take care of plugging the correct settings
into the OOM killer in the kernel.  This is a lot cleaner because
it is really central to how the activity manager works, and nobody
else cares about them.

Taking advantage of this, the activity manager computes what it
thinks are appropriate OOM levels based on the RAM and display
size of the device.

Also a small optization to the package manager to keep a binding
to the package install helper for a bit after done using it, to
avoid thrashing on it.

And some new APIs that are now needed by Settings.

Change-Id: I2b2d379194445d8305bde331c19bde91c8f24751
2011-08-07 20:20:56 -07:00
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
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