13260 Commits

Author SHA1 Message Date
Dianne Hackborn
7da6ac33a9 Fix issue #3272051: Use backward transition when going backwards.
Also know as:

Issue #3272051 Contacts edit view: Tapping the in-app back button
results in a forward transition

Yeah more complexity in deciding which animation to use.

Also reduce complexity in deciding which app's animation set to use,
to balance things out (and make it have less stupid behavior).

Change-Id: I78c6c5c5249a96206f7e03ce587c1dcb9a7dc14f
2010-12-09 19:22:04 -08:00
Dianne Hackborn
bca1c4ffad Merge "Fix issue #3271486: SetupWizward NullPointerException in" 2010-12-09 13:16:49 -08:00
Dianne Hackborn
fb3806d68d Fix issue #3271486: SetupWizward NullPointerException in
andriod.app.ActivityThread.performStopActivityInner

Change-Id: Ifce73b7fc48fedb4767d759f70c98fcdee510f36
2010-12-09 13:14:12 -08:00
Christopher Tate
a58fd15a5b Merge "Add a couple of transport-descriptive methods to IBackupManager" 2010-12-09 13:06:46 -08:00
Christopher Tate
f5e1c29637 Add a couple of transport-descriptive methods to IBackupManager
Privileged callers can now ask the transport for a string describing
its current state, and for an Intent that can be passed to startActivity()
in order to bring up its exported configuration UI.  These will be used
in Settings in order to e.g. show the user the currently active account
being used for backup, and allow the user to choose an account.

The data being funnelled through IBackupManager here are the ones
already exposed by the transports in their implementation of the
IBackupTransport interface.

Bug: 2753632

Change-Id: I2227a2b111d8d0ddf221d63020e20c1316fff55b
2010-12-09 12:58:24 -08:00
Ben Murdoch
e627f55bf8 Merge "Make audio tag cope with live streams" 2010-12-09 11:54:24 -08:00
Amith Yamasani
d4de05eae3 Merge "Remove the OnItemClick listener when the fragment is destroyed." 2010-12-09 11:45:32 -08:00
Amith Yamasani
74402cfe4e Remove the OnItemClick listener when the fragment is destroyed.
Bug: 3228510

This probably fixes a lot of other monkey bugs in Settings.
2010-12-09 11:22:15 -08:00
Leon Scroggins
6b82c26607 Merge "Dismiss IME when pressing Next or Previous." 2010-12-09 11:04:06 -08:00
Mindy Pereira
596913ba04 Merge "Make sure bottom overscroll feedback takes scrollY into account." 2010-12-09 10:55:39 -08:00
Leon Scroggins
261f42d64d Dismiss IME when pressing Next or Previous.
Bug:3267230

Change-Id: If4ea2f589c42f7346685a7ce754298dd8e5a00b5
2010-12-09 13:50:00 -05:00
Mindy Pereira
e1be66cdbc Make sure bottom overscroll feedback takes scrollY into account.
This fixes an issue where the overscroll feedback was rendering
several pixels above the bottom of the list on a flick.

Change-Id: I66160d1b72c04f0273f063910eff995e2b2569f0
2010-12-09 10:23:59 -08:00
Andy Stadler
e9362fa157 Merge "API CHANGE - Add hasGrantedPolicy() API" 2010-12-09 10:05:27 -08:00
Dianne Hackborn
fe0b5a5260 Merge "Fix not saving state when restarting an activity." 2010-12-09 09:28:26 -08:00
Dianne Hackborn
e2b0480f5e Fix not saving state when restarting an activity.
Change-Id: I4c9e93e9523c9c62e3a15e6e4587ffad06280545
2010-12-09 09:24:55 -08:00
Andy Stadler
c25f70a440 API CHANGE - Add hasGrantedPolicy() API
* Allows an app to detect that it needs to have additional policies granted
* Add "refreshing" parameter to setActiveAdmin() to handle this case
* Minor cleanups to eliminate warnings (mostly for unused things)

Bug: 3253179
Change-Id: I4bf639bf560557130bf98e8cfb75f996fac416f1
2010-12-09 09:22:06 -08:00
Mike Lockwood
ffec4385a3 Merge "Rehide the PTP content provider interface from the public API." 2010-12-09 08:42:56 -08:00
Mike Lockwood
97b2488a14 Rehide the PTP content provider interface from the public API.
Change-Id: I472175d79a999038f2f2eef185a2f936109c2526
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-12-09 08:39:59 -08:00
Ben Murdoch
9059f44fee Make audio tag cope with live streams
Live streams seem to take a little while to initialize, so it's feasible
that we might get a play request before transitioned to the PREPARED
state. In that case track that we should start playing when onPrepare
completes.

Change-Id: I66ed0ef3a0905a1c5d4206fb2e7bbcc05a593fc7
2010-12-09 16:20:26 +00:00
Kristian Monsen
3f98f7bd53 Merge "Make CookieManager.removeSessionCookies async" 2010-12-09 07:26:01 -08:00
Kristian Monsen
8517305521 Make CookieManager.removeSessionCookies async
Webkit loadurl() will wait on the webcore thread until oustanding
cookie operations complete.

Change-Id: I067408fdb9acd2e2d1f1f21eef910d0b26304332
2010-12-09 11:41:02 +00:00
Amith Yamasani
3c9f519f89 Move the breadcrumbs to the right pane.
Bug: 3236568
2010-12-08 23:44:38 -08:00
Adam Cohen
5a242ec2cf Added some pieces for Wallpaper previews
Change-Id: I48cd80108e5a555a1ca6180e29f67a87e05e9683
2010-12-08 19:37:59 -08:00
Jeff Brown
19f5a91e92 Merge "Fix a regression in clearMetaKeyState." 2010-12-08 18:33:05 -08:00
Jeff Brown
52715a7c10 Fix a regression in clearMetaKeyState.
Bug: 3267519
Change-Id: Ibbc7d4e38ef3208b9ece09566e44e8421866ab95
2010-12-08 18:29:08 -08:00
Romain Guy
97684ed8dd Merge "bug_3259956 and bug_2166704" 2010-12-08 16:50:57 -08:00
Gilles Debunne
f7ae525855 SelectAllOnFocus text fields do not display the insertion handle when focused.
Change-Id: Ieb0dfe37498a339a781098134f4a0dd7f40193ec
2010-12-08 16:46:46 -08:00
Jim Miller
c57406cdfa Fix 3148496: Update PreferenceActivity to handle single-pane fragments.
This fixes a couple of bugs I found while updating SecuritySettings.

Change-Id: I9881cff71799ddf3c1d1493c2f7f3bfb31ca7774
2010-12-08 16:33:34 -08:00
Mathias Agopian
d211230633 remove support for PUSH_BUFFER surfaces and overlays
the same functionality is now supported through
the h/w composer HAL, and YUV support in the GPU.

Change-Id: I8146605449954b8e8fd7f78810b7d873c2d8f5bf
2010-12-08 16:13:59 -08:00
Svetoslav Ganov
a911d4a2b1 bug_3259956 and bug_2166704
Change-Id: I71b4cc3c1111e7a4e78fb276d54a291c22fb2752
2010-12-08 16:11:30 -08:00
Joe Onorato
1c3e3c78de Merge "Make setDrawable work after initialization has occurred." 2010-12-08 15:50:52 -08:00
Dianne Hackborn
47b8f52eb9 Merge "Fix issues #3257701 and #3267312" 2010-12-08 15:49:04 -08:00
Joe Onorato
aa07263463 Make setDrawable work after initialization has occurred.
Change-Id: Id040f69f2fc3402013229114fc3c1b0730eef579
2010-12-08 15:48:06 -08:00
Winson Chung
882754e8cc Merge "Modified GridView to report when to small" 2010-12-08 15:14:37 -08:00
Dianne Hackborn
9d0718042f Fix issues #3257701 and #3267312
3257701 Preference headers have duplicated "title" and "summary" if
        title is not loaded from a resource
3267312 Fragment.onConfigurationChanged doesn't get called

Change-Id: I76e346ba88aa632ebb9aa413a2ce2645ebf357cd
2010-12-08 14:52:58 -08:00
Brad Fitzpatrick
af8962e48e am 5f8524d4: am 36af7943: Fix malformed Javadoc.
* commit '5f8524d446fb217516eebafe5d347005051891d1':
  Fix malformed Javadoc.
2010-12-08 13:30:25 -08:00
Brad Fitzpatrick
5f8524d446 am 36af7943: Fix malformed Javadoc.
* commit '36af79434fb62c26238132eaeda2ec5e732f3c2f':
  Fix malformed Javadoc.
2010-12-08 13:23:03 -08:00
Adam Lesinski
edd9508aba Modified GridView to report when to small
-With views being able to set MEASURED_STATE_TOO_SMALL
the GridView should do so when the determining its
column widths/stretch modes

Change-Id: Ib8433ffa9e489467ffe7ed8169d4e23d69658c6c
2010-12-08 12:15:33 -08:00
Romain Guy
f8d47b88dc Merge "Fallback to software rendering when eglMakeCurrent fails. Bug #3200621" 2010-12-08 11:49:41 -08:00
Romain Guy
9745fae73b Fallback to software rendering when eglMakeCurrent fails.
Bug #3200621

Change-Id: Id8a455e64a1af23840752124b49c070c00e5e2a6
2010-12-08 11:39:15 -08:00
Brad Fitzpatrick
36af79434f Fix malformed Javadoc.
Change-Id: I5cfbd49272117defce5226da0f40a8392457a2e2
2010-12-08 11:31:07 -08:00
Dianne Hackborn
514d7d8d95 Merge "Rework activity lifecycle so onSaveInstanceState() is after onPause()." 2010-12-08 11:25:25 -08:00
Teng-Hui Zhu
5513337a4c Webview listen to Scroll event to update the viewport
In the case of unchanged layout, like replying in email/gmail,
scrolling should cause a viewport calculation update.
Otherwise, the content will be skewed.

Also, rename the mListener to mGlobalLayoutListener to avoid
confusion with added listener.

bug : 3143829

Change-Id: I7f5ee2e2cc9524e21cfffeef40b8650b6ee9a387
2010-12-08 09:01:41 -08:00
Cary Clark
5e17a1a18c don't scroll past the document bounds
bug:3260869
Change-Id: I255d2b18d738a422bd9d2948621b65e2f54ca0cd
2010-12-08 09:51:27 -05:00
Steve Block
81f19ffb94 Expose WebView.onPause() and onResume() in the public API
Also fixes up captialization of 'JavaScript' to be consistent.

Bug: 3054638
Change-Id: Ib60da17edb818c97013b399b4442f72c3bb386bd
2010-12-08 11:18:10 +00:00
Dianne Hackborn
0aae2d4e00 Rework activity lifecycle so onSaveInstanceState() is after onPause().
The goal is to fix a bunch of fragment-related bugs caused by various
things trying to do fragment transactions after onPause()...  which
currently throws an exception, since this is after the activity's state
has been saved so the new fragment state can be lost.

The basic change is relatively simple -- we now consider processes
hosting paused or stopping activities to be unkillable, and the client
code now does the onSaveInstanceState() as part of stopping the
activity.

For compatibility, if an app's targetSdkVersion is < HONEYCOMB, the
client side will still call onSaveInstanceState() prior to onPause()
and just hold on to that state until it needs to report it in once
being stopped.

Also included here is a change to generate thumbnails by taking
screenshots.  The code for generating thumbnails by re-rendering
the view hierarchy is thus removed.

Change-Id: Iac1191646bd3cadbfe65779297795f22edf7e74a
2010-12-08 00:35:27 -08:00
Nick Pelly
ff9afc1d61 am 8abce7f5: am 40ddd4a6: Merge "Implemented getSize() to return max ndef size." into gingerbread
* commit '8abce7f56e4298d3e0035208be48c7afe0e3d2ad':
  Implemented getSize() to return max ndef size.
2010-12-07 23:03:52 -08:00
Martijn Coenen
53bf29b916 am 2f3ed791: am 5289b91c: Implement ndef formatting.
* commit '2f3ed7912e852da88efd5ebf9651ba3a89d3c9bd':
  Implement ndef formatting.
2010-12-07 23:01:02 -08:00
Dianne Hackborn
3fa82a9fe8 am c4b7088f: am 42a23783: Merge "Add more checks for bad values to protect from corrupt files." into gingerbread
* commit 'c4b7088f19f8111ea5f34fba41da4a93899708cd':
  Add more checks for bad values to protect from corrupt files.
2010-12-07 23:00:49 -08:00
Nick Pelly
8abce7f56e am 40ddd4a6: Merge "Implemented getSize() to return max ndef size." into gingerbread
* commit '40ddd4a64908c0cbe4970d2ba1703f74717620a8':
  Implemented getSize() to return max ndef size.
2010-12-07 22:57:23 -08:00