74785 Commits

Author SHA1 Message Date
James Dong
c4c0284e45 AddExternalSource(String path) needs to turn the path to fd if it is a file
o related-to-bug: 5542712

Change-Id: Iea32012996ca9de4c86f144de916df64fcab3c52
2012-04-17 18:31:20 -07:00
satok
fbf7e1f343 Merge "Get rid of "isSentenceLevelSpellCheckSupported"" 2012-04-16 22:07:45 -07:00
Svetoslav Ganov
55a28720fe Merge "Fixing a regression I have introduced." 2012-04-16 19:30:45 -07:00
Svetoslav Ganov
31725b3f38 Fixing a regression I have introduced.
bug:6344558

Change-Id: Ie726e091942e337962baa052953002be724068b1
2012-04-16 19:29:43 -07:00
Irfan Sheriff
14c92b8f84 Merge "Fix ssid fetch" 2012-04-16 19:25:03 -07:00
Irfan Sheriff
e1531a65a9 Merge "Log messages in dump" 2012-04-16 19:24:55 -07:00
Svetoslav Ganov
21d1251637 Merge "Fixing broken add focusables behavior I have introduced." 2012-04-16 19:15:27 -07:00
Svetoslav Ganov
3cb889caa3 Fixing broken add focusables behavior I have introduced.
bug:6344608

Change-Id: I1d241c02bc22c5ef3f4b4b69a756772e8b2ef902
2012-04-16 19:14:41 -07:00
Brett Chabot
21610283e8 Merge "Build junit API docs from external/junit." 2012-04-16 18:35:43 -07:00
Brett Chabot
571db3203c Build junit API docs from external/junit.
Bug 5826326

Change-Id: I67d18cacf0c4e908ec41dbed483314ece8b72ceb
2012-04-16 18:23:19 -07:00
Dianne Hackborn
ac4243f177 Make ACTION_SEND and ACTION_SEND_MULTIPLE build full clip items.
The current code was just for transferring URI grants.  This change
makes it so it propagates all of the relevant extra data into the
ClipData, so developers can just retrieve the ClipData for all of
their data needs.

Change-Id: I36a050c7beae325aceb84518337f878c337d8b86
2012-04-16 18:10:37 -07:00
Dianne Hackborn
ac76e72272 Merge "Add new scale-up window manager animation." 2012-04-16 17:34:25 -07:00
Dianne Hackborn
eabfb3a36e Add new scale-up window manager animation.
Like zoom thumbnail, but without the thumbnail.

Change-Id: I9486dd204398b87c9e70ff0d05d03f4a22449cd6
2012-04-16 17:32:50 -07:00
Dianne Hackborn
2c2ab0e071 Merge "Add new aapt dump badging output explaining implicit badging." 2012-04-16 17:32:18 -07:00
Irfan Sheriff
7bdcb1eed7 Fix ssid fetch
Change-Id: Iee5ee5f53bea7dea219b41735cd169389ca7e719
2012-04-16 16:49:26 -07:00
Irfan Sheriff
6079237576 Log messages in dump
Remove event logging and add messages in dump

Change-Id: Ic79c68443bac9b7257644ed6941853f44a9b0661
2012-04-16 16:47:10 -07:00
Jack Palevich
6608330a3c Merge "Improve GLSurfaceView Pausing." 2012-04-16 16:31:47 -07:00
Philip Milne
455cfc8dca Merge "Minor doc fix." 2012-04-16 16:28:16 -07:00
Philip Milne
fcc6a0f145 Minor doc fix.
Change-Id: I8f20c4751b599e0108c9373caef7e672d1cd4821
2012-04-16 16:12:19 -07:00
Jeff Brown
9704e78418 Merge "Refactor SensorManager to move non-API bits into a subclass." 2012-04-16 15:46:47 -07:00
Jake Hamby
1c23ed6218 Merge "Added API to replace unicoded digits to ascii numbers" 2012-04-16 15:10:18 -07:00
Jake Hamby
d207e2de9a Merge "Convert Arabic phone numbers to ASCII when sending SMS." 2012-04-16 15:10:07 -07:00
jshin
f80310d3c5 Added API to replace unicoded digits to ascii numbers
Users can enter arabic phone number or click arabic phone number
to send MMS. Works for generic Unicode digits (full-width, etc.).

bug:5615791
Change-Id: Ieec8c5c6c3736ee2b4ac8ddf17f8c41b2001460e

Signed-off-by: Jake Hamby <jhamby@google.com>
2012-04-16 15:06:40 -07:00
Jake Hamby
e333c82da3 Convert Arabic phone numbers to ASCII when sending SMS.
Modify PhoneNumberUtils to automatically convert non-ASCII digits,
such as Arabic-Indic numbers, CJK full-width digits, etc., to ASCII
in normalizeNumber(), extractNetworkPortion(), and stripSeparators().

This enables the SMS application to support sending SMS's to phone
numbers written with Arabic, or other non-ASCII digits. The number will
be converted to ASCII digits and formatted for the user according to the
country formatting rules.

Bug: 5615791
Change-Id: I42039285db5795b1dda22e4251f54af302e27f13

Signed-off-by: Jake Hamby <jhamby@google.com>
2012-04-16 15:06:40 -07:00
Makoto Onuki
127cdf6e60 Merge "Add # of changed rows to executeForChangedRowCount log" 2012-04-16 14:57:34 -07:00
Brett Chabot
c24ad53241 Merge "Build Smoke tests against the SDK." 2012-04-16 14:37:24 -07:00
Makoto Onuki
72eebb6b6d Add # of changed rows to executeForChangedRowCount log
Change-Id: I240849f8e90490bbb6f73bbf7047e71254c83f0c
2012-04-16 14:24:37 -07:00
Andreas Huber
901cb6160d Merge "Unhide new media related java APIs." 2012-04-16 14:06:05 -07:00
Eric Fischer
0c0b004a49 Merge "Import translations. DO NOT MERGE" 2012-04-16 13:41:23 -07:00
Eric Fischer
7183a5b177 Merge "Import translations. DO NOT MERGE" 2012-04-16 13:40:53 -07:00
Eric Fischer
9488700933 Import translations. DO NOT MERGE
Change-Id: I040b3101c38af0ae31039893863012eccc035381
2012-04-16 13:38:47 -07:00
Jeff Brown
c22ee664ee Merge "Fix lock ordering bug due to use of reentrant lock." 2012-04-16 13:28:37 -07:00
Eric Fischer
d07db78318 Import translations. DO NOT MERGE
Change-Id: I20ad5f365128dac908e1f5a7ced40af98be4dba5
2012-04-16 13:28:08 -07:00
Jamie Gennis
d1661dcc90 Merge "Unhide new SurfaceTexture & TextureView APIs" 2012-04-16 13:21:53 -07:00
Jeff Brown
8206525b24 Fix lock ordering bug due to use of reentrant lock.
Bug: 6340736
Change-Id: I4dc738da8c976182669b89af9dcb6fd11dcb0223
2012-04-16 13:19:05 -07:00
Jeff Brown
25157e458d Refactor SensorManager to move non-API bits into a subclass.
Changed the SensorManager class so that it only contains API-related
bits including what's needed to support legacy sensors.  Mostly just
moved stuff around.  Making the class abstract is safe because
it does not have a visible constructor in the API.

One minor change is that the cache of sensor type to sensor lists
is now per instance of SensorManager instead of being static.
We can fix this if desired.

Another small change is that we bail out early from registerListener
if the listener has already been registered for the particular
sensor.  This happened for both legacy and standard listeners.
The problem is that the ListenerDelegate maintains two lists of
sensors, one is a Map and the other is a List.  Adding a sensor
twice causes one entry to be added to the Map and two entries to be
added to the List, but when the sensor is removed the next time, only
one entry is removed from the List, leaving it in an inconsistent
state.

Removed Sensor.getLegacyType() since the value it provides is only
needed in LegacyListener and we don't really save any significant
computation by caching it.  Removing the field makes support for
legacy sensors a little more self-contained.

Bug: 6339552
Change-Id: I50d41ac97cf535924f2bfa2026d28547a4d00286
2012-04-16 13:03:55 -07:00
Jack Palevich
cee059dc76 Improve GLSurfaceView Pausing.
When pausing we want to do three separate things, in order:

 + release the EGL surface
 + optionally release the EGL context
 + optionally terminate Egl

Previously we would only do these things if we had an EGL surface. But
it is possible that we don't have an EGL Surface, but still have an EGL
context. And in that situation we still want to release the EGL context.

Now we check the preconditions for the three cases separately.

Bug: 6338235
Change-Id: I804683b3d5c136cc98ea3f5051067eea18152ddf
2012-04-16 12:25:36 -07:00
Kenny Root
70544533ae Merge "Better error reporting for PackageManager tests" 2012-04-16 12:16:00 -07:00
Jeff Sharkey
123328778e Merge "Move TrafficStats iface counters to xt_qtaguid." 2012-04-16 12:11:21 -07:00
Jeff Sharkey
c0e5b8c7fa Merge "DownloadManager and metered networks." 2012-04-16 12:03:43 -07:00
Jeff Sharkey
792e091045 DownloadManager and metered networks.
API to control whether a download is allowed to use metered networks.

Bug: 3001465
Change-Id: I29153d2a7495a2e9f76ef5be0a77696a85823839
2012-04-16 12:00:43 -07:00
Dianne Hackborn
4aa14b912f Add new aapt dump badging output explaining implicit badging.
New uses-implied-feature and uses-implied-permission tell you
about any features or permissions that aapt is automatically
adding to your app, and why it is doing so.

Change-Id: I45edb055408e1259699c994f956166ce67e8db5d
2012-04-16 11:34:15 -07:00
Dianne Hackborn
455b7bb83c Merge "Add missing clean steps." 2012-04-16 11:28:50 -07:00
Dianne Hackborn
8e638dc335 Add missing clean steps.
Change-Id: Iecb3ff4d6658e581e51414bdfc397953189e66cb
2012-04-16 11:27:11 -07:00
Bjorn Bringert
6e0ac89f38 Merge "Find new recognizer if old one is gone" 2012-04-16 11:23:55 -07:00
Jeff Sharkey
7bf8fba6f0 Merge "API to report if active network is metered." 2012-04-16 11:22:22 -07:00
Jeff Sharkey
9f7cbf0e50 API to report if active network is metered.
Report to developers if active network is "metered" and define it
as the user being sensitive to heavy data usage.

Bug: 3001465
Change-Id: I855ca3cd3eb1de3c4814148d70ccf24957af898a
2012-04-16 11:20:27 -07:00
Philip Milne
a5d552fc2b Fix for doc error.
Change-Id: I8aa029d96d4cd28354ecc742007e0fc35b05b705
2012-04-16 10:47:21 -07:00
Brett Chabot
8debcfa290 Build Smoke tests against the SDK.
Done so the new 'launch all apps' test can be utilized on older platforms.

Change-Id: Ie74ce258ceb372e78a0634a633bbb19dcd8e2779
2012-04-16 10:35:32 -07:00
Bjorn Bringert
ddf322915b Find new recognizer if old one is gone
Before, RecognitionManagerService just cleared the recognizer
setting, which the Settings app really doesn't like.

Bug: 6332933
Change-Id: If4f9b583c304c5ea99021dddda50fca55e3ac541
2012-04-16 18:16:37 +01:00