41580 Commits

Author SHA1 Message Date
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
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
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
Scott Main
0ea4f0d791 Merge "docs: update highlights doc to remove preview" into honeycomb 2011-02-22 15:36:31 -08:00
Scott Main
5c3582d97a docs: update highlights doc to remove preview
Change-Id: Iebee41237eec8f64d9b610a401a2180b68561efa
2011-02-22 15:35:04 -08:00
Scott Main
9d5f35d9e0 Merge "docs: add breadcrumb trails to some docs, mostly manifest docs" into honeycomb 2011-02-22 15:14:39 -08:00
Roman Nurik
cba8efdff8 Add more tags to the RenderScript sample listing.
Change-Id: Ia0c0e43f1af4f9658ba6ffcd4a17ed9b3f0f5745
2011-02-22 14:58:45 -08:00
Scott Main
2a1b706ec1 docs: add breadcrumb trails to some docs, mostly manifest docs
Change-Id: I85aaed3ee9878a19e983522a7e872cf375be1025
2011-02-22 14:43:41 -08:00
James Dong
14460b9564 Added more warnings in javadoc for failure to call MediaPlayer.release() immediately if a MediaPlayer is not needed
bug - 3040402

Change-Id: I455d2a664851c73212711e8c4b88e97b50ee5b62
2011-02-22 13:45:57 -08:00
Dirk Dougherty
7036d76a6e Merge "Doc change: Add doc for GL texture declaration/filtering, hardwareAccelerated manifest attr." into honeycomb 2011-02-22 12:47:25 -08:00
Roman Nurik
4f4cab75cc Merge "Document support for WebM/VP8 decoding." into honeycomb 2011-02-22 12:43:15 -08:00
Dirk Dougherty
36d2d1b4bf Doc change: Add doc for GL texture declaration/filtering, hardwareAccelerated
manifest attr.

Change-Id: Ia6edc7d48341e7eb58172049219cf6d076126a8b
2011-02-22 12:08:52 -08:00
Roman Nurik
a02c3cbe04 Document support for WebM/VP8 decoding.
Change-Id: I4d5a1c230c0ef5d5919790eb586175ceff405759
2011-02-22 10:38:59 -08:00
Nick Pelly
beb01c93f9 Merge "DO NOT MERGE." into honeycomb 2011-02-22 09:10:32 -08:00
Scott Main
4d62ef2595 docs: revert ndk r6
Change-Id: I43b16d170ea2c73253a45bd726cfd3c562d5a20d
2011-02-22 09:05:11 -08:00
Scott Main
f870c5af7a docs: add new-child tags to hide the "new" tag when a parent list item is expanded
Change-Id: Ie1447eabc3fa498209a1096cdf3b460c8fd56661
2011-02-22 08:32:18 -08:00
Scott Main
1f69439022 docs: move 3.0 optimizing doc into the dev guide
Change-Id: I8d0eefd97e25cda691b1035129a50e1b902ab6e7
2011-02-21 23:28:27 -08:00
Dirk Dougherty
301431d96e Doc change: Final diff report for API 11.
Change-Id: Id7a6907a4f765fe753c2b134bfbd29a5792cc9ed
2011-02-19 17:55:57 -08:00
Scott Main
b842629c02 docs: update sizes and sums for tools and ndk
Change-Id: Id7c72a89dc50461a7883b599dcd7a08738049dee
2011-02-18 17:02:10 -08:00
Scott Main
e4da393452 Merge "docs: move new AIDL doc back into the existing doc, but move the side nav location out of tools" into honeycomb 2011-02-18 15:08:26 -08:00
Scott Main
163413f436 Merge "docs: update getting started doc for 3.0; move out of preview docs" into honeycomb 2011-02-18 10:26:41 -08:00
Nick Pelly
8bbd11cc09 DO NOT MERGE.
Minor doc update.

Change-Id: I915b39fd858dcc0f20853203cc555c72115cb52b
2011-02-18 02:18:19 -08:00
Robert Ly
a58f58daf9 Merge "Doc change: fixing renderscript samples" into honeycomb 2011-02-17 18:53:36 -08:00
Scott Main
adaf5a7097 docs: update getting started doc for 3.0; move out of preview docs
Change-Id: Ibf6f001eca76ebff2f3be1f38691dbd33220a33e
2011-02-17 18:49:10 -08:00
Robert Ly
6518f486a5 Doc change: fixing renderscript samples
Change-Id: Ie5d17df121ec4bc5fd46448c1670d306322b92d8
2011-02-17 18:44:31 -08:00
Scott Main
0ddd2d1ea7 DO NOT MERGE
Delete unused/broken samples and tests from the renderscript libs,
so we can publish the entire contents of libs/rs/java/ for samples in HC

Change-Id: I0428074e995d7ee282520f54a9a3c81e32bff027
2011-02-17 16:09:25 -08:00
Joe Malin
e766fcd5e9 DOC CHANGE: Bug 3396898 add attribute uses-library
Change-Id: I21810676050abed04c0c69b61c05d8d7228f434d
2011-02-17 13:08:11 -08:00
Scott Main
0643d7c442 docs: add new tag for tasks doc
Change-Id: I60248fb9ec1d98e89b526391c453d1bde9226cb0
2011-02-16 12:38:59 -08:00
Andy Stadler
b183508516 Merge "@hide DPM global proxy settings" into honeycomb 2011-02-16 12:18:39 -08:00