17348 Commits

Author SHA1 Message Date
Romain Guy
c7816cd6a1 Merge "Don't let toasts "leak" Context instances." into honeycomb 2011-01-19 11:33:43 -08:00
Dianne Hackborn
7666ebd9f2 Merge "Bee seeing you..." into honeycomb 2011-01-19 11:16:38 -08:00
Romain Guy
c4d09f2b69 Don't let toasts "leak" Context instances.
Change-Id: I05a936579e60360cdb3453ad5cbcead8ca03191a
2011-01-19 10:55:19 -08:00
Mike Lockwood
54973710d7 Merge "Environment.isExternalStorageRemovable() is false if external storage is emulated" into honeycomb 2011-01-19 10:40:56 -08:00
Mike Lockwood
70ee3ca616 Environment.isExternalStorageRemovable() is false if external storage is emulated
Change-Id: Ib1afe83e4295d8304b65e822edd0dfa1591a5be7
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-19 10:19:12 -08:00
Leon Scroggins
3be1ffab08 Only scroll on screen when necessary.
Bug:3367446

bringPointIntoView was called by TextView in onPreDraw. This was
passing a message to the webcore thread to change the scroll
position.  This is unnecessary, because typically the scroll
position will be changed by webkit when keys are pressed. The
one situation where this helped was when the user taps on a
textfield, which brings up the IME, which may cover it. A better
solution is to tell webkit to scroll it on screen once the
screen size changes.  I have a CL in external/webkit to do that:
https://android-git.corp.google.com/g/#change,91095

Change-Id: I6e06ad59e1a1c99365bb5be635a43d1b88658c0d
2011-01-19 13:18:59 -05:00
Jean-Michel Trivi
928e48f2ba Merge "Fix bug 2084122: enable application control over text synth volume" into honeycomb 2011-01-19 09:13:04 -08:00
Kristian Monsen
c40fc87147 Need to sync the cache settings to native side
Fix for cts tests

Change-Id: I554f1240c16b2c2e68810e54d0ff99d13288a6a8
2011-01-19 15:44:04 +00:00
Ben Murdoch
6e710b4feb Merge "Maintain the seek position in HTML5 video" into honeycomb 2011-01-19 07:34:49 -08:00
Leon Scroggins
407772390f Make WebView inactive when title bar takes focus.
Bug:3296938
Change-Id: I656e8582044acf3b0e9b417f41337833fe72c181
2011-01-19 09:41:06 -05:00
Ben Murdoch
ff19d19e01 Maintain the seek position in HTML5 video
Receive the current seek position from native when we start
playing a video. That way is we are returning from pause we correctly
continue where we left off.

Requires and external/webkit change.
(I6001f45a362f491e9040c8b52260d0a08fb8504f)

Bug:3303721
Change-Id: I6b92289d4ef36bba1e0429327917533a4101655d
2011-01-19 11:48:15 +00:00
Winson Chung
32cf193412 Disabling queued unbinding of RemoteViewsServices until we fix flashing in widgets.
Change-Id: Iee53d4930dc4007df4298a282cdd5101876215a1
2011-01-19 00:52:34 -08:00
Winson Chung
81f39eb6e7 Refactoring app widgets to address security/performance issues.
- Moving the service binding to AppWidgetService to prevent arbitrary apps from binding to widget services
- Requiring RemoteViewsServices to require android.permission.BIND_REMOTEVIEWS permission

Change-Id: Id135bafba998299eb278067712b8a5d8487cfd04
2011-01-18 22:57:09 -08:00
Jim Miller
3355e18f68 Merge "Fix 3356338: Add recovery text to AccountUnlockScreen" into honeycomb 2011-01-18 21:14:38 -08:00
Adam Powell
d63d335810 Merge "Fix bug 3362258 - Fastscroll is out of sync with the list" into honeycomb 2011-01-18 20:44:44 -08:00
Adam Powell
b1f498afc3 Fix bug 3362258 - Fastscroll is out of sync with the list
Change-Id: I13282bfed355f5794041e83818ee2e9e97c1b318
2011-01-18 20:44:01 -08:00
Romain Guy
3cd030a4fe Merge "Don't pass a null View to OnListItemClickListener. Bug #3365153" into honeycomb 2011-01-18 20:27:22 -08:00
Romain Guy
7890fe2da4 Don't pass a null View to OnListItemClickListener.
Bug #3365153

Change-Id: I1328a554408bf16ec592ae1a747e57a5fb9305e3
2011-01-18 20:24:18 -08:00
Dianne Hackborn
3023afefd4 Bee seeing you...
Change-Id: I023425e1752b91fed36e6b005b7b03816f779d9c
2011-01-18 22:56:42 -05:00
Eric Rowe
f38bddbeb4 DO NOT MERGE Add connect HID/NAP BT stress test
Change-Id: I1d8cd5cb45583d1c4c5e94e72abbd8a9f04f53cf
2011-01-18 18:33:29 -08:00
Eric Rowe
a0d4d80fd2 DO NOT MERGE Cleaned up BT test utils
Change-Id: I905a468a04b5730258a9e6525165e4c4013d30c8
2011-01-18 18:33:29 -08:00
Romain Guy
2a83f001fd Recreate the EGL surface when ViewRoot's surface changes.
Bug #3306150

Change-Id: Ifbf0ab9deca7a34eff7d844ea7276d12d7284788
2011-01-18 18:28:21 -08:00
Romain Guy
064f6ad392 Merge "Recreate the EGL surface when ViewRoot's surface changes. Bug #3306150" into honeycomb 2011-01-18 18:26:22 -08:00
Adam Powell
923757567e Merge "Fix bug 3362979 - Holo light overflow button has stale focused state" into honeycomb 2011-01-18 18:03:23 -08:00
Adam Powell
0e6c3385eb Fix bug 3362979 - Holo light overflow button has stale focused state
Change-Id: Id16dbbe2e800109b3cc2b491f3cd2c1e19c3bac2
2011-01-18 18:02:39 -08:00
Dianne Hackborn
e641327052 Merge "Just a little 'ol activity manager permission change." into honeycomb 2011-01-18 17:49:05 -08:00
Dianne Hackborn
661b6cfb2b Merge "Okay, new plan for dialogs." into honeycomb 2011-01-18 17:48:22 -08:00
Dianne Hackborn
ef57575887 Okay, new plan for dialogs.
Don't dismiss by default when tapping outside, even for AlertDialog.

If AlertDialog doesn't have any buttons, tapping outside will dismiss it.

Applications can make their own dialogs (or activities looking like
dialogs) can use the existing and new APIs to control this behavior
themselves so that it does the right thing.

Change-Id: I02bfb9161e169de0033200211b3a7ec80080bd83
2011-01-18 17:35:17 -08:00
Dianne Hackborn
6c2c5fc993 Just a little 'ol activity manager permission change.
We no longer enforce permissions for applications that are accessing
their own components.  This allows an application to require a permission
on one of its components that it does not itself have.  This is useful
for example with the new advanced widgets, which require a system-only
permission on the implementing service to ensure the app's data stays
private but it is nice to allow the application to still touch its own
widget service.

Change-Id: I5d61930a083816919545870039ad191314ed48c6
2011-01-18 17:02:33 -08:00
Jim Miller
31dae92650 Fix 3356338: Add recovery text to AccountUnlockScreen
This adds hint text to visit google.com/account/recovery if
the user forgets their google password.

Change-Id: I4c4c250b9e4116d2769b7760fdc291fa756c3db0
2011-01-18 17:02:04 -08:00
Adam Powell
6cfc7a0acb Merge "Fix bug 3365208 - Contextual Action Bar is not displayed when the context item is changing" into honeycomb 2011-01-18 16:57:59 -08:00
Adam Powell
a1e6358a4c Fix bug 3365208 - Contextual Action Bar is not displayed when the context item is changing
Change-Id: I9e7ec4ab14c6008397d26c499ccf478f8875f918
2011-01-18 16:51:22 -08:00
Christopher Tate
17ed60c3d2 API CHANGE: add a no-View ctor for DragShadowBuilder
Cf conversation with the API council.  Also expand the javadoc
a bit.

Change-Id: I9d4edb1042e00492b3db5c6bb7c7d9648581efad
2011-01-18 16:07:06 -08:00
Romain Guy
745a529249 Merge "Smoother pinch-zoom in Browser." into honeycomb 2011-01-18 15:55:31 -08:00
John Reck
c098c1d348 Merge "Create db path if it doesn't exit" into honeycomb 2011-01-18 15:53:33 -08:00
Romain Guy
4f066784ec Smoother pinch-zoom in Browser.
Change-Id: Ie5a403b76ab25483a980324cd7b31976359fa796
2011-01-18 15:43:46 -08:00
John Reck
798378ee6c Create db path if it doesn't exit
Bug: 3241808
 Make sure the directory the caller is trying to open the icon db
 in actually exists and create it if it doesn't.

Change-Id: Ie5e4a09210e9430edc318846a551542119969053
2011-01-18 15:42:49 -08:00
Dianne Hackborn
36c84403ec Merge "Fix issue #3362484: Can't dismiss activity picker by tapping outside dialog" into honeycomb 2011-01-18 15:31:21 -08:00
Dianne Hackborn
cfaf8878de Fix issue #3362484: Can't dismiss activity picker by tapping outside dialog
Change-Id: Idc2fe5a86c61e8f94fe9d902a0087a05f6f7918e
2011-01-18 15:28:41 -08:00
Jeff Brown
f4368c959f Merge "Filter virtual keys after touches." into honeycomb 2011-01-18 15:26:15 -08:00
Eric Fischer
2c0d22e72c Merge "Import revised translations. DO NOT MERGE" into honeycomb 2011-01-18 15:13:06 -08:00
Jeff Brown
fe50892af3 Filter virtual keys after touches.
Adds a new virtualKeyQuietTimeMillis configuration resource that sets
the duration for which virtual keys will be dropped after recent touches
on screen.  The default value is 0; it is intended to be overridden
per device using a resource overlay.

This change is designed to help in two cases:

1. Swipes from touchscreen into virtual key area.
2. Accidental taps in virtual key area while using on-screen keyboard.

Bug: 3089163
Change-Id: Ib912d4f8a4df9966a39cd537d3ec7c24afab7225
2011-01-18 15:10:45 -08:00
Costin Manolache
b8b671df47 Merge "Add back NEW_TASK flag." into honeycomb 2011-01-18 14:37:24 -08:00
Eric Fischer
c6399ea957 Import revised translations. DO NOT MERGE
Change-Id: I4805367889be5c8a7a03591f11fea732f3b9edb7
2011-01-18 14:31:36 -08:00
Brad Fitzpatrick
3ab249cc32 Merge "Fixing memory leak in PreferenceScreen." into honeycomb 2011-01-18 13:26:56 -08:00
Mathias Jeppsson
1560003d4a Fixing memory leak in PreferenceScreen.
Every time the PreferenceScreen is displayed a new ListView is
created and bound to the adapter. As the same adapter is used during
the lifetime of PreferenceScreen and the listviews never gets
unbound, the adapter will contain a list of unused views. The old view
should be unbound from adapter when we create a new view.

Change-Id: I13e2d0dc79c8ff79b58efa650653e3f84c6e53c5
2011-01-18 13:20:34 -08:00
Kenny Root
241fc72b45 Merge "Don't cache return of getService in Environment" into honeycomb 2011-01-18 13:12:55 -08:00
Brad Fitzpatrick
b4f655d591 Merge "StrictMode class instance limit interface." into honeycomb 2011-01-18 13:11:33 -08:00
Kenny Root
b2278dc185 Don't cache return of getService in Environment
There is already a cache of all non-null return values for calls to
getService(), so don't bother caching it in Environment. This caused
some problems when Environment was called too early in the boot process
and getService() returned null.

Change-Id: I66739d01dab7e422f660d26b370ecce110dcc808
2011-01-18 13:08:06 -08:00
Brad Fitzpatrick
758035757f StrictMode class instance limit interface.
Change-Id: Ic5eea539586e5d4965d83364bf9f623d1d89f2b1
2011-01-18 11:38:37 -08:00