42488 Commits

Author SHA1 Message Date
Brad Fitzpatrick
0613ee5afb am 597fa828: Merge "Watchdog can get deadlocked on activity manager" into gingerbread
* commit '597fa828fa2b3cba053f0afeeac877b1ee2d24b7':
  Watchdog can get deadlocked on activity manager
2011-01-27 18:28:54 -08:00
Nick Pelly
4990b515c8 am b735aa0b: Merge "Fix javadoc which broke build." into gingerbread
* commit 'b735aa0b6fabb72097191923d8787b43fa52531e':
  Fix javadoc which broke build.
2011-01-27 18:28:25 -08:00
Eric Laurent
a03ebe9851 resolved conflicts for merge of 00118a48 to honeycomb-merge
Change-Id: I27d24fb00e36bdaadbdf646bb8bf7b5639556369
2011-01-27 18:25:32 -08:00
Jim Miller
145643ca4b am 226e5756: Merge "Fix 3391330: Use BATTERY_STATUS_FULL as "Charged" state [DO NOT MERGE]" into gingerbread
* commit '226e57563c3110aa688fc41f10b7a96cd21b6231':
  Fix 3391330: Use BATTERY_STATUS_FULL as "Charged" state [DO NOT MERGE]
2011-01-27 18:25:12 -08:00
Justin Ho
5b5092d436 am 06dd4c02: Merge "Updated tether icons" into honeycomb
* commit '06dd4c0220acce71e613c15758729273e99eae6c':
  Updated tether icons
2011-01-27 18:24:19 -08:00
Jim Miller
226e57563c Merge "Fix 3391330: Use BATTERY_STATUS_FULL as "Charged" state [DO NOT MERGE]" into gingerbread 2011-01-27 18:22:14 -08:00
Justin Ho
06dd4c0220 Merge "Updated tether icons" into honeycomb 2011-01-27 18:21:54 -08:00
Daniel Sandler
49371adaca Attenuate notification icons in the system bar.
(Tunable by adjusting the alpha value of
notification_icon_area_smoke.)

Bug: 3395373
Change-Id: Ia8e257a451b2cb4c0e73ff3f4a77b380b193ef35
2011-01-27 21:20:51 -05:00
Justin Ho
e763f9cb88 Updated data and wifi indicators, updated GPS
Change-Id: Idc582404639e5bdafdf8da4ee08e41c0f2ae0051
2011-01-27 18:20:18 -08:00
Svetoslav Ganov
5e83d0f58b am 86471d00: Merge "Accessibility support to NumberPicker, DatePicker, and TimePicker" into honeycomb
* commit '86471d00f6637dc2c839b2df2a0df511b1ac4dc7':
  Accessibility support to NumberPicker, DatePicker, and TimePicker
2011-01-27 18:17:54 -08:00
Justin Ho
e3e00aa6ff Updated tether icons
Change-Id: Iacd45a7b6866fe561d312322078c34c9bcd1770c
2011-01-27 18:17:05 -08:00
Svetoslav Ganov
86471d00f6 Merge "Accessibility support to NumberPicker, DatePicker, and TimePicker" into honeycomb 2011-01-27 18:16:27 -08:00
Jean-Michel Trivi
965f22ba32 am 3b5d9515: Merge "Fix bug 3395289 Use MODE_IN_COMMUNICATION to evaluate stream vol changes" into honeycomb
* commit '3b5d9515f208d28ae168c3f3d3cd442ff6e6e45a':
  Fix bug 3395289 Use MODE_IN_COMMUNICATION to evaluate stream vol changes
2011-01-27 18:15:39 -08:00
Brian Muramatsu
4c8ad6eb62 Fix TextUtils#commaEllipsize
Bug 3400770

TextUtils#commaEllipsize creates a MeasuredText "mt" object with the
text to be ellipsized. It calls setPara which initializes mt's mPos
member to be 0. It then calls addStyleRun which moves mPos to the end
of the string. The loop back in commaEllipsize then calls mt addStyleRun
again and this causes IndexOutOfBoundsException, because the paint
object is trying to measure text past the text's length.

It seems this was a typo and that the tempMt variable should be used,
because the code is trying to measure the format string...not the
the string to be ellipsized. This makes the saner parts of CTS test
for this method pass now.

Change-Id: Ib6aa6e4bbd6afff4c95ad4c4d51a384cc1389875
2011-01-27 18:13:39 -08:00
Adam Cohen
c6a4716e24 Fixing static StackView scenario (Issue: 3399844)
Change-Id: Ic1e700f7b4071f6ae86912cf5f12828e3f68f412
2011-01-27 18:13:10 -08:00
Jean-Michel Trivi
3b5d9515f2 Merge "Fix bug 3395289 Use MODE_IN_COMMUNICATION to evaluate stream vol changes" into honeycomb 2011-01-27 18:13:00 -08:00
Jason Sams
5012a8fe42 Fix another barrier bug 3333866
Atomically update put.

Change-Id: Id6d4b5c03f5562b3021561e95966a01abd293667
2011-01-27 18:08:40 -08:00
Jim Miller
c0a1387f0f Fix 3391330: Use BATTERY_STATUS_FULL as "Charged" state [DO NOT MERGE]
Some devices that use LiPo batteries do not charge them to 100%
as a safety margin and to preserve battery longevity.  This change
allows KeyguardUpdateMonitor to determine when the battery state should be
reported as "Charged", provided the device sets BATTERY_STATUS_FULL in
that case.

Change-Id: Iac6cb78e24f9a696017459cc773c38ef7fe7779f
2011-01-27 18:07:44 -08:00
Daniel Sandler
d07094a16d am e2c251b5: Tapping the ticker again activates the notification.
* commit 'e2c251b564a46a8f7352094ba8a61d46dc6b676f':
  Tapping the ticker again activates the notification.
2011-01-27 17:59:15 -08:00
Jamie Gennis
37cec0fc50 Add docs about threading to SurfaceTexture.
This is a docs-only change.

Bug: 3362397
Change-Id: I5fad19a8ae112af73b1e235cf3d54bd2179d165a
2011-01-27 17:57:13 -08:00
Dirk Dougherty
85dacef709 Doc change: Add time-lapse video to 3.0 highlights.
Change-Id: I5fb9cb76a544a502cd2f67bc1902b2c02a2a52a8
2011-01-27 17:55:35 -08:00
Jean-Michel Trivi
834662d422 Fix bug 3395289 Use MODE_IN_COMMUNICATION to evaluate stream vol changes
When the user is in a phone or VoIP call, the volume keys should
 control the STREAM_VOICE_CALL volume. Before MODE_IN_COMMUNICATION
 was introduced to cover VoIP use cases, having an active VoIP call
 was determined by checking whether there was any track used the
 output stream STREAM_VOICE_CALL, which can give false positives.
This CL checks instead against the audio mode to see if
 MODE_IN_COMMUNICATION is selected to determine if a VoIP call
 is in progress.

This implies that applications that play on STREAM_VOICE_CALL
 shouldn't rely on that fact alone to expect the volume keys
 to control the STREAM_VOICE_CALL volume, and should instead,
 rely on the official mechanism for that:
   android.app.Activity.setVolumeControlStream(int)

Change-Id: Ia487951ea1684477aa3d522c9031fad484d8a40d
2011-01-27 17:54:13 -08:00
Daniel Sandler
e2c251b564 Tapping the ticker again activates the notification.
(Previous behavior: the tap would pass through to the clock,
which would open the shade. Only sometimes it wouldn't,
because you'd have hit the left-hand-side of the ticker
where there's no clock underneath. So this fixes that too.)

Additionally, tapping the ticker will now immediately
dismiss the ticker.

Bug: 3365129
Change-Id: Ic641184c518b18d799a560c8da6b4c5844c912de
2011-01-27 20:51:03 -05:00
Svetoslav Ganov
8a2a89588c Accessibility support to NumberPicker, DatePicker, and TimePicker
bug:3400707

Change-Id: I0d4b10e9c744e7221a9a7a74081bcee351abbaf2
2011-01-27 17:50:14 -08:00
Robert Greenwalt
164ca032b6 Fix data network type notifications.
These trackers have two copies of the network type: newSS and newNetworkType.  I think thats wrong,
but this was the smaller change on code that will hopefully be refactored soon.

On radio_off we were making a new, empty newSS but not clearing newNetworkType so it
still thought we were on 3G and when we reconnect and get 3G state changes new==old and we don't
send the update.  In this fix I reset newNetworkType every time we apply it to networkType.

bug:3389886
Change-Id: I294f34259dc6c6f8f445bf2cb5466c8be747e25c
2011-01-27 17:48:52 -08:00
Jim Miller
6fc22aaadb am a85b789a: Merge "Fix 3381322: Update transition animation from lockscreen to home." into honeycomb
* commit 'a85b789a4a6c58c33dda9e5b00a10faee6bbf561':
  Fix 3381322: Update transition animation from lockscreen to home.
2011-01-27 17:44:41 -08:00
Jim Miller
a85b789a4a Merge "Fix 3381322: Update transition animation from lockscreen to home." into honeycomb 2011-01-27 17:42:52 -08:00
Nick Pelly
16fad45bb5 am e4dd154c: Merge "hange the default IsoDep timeout to 300ms (docs update)." into gingerbread
* commit 'e4dd154c08b04090bad8f450450e13163d5fef9b':
  hange the default IsoDep timeout to 300ms (docs update).
2011-01-27 17:29:59 -08:00
Mathias Agopian
14f3d86267 am 12d014fd: Merge "fix [3355413] Gyro calls onAccuracyChanged and reports accuracy as UNRELIABLE" into gingerbread
* commit '12d014fdf40f69512e59e84914b230a2d3e7b8eb':
  fix [3355413] Gyro calls onAccuracyChanged and reports accuracy as UNRELIABLE
2011-01-27 17:28:47 -08:00
Amith Yamasani
b0f6766bcc am 68153821: (-s ours) Merge "Set the default state of NOTIFICATIONS_USE_RING_VOLUME to true." into gingerbread
* commit '68153821481f748ecbd2493bfd417005686960e0':
  Set the default state of NOTIFICATIONS_USE_RING_VOLUME to true.
2011-01-27 17:28:31 -08:00
Adam Powell
599814f16c am f95e8c5b: Merge "Fix bug 3400213 - MenuItem ignores String spannable colors" into honeycomb
* commit 'f95e8c5bb24b3e2ea217fb140077526bde5d6dcc':
  Fix bug 3400213 - MenuItem ignores String spannable colors
2011-01-27 17:20:32 -08:00
Adam Powell
f95e8c5bb2 Merge "Fix bug 3400213 - MenuItem ignores String spannable colors" into honeycomb 2011-01-27 17:18:11 -08:00
Dianne Hackborn
83a6f450bd Maybe fix issue #3358322: Status and nav bar died while watching youtube
Or at least make it better.  Now if we get a failure locking the surface,
we mark to do a full relayout pass later to try to get a new good surface.

Also fix some bugs in how activity manager was classifying processes for
their OOM adjustment to make better choices in what to kill.

Change-Id: I8e4aa86744211ba7693f9828291d8bbf2698274f
2011-01-27 17:17:19 -08:00
Adam Powell
6650185cae Fix bug 3400213 - MenuItem ignores String spannable colors
Make MenuInflater preserve spannable strings.

Change-Id: I1e01827def3a87ea7814078df53debcc35f245d2
2011-01-27 17:10:40 -08:00
Jim Miller
8932ff6d7f Fix 3381322: Update transition animation from lockscreen to home.
Also removed android:detachWallpaper="false" from lock_screen_exit
since it's not guaranteed to do something sane when windows aren't
owned by applications.

Change-Id: I28b5fc6b68d1aef93f092538d1318ce2b2a835ef
2011-01-27 17:10:26 -08:00
Irfan Sheriff
08643095a1 am 4170b463: Merge "Do not add unsolicited events to queue" into gingerbread
* commit '4170b46329ed91e81cf22dba82e2dadc326b3e3d':
  Do not add unsolicited events to queue
2011-01-27 17:04:07 -08:00
Dan Morrill
d3939c09db am ed11f117: As of honeycomb, all touchscreen devices should also report faketouch.
* commit 'ed11f117ffdac3262253487ab6116211bd2c5bbd':
  As of honeycomb, all touchscreen devices should also report faketouch.
2011-01-27 17:03:55 -08:00
Jeff Brown
e3939e59d6 am 41395459: (-s ours) Merge "Filter virtual keys after touches. (DO NOT MERGE)" into gingerbread
* commit '41395459e676cf9ab4059e08446656f145662c2d':
  Filter virtual keys after touches.  (DO NOT MERGE)
2011-01-27 17:03:51 -08:00
Martijn Coenen
216a5e72a1 am 07e6f616: Check NDEF before calling makeReadOnly().
* commit '07e6f616d122496342a5bae51323bb218d88f7f2':
  Check NDEF before calling makeReadOnly().
2011-01-27 17:03:19 -08:00
Nick Pelly
0cad3d23d3 resolved conflicts for merge of a701cf85 to honeycomb-merge
Change-Id: I81a63599649a61fc73bf1e7ebcfed4c333903070
2011-01-27 16:59:02 -08:00
Dan Morrill
ed11f117ff As of honeycomb, all touchscreen devices should also report faketouch.
Change-Id: Iddcdfc19868be1ed356bdd27f08646ccec14f97b
2011-01-27 16:47:24 -08:00
Nick Pelly
34afc2cd83 am d350dc04: Merge "API: Make close() throw an IOException." into gingerbread
* commit 'd350dc0492fab3614749955f5dcf21ec1c522b24':
  API: Make close() throw an IOException.
2011-01-27 16:26:28 -08:00
Nick Pelly
d350dc0492 Merge "API: Make close() throw an IOException." into gingerbread 2011-01-27 16:23:35 -08:00
Nick Pelly
3fcedf7728 API: Make close() throw an IOException.
IOException on close() can be useful to indicate that in-progress transactions
were canceled.

I also audited all of our tech classes to make sure every function that needs
to throw IOException does so.

Change-Id: Iaa9c43d79d59ff85772d5c3e4b4d57a6fa8df4cf
2011-01-27 16:17:14 -08:00
Gilles Debunne
b7fc63f7aa Fix for TextView's error popup behavior when using soft keyboard.
Bug 3370191

The documented behavior is to hide the error when the text changes.
However, this should not be the case if the error was reset by a text watcher.

Comparing errorBefore and errorAfter as was done before is not sufficient in the
case where the error is reset to the same value. String pool optimization will re-use
the same Object and it will look like the error has not been modified (hence the
blinking behavior reported in the bug).

For this reason, TextView has a mErrorWasChanged flag. The fix is to export methods
that can use this flag as in done inside TextView when a physical keyboard is used.

These methods are hidden.

Change-Id: Ie3ec59a368f3b1588b81242890b971ac48e8ff7e
2011-01-27 16:03:52 -08:00
Santosh Madhava
c4f5b71204 am 270cbcc1: Merge "Fix for issue 3370007 Overlay transparency in Java" into honeycomb
* commit '270cbcc16a72f982d84afeb5e3fd3f166936394a':
  Fix for issue 3370007 Overlay transparency in Java
2011-01-27 16:02:59 -08:00
Santosh Madhava
270cbcc16a Merge "Fix for issue 3370007 Overlay transparency in Java" into honeycomb 2011-01-27 16:00:15 -08:00
Adam Powell
e3ba5cfe9b am d1f94e36: Merge "Fix bug 3399725 - externally reported issue 14317: android:scrollbarSize attribute does not work in ScrollView tag" into honeycomb
* commit 'd1f94e36da6276acc00d0a3267a505fd6a61702d':
  Fix bug 3399725 - externally reported issue 14317: android:scrollbarSize attribute does not work in ScrollView tag
2011-01-27 15:59:46 -08:00
Adam Powell
d1f94e36da Merge "Fix bug 3399725 - externally reported issue 14317: android:scrollbarSize attribute does not work in ScrollView tag" into honeycomb 2011-01-27 15:58:18 -08:00
Xavier Ducrohet
4c02c2246a am a3e586af: Merge "LayoutLib: Properly compute available space to layouts." into honeycomb
* commit 'a3e586af439137eb4216bc7ba62167f516e028c2':
  LayoutLib: Properly compute available space to layouts.
2011-01-27 15:53:46 -08:00