61078 Commits

Author SHA1 Message Date
Irfan Sheriff
e6daca5f53 Avoid quick shutdown after a driver start
Causes problems on our wext driver and potentially on cfg
based driver as well.

NLP can trigger very quick acquire and release within seconds
leading to driver switching between start and stop state.

We now keep driver up for atleast couple of minutes after a start

Bug: 5478196
Change-Id: I1b261578252c5fb9a65446241b51e5686d4d9cc3
2011-11-03 15:48:43 -07:00
Mangesh Ghiware
69957172fa Merge "Update fix to restore view and text wrap scales." into ics-mr1 2011-11-03 15:35:23 -07:00
Dianne Hackborn
e0ad47465e Merge "Some optimizations for view inflation." into ics-mr1 2011-11-03 15:16:11 -07:00
Winson Chung
f01a58e271 Fixing screenshot border asset.
Change-Id: I004b09c380e8fabd5204c7d674e6270927f60389
2011-11-03 14:53:06 -07:00
Kenny Root
e24ac4b219 Merge "Update GET_UNINSTALLED_PACKAGES flag documentation" into ics-mr1 2011-11-03 14:47:07 -07:00
Scott Main
cbf1437c9d am 95142919: docs: dashboard update for 11/3
* commit '9514291901e3a1274e30c2e809ad38e22e7f662e':
  docs: dashboard update for 11/3
2011-11-03 21:06:29 +00:00
Scott Main
9514291901 docs: dashboard update for 11/3
Change-Id: I06428f0a6ae1d905058338bc9bbc584035af1a5f
2011-11-03 13:56:55 -07:00
Mangesh Ghiware
e59e301ca0 Update fix to restore view and text wrap scales.
Fixes bug 5544556: All email content is wrapped prematurely.

Previous change (I5a22dd20) didn't take a few other cases of
mViewScale>0 into account.

Change-Id: I4f9578f3558f026c472492ac07d19004416dc228
2011-11-03 13:21:18 -07:00
Christopher Tate
bc6f0ce8be Add persistent property to disable strict mode
Setting persist.sys.strictmode.disable to 'true' will disable strict
mode on eng/userdebug builds where it is turned on by default.
Explicitly enabling it in the Settings UI will override this, so
it's still possible to toggle it there even when this property
has been set on the device.

Change-Id: Ifd971f948fb2f803d509c2a06112c4bb932a5b1f
2011-11-03 13:16:27 -07:00
Marco Nelissen
f51f1bd9d4 Verify we actually have valid utf8 metadata
Before calling NewStringUTF, check that the metadata value is actually
valid utf-8, and replace the offending characters with "?" if it is not.
b/5534491

Change-Id: I43de4307e739ae0b7d4177937ed33aa1dfb90d98
2011-11-03 13:12:16 -07:00
Eric Laurent
19ddf0ebb0 AudioFlinger: mix track only when really ready
The addition of low power audio playback mode made that audio buffer consumption
by audio HAL can now happen in bursts. This makes that requesting audio data
from an AudioTrack for mixing can happen at much shorter intervals than before.
This revealed an existing problem where AudioFlinger would consider a track ready
for mixing although not enough frames were ready to completely fill one output buffer,
thus creating short periods of silence.

The fix consists in waiting for enough frames to be ready in AudioTrack buffer before
declaring a track ready for mixing. This minimum is not applied when the track is stopped
to allow the buffer to be emptied completely.

Change-Id: I6d04f9b65db5af85b0b53f0a5674be7ec02f9e9f
2011-11-03 12:16:05 -07:00
Jamie Gennis
c5ce130f65 Merge "SurfaceTexture: various logging improvements" into ics-mr1 2011-11-03 11:51:38 -07:00
Jamie Gennis
236aea3579 Merge changes Ibc99cb1c,Ie1f4f6f8 into ics-mr1
* changes:
  BlobCache: implement cache serialization
  BlobCache: remove the mutex locking
2011-11-03 11:51:23 -07:00
Jeff Sharkey
3f9ce4c22a Merge "Verify AppWidget ownership during update." into ics-mr1 2011-11-03 11:43:52 -07:00
Teng-Hui Zhu
76b067590b Merge "Create GL texture when it is missing for video layer" into ics-mr1 2011-11-03 11:43:16 -07:00
Amith Yamasani
8790764e4c Close suggestions cursor when SearchView is detached.
Make sure that delayed filter requests don't go through after
the view was detached.

Bug: 5484819
Change-Id: I4d5ff5ea9b52109ecce7f84fa4d91dfcb6225037
2011-11-03 11:32:44 -07:00
Jeff Sharkey
933decaa5e Verify AppWidget ownership during update.
Bug: 5563081
Change-Id: I528ec944d404989bb21b32ef01feb3d35e23d3ad
2011-11-03 11:26:11 -07:00
Andreas Huber
e395f645aa Poll input data with a small timeout and don't consume a full core.
Change-Id: I3c288698920fe6ead0df24a52330483609821a41
related-to-bug: 5549263
2011-11-03 11:00:21 -07:00
Kenny Root
685f490eff Update GET_UNINSTALLED_PACKAGES flag documentation
Change-Id: I483b84f07836e6ad96c75e7dd3a86633cb29db22
2011-11-03 10:13:29 -07:00
Eric Laurent
1f85f1dc6e Merge "Remove unreliable effect tests." into ics-mr1 2011-11-03 08:45:43 -07:00
The Android Automerger
29e03cde74 merge in ics-mr0-release history after reset to ics-mr0 2011-11-03 06:33:29 -07:00
Daniel Sandler
1f42a3db9e Merge "Bring back Android Dreams." into ics-mr1 2011-11-03 03:56:49 -07:00
satok
cb1001b282 Merge "Fix a memory leak of a Binder in SpellCheckerService" into ics-mr1 2011-11-03 02:09:32 -07:00
Jeff Sharkey
808ee95dd4 Merge "Correct proc file reader, optimizations." into ics-mr1 2011-11-03 00:32:22 -07:00
Dianne Hackborn
68d91733c8 Some optimizations for view inflation.
Change-Id: I8e5e6dda4d4c9776961d4a070549d5753588e582
2011-11-02 22:34:15 -07:00
Dianne Hackborn
17bd9a22ec Merge "More performance work:" into ics-mr1 2011-11-02 22:31:19 -07:00
Dianne Hackborn
28695e0c70 More performance work:
- ActivityManager now keeps track of previous app as you
  move across the home app.
- Better debug info about why an activity is being destroyed.
- New performance tests.

Change-Id: I3a5ae7cb1b9f1624c6792a4f6184353f532b8f3b
2011-11-02 22:08:41 -07:00
satok
9b3855b752 Turn off the spell checker when the spell checker is disabled in the settings
Bug: 5554116
Change-Id: I9816101661e12cafdb9556c7e0bad39833f7dc67
2011-11-03 13:39:34 +09:00
The Android Automerger
287c1e66fe Revert "Merge "Avoid duplicate dialogs leading to NPE" into ics-mr0"
This reverts commit 7f00c22b7fa7b38b644585c0a3c6faadc5def94c, reversing
changes made to 451fa13e82ea1226895b41282fdb33bf9fea5d19.
2011-11-02 21:08:38 -07:00
The Android Automerger
b6b117624b Revert "Merge "BatteryService(jni): properly handle read's return value" into ics-mr0"
This reverts commit f0ad147fc33cf55cd9427010b2cdb3eb89b9eec3, reversing
changes made to bd9b1528051a1b257768fdbc5077a2d4473b02dd.
2011-11-02 21:04:32 -07:00
The Android Automerger
f17756f8e6 Revert "Merge "Update camera continuous autofocus javadoc." into ics-mr0"
This reverts commit 4b6353ea0265bfed52d0637abd1b17596ce25ff0, reversing
changes made to af675222f6340a8a9edbe9e8635014a18521e5e0.
2011-11-02 20:59:04 -07:00
The Android Automerger
54b212c75e Revert "Merge "Fix potential segfault in RS watchdog." into ics-mr0"
This reverts commit af675222f6340a8a9edbe9e8635014a18521e5e0, reversing
changes made to 6e91e5b689a3eb8e6a6f3c038322b8044a9d6670.
2011-11-02 20:58:26 -07:00
The Android Automerger
50b193c82d Revert "Merge "Improve the slow query instrumentation." into ics-mr0"
This reverts commit 2d280f754e32e556407df05d977cfabdfff1c070, reversing
changes made to 2cc1c5d067736f221554be593c2ba2c96390f847.
2011-11-02 20:58:00 -07:00
The Android Automerger
f15af4b088 merge in ics-factoryrom-2-release history after reset to ics-mr0 2011-11-02 20:53:06 -07:00
Daniel Sandler
e5f2cfeb22 Bring back Android Dreams.
Also fix bugs related to loading changes in dreams settings.

Bug: 5121105
Change-Id: I1527c3100d5219a678dd94ed5393bc478b1a1622
2011-11-02 23:33:27 -04:00
Eric Laurent
be5fc40fe7 Remove unreliable effect tests.
Remove automated tests checking that audio effects are actually processing
the signal based on visualizer captures.
This method is too unreliable when used to measure energy at given frequencies and
often gives false negatives.

Issue 5542879.

Change-Id: Ib31158fd84ff9edc85712ec03c0c9957370c8f84
2011-11-02 18:02:05 -07:00
Eric Fischer
c37f98eab3 am 8c49b81b: (-s ours) Merge "Import revised translations. DO NOT MERGE" into ics-mr0
* commit '8c49b81b5971c3fd254c4ecd862d1a32b1917edb':
  Import revised translations.  DO NOT MERGE
2011-11-03 00:04:10 +00:00
Katie McCormick
f2158d0820 am e08be659: Merge "Doc change: Update instructions to match ICS UI" into ics-mr0
* commit 'e08be659eba742d117d24f642a95ba65e13bd015':
  Doc change: Update instructions to match ICS UI
2011-11-03 00:04:09 +00:00
Eric Fischer
8c49b81b59 Merge "Import revised translations. DO NOT MERGE" into ics-mr0 2011-11-02 16:17:03 -07:00
Katie McCormick
31a05f336a Doc change: Update instructions to match ICS UI
Change-Id: I565ef27401d169ff28b21f1679e56a725c1ac470
2011-11-02 23:00:59 +00:00
Teng-Hui Zhu
1f54673381 Create GL texture when it is missing for video layer
In any case that the HTMLVideoView is recreated with no GL texture, we should
recreate the GL texture to make sure we always have a valid texture ID.

bug:5530006
Change-Id: I703a987a7530dbeef74e502f3c9ff329beca8c4e
2011-11-02 15:59:25 -07:00
Adam Powell
b41d9f8a84 Merge "Fix bug 5557267 - [ViewPager] non-primary fragments unnecessary stopped if "defer start" is enabled" into ics-mr1 2011-11-02 15:44:31 -07:00
Katie McCormick
e08be659eb Merge "Doc change: Update instructions to match ICS UI" into ics-mr0 2011-11-02 15:42:18 -07:00
Flavio Lerda
52c01c22a5 Add a query parameter to look-up a SIP address.
Currently there is an API to look-up a phone number in the contacts
database but not one to look up a SIP address.

This change adds a query parameter that can be added to the existing
filter URI to search the contacts with SIP addresses.

Bug: 5529690
Change-Id: I71aaf46c7528e7e6eb4160a664f4bdeacfb0581d
2011-11-02 22:42:04 +00:00
Eric Fischer
2237e1e7b6 Import revised translations. DO NOT MERGE
Change-Id: I2f073cc6d62d757ba4e6565a0c7974ca9cecba4c
2011-11-02 15:14:43 -07:00
Jeff Sharkey
163e6443f2 Correct proc file reader, optimizations.
Moved away from BufferedReader, which only reads the first 8KB of
some proc files because it aggresively fills its buffer.  Optimized
proc parsing, now double the speed.  Tests to cover.

Log when NetworkStats counters roll backwards when subtracting, and
optimizations around findIndex().  When system removes UID, also
remove from last stats snapshot to avoid xt counters from rolling
backwards.

Bug: 5472949, 5458380
Change-Id: I07c08fe5233156fac2b84450f6291868bf9bfaf2
2011-11-02 15:14:11 -07:00
Irfan Sheriff
b419abcada am 7f00c22b: Merge "Avoid duplicate dialogs leading to NPE" into ics-mr0
* commit '7f00c22b7fa7b38b644585c0a3c6faadc5def94c':
  Avoid duplicate dialogs leading to NPE
2011-11-02 21:38:55 +00:00
Irfan Sheriff
7f00c22b7f Merge "Avoid duplicate dialogs leading to NPE" into ics-mr0 2011-11-02 14:37:19 -07:00
Adam Powell
2db4e4bd1b Fix bug 5557267 - [ViewPager] non-primary fragments unnecessary
stopped if "defer start" is enabled

Only revise the target state in moveToState if it would cross the
stopped/started boundary.

Change-Id: I8f6e400331157eac9343261117cf633611fc1e4d
2011-11-02 14:30:47 -07:00
Robert Greenwalt
4a11325107 am 451fa13e: Merge "Ignore errors when untethering" into ics-mr0
* commit '451fa13e82ea1226895b41282fdb33bf9fea5d19':
  Ignore errors when untethering
2011-11-02 21:28:33 +00:00