41606 Commits

Author SHA1 Message Date
Scott Main
f1d8e04912 docs: fix error in themes doc
Change-Id: If11f609fe544700273bc206b2710aa14164b70b1
2011-03-03 09:28:21 -08:00
Eric Fischer
190586b723 Import revised translations. DO NOT MERGE
Change-Id: I2468a95f482f8839158250901d9b52ce9d8e41ad
2011-03-02 13:59:44 -08:00
Wink Saville
a61a1f694d Merge "Initialize mRetyMgr when constructing GsmDataConnectionTracker." into honeycomb 2011-03-02 10:02:17 -08:00
Wink Saville
fa5463c069 Initialize mRetyMgr when constructing GsmDataConnectionTracker.
bug: 3501596
Change-Id: I7bcc5cf317519dae3e5c0106f32fcb4481b2aa90
2011-03-01 21:09:22 -08:00
Jason Chen
d616d5054f Merge "Bugfixes in StaticLayout. DO NOT MERGE." into honeycomb 2011-03-01 17:56:06 -08:00
Jason Chen
ef7aed89b6 Merge "DO NOT MERGE Cherry-pick of cd59febcea2 from master" into honeycomb 2011-03-01 17:50:51 -08:00
Gilles Debunne
22847209c4 Bugfixes in StaticLayout. DO NOT MERGE.
Bug 3422121

Cherry-picked from master's 95472.

With ellipsize, lines starting with a very long word that does not
fit inside the width were simply ignored. Cut the long word instead.

start - widthStart index offset shift in BiDi.

The original ellipsize-end patch that added '...' after the last
word on end-ellipsized lines has been punted in favor of a true
ellipsize support in I.

I believe the StaticLayout calculateEllipsise is a no-op since textwidth <= avail
by construction: fitWidth and okwidth are < outerWidth. The only exception is the
paraEnd != here case in generate (when not a single character fits in width).
This case is exercised by StaticLayoutTest in cts (width of 8 pixels) and revealed
an offset error in widstart.

All in all, it looks like this code was probably never really tested. I tried some
typical text configuration to make sure these changes improved the situation.

Change-Id: I6c2cb26436a21f0f89078c275a89e891f0f23b92
2011-03-01 17:41:23 -08:00
Gilles Debunne
4797f020cd DO NOT MERGE Cherry-pick of cd59febcea2 from master
AIOOB exception fix in TabWidget

Bug http://code.google.com/p/android/issues/detail?id=15005

The problem was not specific to the legacy theme. The code that first
measure the tab's width with no contraint was incorrectly using the
mImposedTabsWidth array which could not have the right size if a
child was added.

The first measure after a child is added should indeed crash. Could
be investigated. This fix is sure anyway.

Change-Id: If5015aaa2d5574939fd5d6c6362ed6db94d35d4a
2011-03-01 16:46:36 -08:00
Amith Yamasani
df33b8c51d Merge "Check for NTP time as soon as WIFI is connected." into honeycomb 2011-03-01 15:47:57 -08:00
Eric Fischer
86b7a59726 Import revised translations. DO NOT MERGE
Change-Id: I6f5f40b8dbbe271ccbb5493b3a6d7d1f08d1bdb3
2011-03-01 14:17:03 -08:00
Amith Yamasani
8d394fa899 Check for NTP time as soon as WIFI is connected.
Listen for connectivity changes. If WIFI is connected, check if
we have recently checked for NTP time. If we haven't yet checked the
time or it has been long enough (a day), then connect to the NTP server
and get the latest time. Update the time if it is significantly out of sync.

This doesn't poll the NTP server every time there is connectivity, only
if it hasn't been checked since boot or has been a day.

This fixes the problem that during SetupWizard, we try to contact the NTP
server before there is connectivity and fail. Now, as soon as the user
chooses a WiFi network to connect to, it will update the time before
getting to the Date/Time step. Then as soon as the user corrects the TZ,
the date/time should be correct.

Bug: 3491920
Change-Id: I62664156616510b67ecd6a1c24dd838b98d5204f
2011-03-01 12:41:04 -08:00
Mike Corrigan
bd15112a29 Fix the display priority of the airplane mode icon.
The airplane icon is used as a fallback when no
other radios are available *and* the AIRPLANE_MODE_ON system
setting is set to 1. (NetworkController now tracks changes to
the setting via ACTION_AIRPLANE_MODE_CHANGED broadcasts.)

This fixes wifi-only devices, for which the previous logic
did not correctly and consistently detect airplane mode.

Bug: 3489820
Change-Id: I226bb0e977f6a5fd3f2d829ba51ca54c5c910ef3
2011-03-01 13:20:07 -05:00
Wink Saville
0eb6af8929 Merge "Fixing the write of BackgroundData setting, DO NOT MERGE." into honeycomb 2011-02-28 15:54:02 -08:00
Wink Saville
d2ab6a19e0 Fixing the write of BackgroundData setting, DO NOT MERGE.
I outsmarted myself trying to minimize writes and caused no writes to occur.

bug:3485934
Change-Id: I43b6ebbed3f13277edfb2e28f09cf7b98ea66776
2011-02-28 15:32:41 -08:00
Eric Fischer
04a536af3c Merge "Import revised translations. DO NOT MERGE" into honeycomb 2011-02-28 14:05:59 -08:00
Eric Fischer
877acf5dda Import revised translations. DO NOT MERGE
Change-Id: I4e3908e02fbb60782dbf760dd5ff28e1ff2d75c7
2011-02-28 13:58:10 -08:00
Irfan Sheriff
f9e2a49117 Fix issue to clear scan alarms
If PNO is set after the device is disconnected, the scan
alarm should be cleared to prevent both PNO and alarm
being active at the same time

Bug: 3495698
Change-Id: Id48c87fef68a34a05799e6b82de4088e0573009f
2011-02-28 12:29:33 -08:00
Daniel Sandler
5404812dee Merge "When out of range, show device-appropriate no-signal bars." into honeycomb 2011-02-28 11:17:38 -08:00
Dirk Dougherty
a47ef32e8b Merge "Doc change: Add announce for Android at GDC 2011." into honeycomb 2011-02-27 22:23:25 -08:00
Dirk Dougherty
ba27fe163f Doc change: Add announce for Android at GDC 2011.
Change-Id: I0f170fa0e926154feab09a97159fd257706af50d
2011-02-27 19:36:06 -08:00
Mike Lockwood
8719c406c3 DO NOT MERGE: MTP: Disable MTP when the keyguard is locked and secure
BUG:  3402847

Change-Id: Id0e20597423131a13ac7cef13ec5c39b962b3e0b
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-26 14:33:07 -05:00
Mike Lockwood
0600fff914 DO NOT MERGE: MTP: Add support for dynamically adding and removing storage units
BUG: 3402847

Change-Id: I46e90f546a8d72c273cd7f2de2d086bb6dbdc1b8
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-26 14:32:45 -05:00
Mike Lockwood
69e19ae15b DO NOT MERGE: KeyguardManager: Fix copy & paste error in isKeyguardLocked()
BUG: 3402847

Change-Id: Ic731e49b43fa40df6f8b658d8620a99a85c346e6
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-26 14:32:22 -05:00
Mike Lockwood
6aea1154ba DO NOT MERGE: KeyguardManager: Add isKeyguardLocked() and isKeyguardSecure()
BUG: 3402847

Change-Id: I7cb199763e8d5386914b4c2173c9e1579b08674c
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-26 14:32:00 -05:00
Andreas Huber
2332cd8c67 Merge "DO NOT MERGE: Cherry picked hacks to better hide A/V sync issues." into honeycomb 2011-02-25 15:33:28 -08:00
Daniel Sandler
9a7c712976 When out of range, show device-appropriate no-signal bars.
Also, start using the 0-bars WiFi icon when necessary;
previously, one bar was the lowest the WiFi icon could show.

Bug: 3488403
Change-Id: I3018685db3cf302d10c5e525a7d2c90f3c664f10
2011-02-25 15:37:47 -05:00
Eric Fischer
9967ce0457 Merge "Import revised translations. DO NOT MERGE" into honeycomb 2011-02-25 10:54:34 -08:00
Eric Fischer
0484786af7 Import revised translations. DO NOT MERGE
Change-Id: I75f16cb4c3d9a4caa1234a86fbba9cae6799d180
2011-02-25 10:47:43 -08:00
Andreas Huber
06572b9abd DO NOT MERGE: Cherry picked hacks to better hide A/V sync issues.
Squashed commit of the following:

commit b1732e9b8bfea4c99bd07907c9aac9fcf1e8b264
Author: Andreas Huber <andih@google.com>
Date:   Thu Feb 24 12:05:40 2011 -0800

    DO NOT MERGE: Alternate patch for late video issue: seek only the video ahead to the next

    syncframe after the current audio media position, leave audio untouched.

    Change-Id: I4f6eb4e577147bc12ed2e998bea299f4bcfaf936
    related-to-bug: 3375737

commit 5e7282cf0b5c7a613da5e65fd6c8cb33a1058f8e
Author: Andreas Huber <andih@google.com>
Date:   Fri Feb 11 13:09:36 2011 -0800

    DO NOT MERGE: Start playing (and decoding) audio only after the first video frame has been decoded.

    if there's both audio and video content. This gives the video decoder an opportunity
    to fill its internal buffer queue at the start of playback.

    Change-Id: If17c4243546b1c27c8e5ee43941654d0e36f5ee5
    related-to-bug: 3431702

Change-Id: Ic3a6be467ff7ad09da04b1d2bb1a692ee38002b4
2011-02-25 09:13:53 -08:00
Robert Ly
b7a8c1e781 Merge "Doc change: fixing errors in library proj docs" into honeycomb 2011-02-24 18:07:28 -08:00
Robert Ly
bd1a431ef0 Doc change: fixing errors in library proj docs
Change-Id: Idfd357b8b79b1e626bbf8a8f0ac00669f9714259
2011-02-24 17:59:12 -08:00
Robert Ly
00e08463cb Doc change: clarifying nfc tech filter usage
Change-Id: I536e4523fbc172e769ebbe4d7df0ac4422039476
2011-02-24 15:03:09 -08:00
Eric Fischer
1c38872fd3 Merge "Import revised translations. DO NOT MERGE" into honeycomb 2011-02-24 11:15:53 -08:00
Eric Fischer
f951bbf957 Import revised translations. DO NOT MERGE
Change-Id: I6a05c3031a451b0d288762f079203a412133dd14
2011-02-24 10:50:23 -08:00
Wink Saville
0dc8618dc7 Do not start RILReceiver if wifi-only.
By not starting RILReceiver we don't waste any cycles
trying to communicate with a vendor ril which may
not exist. This allows a wifi-only device to operate
as expected and the system to gracefully handle the
missing radio as ril requests will report RADIO_NOT_AVAILABLE.

Change-Id: I6c6f60830486c5f0447b3b9eb44c8b1f2d70c517
2011-02-23 18:11:45 -08:00
Irfan Sheriff
5107eea64e Merge "DO NOT MERGE Add support for background scanning" into honeycomb 2011-02-23 16:59:55 -08:00
Scott Main
201959af6e Merge "docs: fix sensorevent code snippets bug: 3480932" into honeycomb 2011-02-23 15:58:13 -08:00
Eric Fischer
32751e3175 Merge "Import revised translations. DO NOT MERGE" into honeycomb 2011-02-23 15:33:12 -08:00
Eric Fischer
fc1c800b2e Import revised translations. DO NOT MERGE
Change-Id: I5089e17bd14de7b4e217c1b91e393ae4799c4263
2011-02-23 14:49:04 -08:00
Irfan Sheriff
a46a5cba27 Merge "DO NOT MERGE No backup of country and sleep policy" into honeycomb 2011-02-23 14:35:20 -08:00
Scott Main
c516c7714d docs: fix md5 sums
Change-Id: Ie1cb77cf54bd17d2aa8228f73158e7589a7aebaa
2011-02-23 14:13:50 -08:00
Irfan Sheriff
ae388dac6d DO NOT MERGE No backup of country and sleep policy
Remove country code and sleep policy setting back up as it
is a device specific setting

Bug: 3481068
Change-Id: Ifc824c1cd3c3706f8cdaf09b06a05a0c94243acb
2011-02-23 13:51:52 -08:00
Scott Main
d11ee90b6e docs: fix sensorevent code snippets
bug: 3480932

Change-Id: Id97ca4e0edfb92eaac0f2996bc5e91d757644afb
2011-02-23 10:57:23 -08:00
Scott Main
2788e4f96a docs: fix some typos
Change-Id: I2dc9855f8fe87234d4337351e8bac6c382fb74d2
2011-02-23 10:54:31 -08:00
Irfan Sheriff
74ff3d23f9 DO NOT MERGE Add support for background scanning
Background scanning (preferred network offload) allows us the
host to sleep while the dongle monitors the presence of any
preferred networks. This allows us for significant power savings
since the system does not have to wake up often to initiate
a scan

Bug: 3453021
Change-Id: I73dcf4e1c9ab4de280c40b6df6147a74ac003123
2011-02-23 10:49:36 -08:00
Robert Ly
c6c6fe939c Merge "doc change: fix missing code ending tag" into honeycomb 2011-02-22 16:57:06 -08:00
Scott Main
47928f898d Merge "docs: fix broken links" into honeycomb 2011-02-22 16:49:32 -08:00
James Dong
6c9b500fc5 Merge "Added more warnings in javadoc for failure to call MediaPlayer.release() immediately if a MediaPlayer is not needed" into honeycomb 2011-02-22 16:41:29 -08:00
Robert Ly
1fdabeb832 doc change: fix missing code ending tag
Change-Id: I64f658d8f843343daa24d81548fd0a3148c8982e
2011-02-22 16:36:49 -08:00
Scott Main
752a1b9e7e docs: fix broken links
Change-Id: I2dd9f1d00ac84217b4af8fee73cabeaed7481cf2
2011-02-22 16:36:02 -08:00