40391 Commits

Author SHA1 Message Date
Fergus Henderson
3cf3a0b30c Merge "Fix for TTS.setLanguage throwing MissingResourceException" into jb-mr2-dev 2013-05-08 17:42:00 +00:00
Baligh Uddin
28d7c7e034 Import translations. DO NOT MERGE
Change-Id: Id91ccb35503df68ecc0c3f59c1601e0adf74e876
Auto-generated-cl: translation import
2013-05-08 08:21:20 -07:00
Przemyslaw Szczepaniak
d0b927948e Fix for TTS.setLanguage throwing MissingResourceException
Change I766f106b9165932de17de84bdd422d0fc0ae27f1 made getISO3*
methods throw MissingResourceException if locale was invalid.
This causes regression on last android release, where invalid
locale was silently ignored.

+ fix for .isLanguageAvailable

Bug: 8709594
Change-Id: Ieada6b90dc53cfdf0a4e2b4ca69854b811d0fec2
2013-05-08 15:56:12 +01:00
Jamie Gennis
d28653df65 Merge "Add the trace tag for Dalvik." into jb-mr2-dev 2013-05-08 01:21:33 +00:00
Alan Viverette
239a0c0e6a Ensure ViewRootImpl.setAccessibilityFocus() doesn't crash when reentrant.
Internal state must be cleared before calling any methods on the focus
host, since the method may be called again from the host and attempt to
recycle the same AccessibilityNodeInfo twice.

BUG: 8856860
Change-Id: I0410989fd6f3ce3ce29de8edebdfbf3847188843
2013-05-07 17:17:35 -07:00
Jamie Gennis
0cc84cefdd Add the trace tag for Dalvik.
Bug: 8856374
Change-Id: Id0fbdb8f7a487c5831edcd2c6c64a7da63aec03d
2013-05-07 15:23:06 -07:00
Robert Greenwalt
e2322bdd78 Merge "Don't back up the scan-always setting." into jb-mr2-dev 2013-05-07 20:45:03 +00:00
Robert Greenwalt
ffff923c74 Don't back up the scan-always setting.
We ask the user during device setup to configure this setting -
if we then restore from backup we clobber what they just selected.

Instead, just let them chose during setup and don't back it up.

bug:8825150
Change-Id: I3f2b2291c86a4008bb8ea2468164d9c6c673cbb0
2013-05-07 12:33:15 -07:00
Zhentao Sun
aa64548d9f Merge "Fixed unreleased wake lock isues and NPE." into jb-mr2-dev 2013-05-07 18:43:24 +00:00
Romain Guy
4c95c5377a Merge "Optimize list view scrolls Bug #8108706" into jb-mr2-dev 2013-05-07 02:05:38 +00:00
Romain Guy
5549cb590d Optimize list view scrolls
Bug #8108706

Change-Id: I8679b584132e82b7bb3301a38800de4ddfc57be6
2013-05-06 18:42:08 -07:00
Scott Main
05759d1531 Merge "add notice to not use 0 in startForeground(). also delete some obsolete back-compat tips for <=donut bug: 8746126" into jb-mr2-dev 2013-05-06 23:56:41 +00:00
Jesse Hall
2787ba25fd Merge "Register EGLExt JNI methods" into jb-mr2-dev 2013-05-06 23:47:17 +00:00
Dianne Hackborn
8bd64df2ad Help for the debugging help for issue #8734824.
Add a new "hang" am command that lets you hang the system
process.  Useful for testing.

Change-Id: Ice0fc52b49d80e5189f016108b03f9fd549b58a7
2013-05-06 16:07:26 -07:00
Jesse Hall
237c2b871f Register EGLExt JNI methods
Bug: 8678160
Change-Id: I8ecd2e6da2aee250b3433be18fff6af927b02994
2013-05-06 11:36:59 -07:00
Zhentao Sun
cfa496f7cd Fixed unreleased wake lock isues and NPE.
Fixed b/8834502. Wake lock might not be released when the callback is null.
NPE is thrown when the callback is null in some cases too.

Change-Id: I27d3af810669e446cfb57aba8715c80cba3e15e7
2013-05-06 11:22:44 -07:00
Dianne Hackborn
5b88a2fd7b Debugging help for issue #8734824: WATCHDOG KILLING SYSTEM PROCESS
IActivityController has a new callback which the Watchdog calls
when it detects that the system process is hung.  This may be
use full monkey.  All hail the monkey!

Also add a new private feature to Binder to be able to turn off
all incoming dump() calls to a process.  The watchdog uses this
when it reports it is hung, so that if someone, say, wants to
collect a bug report at this point they won't get stuck waiting
for things that are all busted.

Change-Id: Ib514d97451cf3b93f29e194c1954e29f948c13b1
2013-05-06 11:16:18 -07:00
Baligh Uddin
996f6b048b Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-05-06 18:07:30 +00:00
Robert Greenwalt
341666c40d Merge "Fix sync problem in NsdManager" into jb-mr2-dev 2013-05-06 16:37:44 +00:00
Baligh Uddin
d43ecb5462 Import translations. DO NOT MERGE
Change-Id: Ibceb0c93f3886cc191b9cd7d2fe026fb0d39c5da
Auto-generated-cl: translation import
2013-05-06 09:35:57 -07:00
Dave Burke
236cc476e6 Temporarily revert field name change (DO NOT MERGE)
VisualOn is using hidden fields, causing HBO and Xfinity to crash.
Bug: 8549617
Bug: 8331866

Change-Id: I35a9fe66dea8d56f4fcff9b492679226a17f4acc
2013-05-06 00:21:30 -07:00
Jesse Hall
02b7128f87 Merge "Add android.opengl.EGLExt class for EGL extensions" into jb-mr2-dev 2013-05-04 17:50:48 +00:00
Fabrice Di Meglio
8c2e3a412a Merge "Optimize RTL properties resolution" into jb-mr2-dev 2013-05-04 00:48:12 +00:00
Fabrice Di Meglio
09ecb255a6 Optimize RTL properties resolution
- dont bother children about resolving RTL properties if the ViewGroup parent
has not done anything

Change-Id: Iedf8a337097e04e1ab0054d59fc347e06b347ea7
2013-05-03 17:33:31 -07:00
Svetoslav
faa47b526f Merge "Idle maintenance scheduling broken." into jb-mr2-dev 2013-05-03 23:33:09 +00:00
Svetoslav
6a08a12b8e Idle maintenance scheduling broken.
1. The scheduling was relying on receiving battery level broadcasts
   which however are not sent if the device is asleep. The maintenance
   window was not bound and we could miss a frame if the user did
   not interact the device longer than the min time between two
   maintenance windows.

2. Hide the idle maintenance intents since this will be rewritten
   to user services.

bug:8688454

Change-Id: I17b421b09823cb46ec218cabda19e02432d94f8c
2013-05-03 14:03:06 -07:00
Adam Powell
2b662e8ef9 Merge "Fix a NPE in MenuItemImpl when setting null ActionProvider" into jb-mr2-dev 2013-05-03 18:58:35 +00:00
Adam Powell
dcc55855bc Fix a NPE in MenuItemImpl when setting null ActionProvider
Change-Id: I00be010b2197d0f41d0e45b3814474d3ad0c3295
2013-05-03 11:03:10 -07:00
Baligh Uddin
e648fd619a Import translations. DO NOT MERGE
Change-Id: I87827c5011c14cf265a7fe439cefdcd6a5c8db82
Auto-generated-cl: translation import
2013-05-03 10:59:40 -07:00
Satoshi Kataoka
245a3e1c1e Merge "Change the initial disabled state of disabled IMEs" into jb-mr2-dev 2013-05-03 02:34:39 +00:00
Jeff Brown
17cf4e4d4a Merge "Really make Surface thread-safe." into jb-mr2-dev 2013-05-03 02:11:03 +00:00
Robert Greenwalt
af2eefb701 Fix sync problem in NsdManager
The NsdManager init was thinking it was done before the AsyncChannel
was fully setup and if the setup were slow and the app fast, the app
could make calls to the NsdManager that it wasn't ready for.

bug:8545006
Change-Id: I2cb2a7c0a1c7f3d2b81ac0f66d37346e6d2d720d
2013-05-02 15:45:32 -07:00
Satoshi Kataoka
ed1cdb24ba Change the initial disabled state of disabled IMEs
Bug: 8365223

This change is a supplement for I77f01c70610d82ce9070d4a
The disabled state of disabled pre-installed imes should be changed
to ENABLED_STATE_DISABLED_UNTIL_USED on boot or user switch.

Change-Id: If8ff1b2b95c36d33148def2ab87bd006aa520cc0
2013-05-02 17:53:17 +09:00
Amith Yamasani
55a08c5ab9 Merge "Allow requiredForAllUsers to work on updates to system apps" into jb-mr2-dev 2013-05-02 04:26:01 +00:00
Jeff Brown
c31126088f Merge "Don't dump sql bindargs unless verbose mode is requested." into jb-mr2-dev 2013-05-02 00:52:26 +00:00
Amith Yamasani
0d8750d771 Allow requiredForAllUsers to work on updates to system apps
Bug: 8736380

Also set the default type as the constructor docs imply in RestrictionEntry.

Change-Id: I446504fad8822804d68f09b45ef62f6d79c4b8df
2013-05-01 15:31:49 -07:00
Jeff Brown
cefeb29d53 Don't dump sql bindargs unless verbose mode is requested.
Bug: 8780126
Change-Id: I88e238f9d684cc76731207e75370cbb2e0e476c5
2013-05-01 15:28:37 -07:00
Jeff Brown
fc0ebd7d37 Really make Surface thread-safe.
There were many places where the native object was being
accessed improperly.  Also some places where CloseGuard might
not be acquired or released correctly or where the generation
count might not be updated.

Fixed them all.

That said, Surface isn't intended to be used concurrently
so please don't do it.  This is only intended to make
hard to find crashes less likely.

Bug: 8328715
Change-Id: I981ef33425823e0fd7ad6b64443f2ec9b0c8335e
2013-05-01 15:28:01 -07:00
Jesse Hall
0c79d808cb Add android.opengl.EGLExt class for EGL extensions
Add the ES-relevant constants from the EGL_KHR_create_context
extension. These allow apps to check which EGLConfigs (if any) support
ES3 contexts. Otherwise, the app has to create a context with an
EGLConfig and then check whether it is an ES2 or ES3 context.

Also move eglSetPresentationTimeANDROID from EGL14 to EGLExt, since it's an
extension function. It's new in API 18.

Bug: 8678160
Change-Id: I3cba6e59ebb0a3a4c4012aa54a36b940c288bcec
2013-05-01 13:46:58 -07:00
Jesse Hall
09f3cc2bcc Merge "Fix GLES30 JNI registration" into jb-mr2-dev 2013-05-01 02:31:55 +00:00
Romain Guy
b107b7e9ec Merge "Prevent TextureView from ever setting a null layer paint Bug #8760436" into jb-mr2-dev 2013-05-01 01:14:41 +00:00
Casey Burkhardt
203aa72e74 Merge "Rebuilds ActionBar accessibility description as needed" into jb-mr2-dev 2013-05-01 00:15:44 +00:00
Casey Burkhardt
8452a7f2f6 Rebuilds ActionBar accessibility description as needed
Previously, ActionBarView only updated the contentDescription for the navigate
up/home affordance when it is enabled or disabled.  This causes that description
to be rebuilt and applied whenever the title or subtitle of the view is changed.
This also inadvertantly removes whitespace in ActionBarView.

Bug: 8757286
Change-Id: I1ea02cad20e0d5c0c57d071727cc647c4dd52d44
2013-04-30 16:05:56 -07:00
Scott Main
2e6de8fdcc add notice to not use 0 in startForeground().
also delete some obsolete back-compat tips for <=donut
bug: 8746126

Change-Id: I3ee966647aa2c9f572e6f02eeabfc2cf925a031f
2013-04-30 11:44:07 -07:00
Romain Guy
efb709adfe Prevent TextureView from ever setting a null layer paint
Bug #8760436

DO NOT MERGE

Change-Id: I7e4d09fa534f539cb99ebeaa8159fb11920460cf
2013-04-30 11:13:00 -07:00
Baligh Uddin
f0e8c78a11 Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-04-30 14:54:27 +00:00
Chet Haase
6b313da0d8 Merge "Clarify behavior of fullscreen mode and softInputMode's adjustResize" into jb-mr2-dev 2013-04-30 14:45:46 +00:00
Baligh Uddin
74b736fd1c Import translations. DO NOT MERGE
Change-Id: Ic7fe032626cac3828e5b1eeaf9f4b4513a46b77a
Auto-generated-cl: translation import
2013-04-29 22:25:03 -07:00
Alan Viverette
561dcc5823 Merge "Avoid crash when TextToSpeech calls onInit() from the constructor." into jb-mr2-dev 2013-04-30 01:11:08 +00:00
Chet Haase
45c89c2fad Clarify behavior of fullscreen mode and softInputMode's adjustResize
Fullscreen window's will not resize when the keyboard comes on screen,
regardless of the setting of the window's softInputMode field. This fix
clarifies the docs to make this behavior more obvious.

Issue #8754615 Clarify behavior of adjustResize and fullscreen interaction

Change-Id: Ie056db4e328cefaf0edb54fe8cfa7a08f320c8d0
2013-04-29 16:04:40 -07:00