Commit Graph

1095 Commits

Author SHA1 Message Date
Dianne Hackborn
7f13e47620 am 1a904ded: am 8fca2ecc: Merge "New extra for GET_CONTENT." into honeycomb
* commit '1a904dedbb5a15b3e60cac0fab83a3734701aff6':
  New extra for GET_CONTENT.
2011-01-25 16:19:48 -08:00
Dianne Hackborn
1a904dedbb am 8fca2ecc: Merge "New extra for GET_CONTENT." into honeycomb
* commit '8fca2eccb03b9b8d71ec4a7ec088d617edec4e73':
  New extra for GET_CONTENT.
2011-01-25 15:19:17 -08:00
Dianne Hackborn
c4d0e6fcea New extra for GET_CONTENT.
Change-Id: Ib367c02619ee301d9651dd70d35f7d57aa8a0cbc
2011-01-25 15:16:55 -08:00
Dianne Hackborn
1563966ca0 am 98d169ea: am 5d9d03a0: Maybe fix issue #3093599: java.lang.IndexOutOfBoundsException...
* commit '98d169eacd65e6278bb8eab354f0278065771e9f':
  Maybe fix issue #3093599: java.lang.IndexOutOfBoundsException...
2011-01-24 22:31:26 -08:00
Dianne Hackborn
98d169eacd am 5d9d03a0: Maybe fix issue #3093599: java.lang.IndexOutOfBoundsException...
* commit '5d9d03a0234faa3cffd11502f973057045cafe82':
  Maybe fix issue #3093599: java.lang.IndexOutOfBoundsException...
2011-01-24 22:12:36 -08:00
Dianne Hackborn
5d9d03a023 Maybe fix issue #3093599: java.lang.IndexOutOfBoundsException...
...Invalid index 0, size is 0 at
android.app.ActivityThread.performPauseActivity(ActivityThread.java:2326)

It looks like if an arrow key is dispatched between the time the
list view is told its data set has changed and it does the resulting
layout pass, we could try to move the position to a now invalid
index.  This may prevent that from happening.

Also put in a better error message if saving state of a fragment
whose target is no longer in the fragment manager.

And fix a bug in PackageManager where we could return a null from
queryIntentActivities().

And add a new API to find out whether a fragment is being removed,
to help fix issue #3306021: NPE at
android.app.AlertDialog.getDefaultDialogTheme(AlertDialog.java)

Next, for new HC apps we can delay committing data to
storage until the activity is stopped.

Finally, use the new multi-threaded AyncTask executor in a few
places, so we don't have worked blocked by long-running tasks from
the application.

Change-Id: I27b2aafedf2e1bf3a2316309889613fa539760f3
2011-01-24 21:23:03 -08:00
Dan Morrill
c63ca57a16 am fe7006c5: am 9dbf1351: Merge "Adding faketouch feature." into honeycomb
* commit 'fe7006c5fc6f972aca2a4471ea5cd7db3947e809':
  Adding faketouch feature.
2011-01-23 14:20:42 -08:00
Dan Morrill
fe7006c5fc am 9dbf1351: Merge "Adding faketouch feature." into honeycomb
* commit '9dbf1351e8cd1d8a320cdc7fecffc876fffb71f1':
  Adding faketouch feature.
2011-01-23 14:18:52 -08:00
Dan Morrill
a537687c38 Adding faketouch feature.
Change-Id: Idff0b059c2f82fa4237d6238710e87dc55ae76a8
2011-01-23 13:36:13 -08:00
Mike Lockwood
e7d511e148 New APIs for USB host support:
UsbManager:
- is now a service retrievable via Context.getSystemService(Context.USB_SERVICE).
- provides support for returning a list all connected USB devices
- broadcasts ACTION_USB_DEVICE_ATTACHED and USB_DEVICE_DETACHED when devices
  are added and removed from the USB host bus

UsbDevice:
- represents an attached USB device.

UsbInterface:
- represents an interface on a USB device
- devices may have multiple interfaces if they provide multiple
   sets of functionality (for example, android phones typically have interfaces
   for both USB mass storage and adb)

UsbEndpoint:
- represents an endpoint on a USB interface
- endpoints are used for sending or receiving data
  (only in one or the other direction)

UsbRequest:
- encapsulates a send or receive request to be sent over an endpoint

Change-Id: Ieef3e434c62760770ea839070cf5eba1a705967a
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-22 15:56:09 -08:00
Dmitri Plotnikov
016c6daff0 am b92d08a7: am 48395385: Merge "Hiding the AsyncTaskLoader.waitForLoader method" into honeycomb
* commit 'b92d08a7385f241722b2299a988ab7a55053f6ea':
  Hiding the AsyncTaskLoader.waitForLoader method
2011-01-18 12:10:07 -08:00
Dmitri Plotnikov
b92d08a738 am 48395385: Merge "Hiding the AsyncTaskLoader.waitForLoader method" into honeycomb
* commit '48395385039a0c845bba8913c8d0c76981425aa4':
  Hiding the AsyncTaskLoader.waitForLoader method
2011-01-18 11:18:37 -08:00
Dmitri Plotnikov
4afde4fda3 Hiding the AsyncTaskLoader.waitForLoader method
I introduced this method a couple of weeks ago,
but then we had a chat with Dianne and she made
a good point that rather than having this behavior
on AsyncTaskLoader, we should have it on LoaderManager
and then it will cover all kinds of loaders,
not just the ones inheriting from AsyncTaskLoader.
She suggested that we postpone that work until
after Honeycomb.

Change-Id: I1939956296cddb678791ba652ab5f4a0dd45eea1
2011-01-18 09:41:29 -08:00
Dianne Hackborn
44b628d2f6 am ad81f4ff: am f4c4b666: Merge "Remove old APIs." into honeycomb
* commit 'ad81f4ffb8b8c32afea1a742dbb9bbc734b7a8a1':
  Remove old APIs.
2011-01-18 07:52:19 -08:00
Dianne Hackborn
ad81f4ffb8 am f4c4b666: Merge "Remove old APIs." into honeycomb
* commit 'f4c4b666234d0e5c510c846b13382b77175f10e1':
  Remove old APIs.
2011-01-18 07:34:09 -08:00
Dianne Hackborn
3c3a7f55bb am 2d6dae2f: am 80ad0b0a: Merge "Fix a bunch of API review bugs." into honeycomb
* commit '2d6dae2f4d2ce98adcb6fe83bcaa91a506805859':
  Fix a bunch of API review bugs.
2011-01-17 23:32:02 -08:00
Dianne Hackborn
2d6dae2f4d am 80ad0b0a: Merge "Fix a bunch of API review bugs." into honeycomb
* commit '80ad0b0aeb5a55d2e62aaaf18863253501b87b60':
  Fix a bunch of API review bugs.
2011-01-17 20:00:20 -08:00
Dianne Hackborn
17b9b81418 Remove old APIs.
Change-Id: If676e4e7886ad71c4959d4253db99639b49218b8
2011-01-17 17:16:02 -08:00
Dianne Hackborn
327fbd2c8f Fix a bunch of API review bugs.
3362464 API REVIEW: android.content potpourri
3362445 API REVIEW: Fragment transaction stuff
3362428 API REVIEW: Fragment stuff
3362418 API REVIEW: Loader stuff
3362414 API REVIEW: android.content.pm.ActivityInfo

Change-Id: I6475421a4735759b458acb67df4380cc6234f147
2011-01-17 16:23:42 -08:00
Kenny Root
9b4320f9db am a33dd09b: am d6c54d97: Merge "Revert "Add the {get,set}PackageObbPaths calls to API"" into honeycomb
* commit 'a33dd09b5cc62b50afc3a15cd8b67b5344756f1e':
  Revert "Add the {get,set}PackageObbPaths calls to API"
2011-01-17 13:07:47 -08:00
Kenny Root
a33dd09b5c am d6c54d97: Merge "Revert "Add the {get,set}PackageObbPaths calls to API"" into honeycomb
* commit 'd6c54d97867edd566700c535f3edf57dd4396350':
  Revert "Add the {get,set}PackageObbPaths calls to API"
2011-01-17 13:05:22 -08:00
Kenny Root
a1cbb94dbc Revert "Add the {get,set}PackageObbPaths calls to API"
This reverts commit 5d40fe9c68.

Change-Id: Ie41010c92fb860b19a12bcf63f6fe95ffa68da81
2011-01-17 13:00:47 -08:00
Kenny Root
c05dc09d27 am 898954d7: am d37d6616: Merge "Add OBB size to PackageStats" into honeycomb
* commit '898954d7469260c339eb776d0a3370b7dbcee720':
  Add OBB size to PackageStats
2011-01-17 12:06:35 -08:00
Kenny Root
898954d746 am d37d6616: Merge "Add OBB size to PackageStats" into honeycomb
* commit 'd37d661669cc019faa93177aee9c6143eebe490f':
  Add OBB size to PackageStats
2011-01-17 12:03:18 -08:00
Kenny Root
bcd6c96e75 Add OBB size to PackageStats
Bug: 3356814
Change-Id: I4f871fb9fd0cb2f3177cc756631f95d928862571
2011-01-17 11:21:52 -08:00
Jeff Brown
c886ff38c7 am fed9d654: am 5cdf0752: Merge "Support non-rectangular input regions." into honeycomb
* commit 'fed9d654e9f769a2d81682121faff01fee11555f':
  Support non-rectangular input regions.
2011-01-16 23:08:18 -08:00
Dianne Hackborn
c293a5627f am e27145d8: am 805fd7ee: Add API to get path to OBBs.
* commit 'e27145d83f144eb025f34985a02cda9cd5e0bcfe':
  Add API to get path to OBBs.
2011-01-16 23:08:00 -08:00
Kenny Root
a9d5188cc6 am d259468f: am fc28f412: Merge "Put externalSize measurements in PackageStats" into honeycomb
* commit 'd259468fe92b9714b45a134e781ce09681e70217':
  Put externalSize measurements in PackageStats
2011-01-16 23:05:15 -08:00
Dianne Hackborn
f2d4c9ec33 am 8a3a5320: am bdacefba: Merge "Change FLAG_FORWARD_LOCK back to its original value to not break things." into honeycomb
* commit '8a3a5320e616b79a227e5e1e4bc22b0b909925e1':
  Change FLAG_FORWARD_LOCK back to its original value to not break things.
2011-01-16 23:01:38 -08:00
Dianne Hackborn
3b403694be am 64e30643: am c237bb27: Merge "Add manifest API to request a large heap." into honeycomb
* commit '64e306430570fcfb35a1b14e1b333ad114b23829':
  Add manifest API to request a large heap.
2011-01-16 22:59:39 -08:00
Jeff Brown
fed9d654e9 am 5cdf0752: Merge "Support non-rectangular input regions." into honeycomb
* commit '5cdf07524132722e0db69db1ca8dcaf3f0073265':
  Support non-rectangular input regions.
2011-01-16 19:24:17 -08:00
Jeff Brown
5cdf075241 Merge "Support non-rectangular input regions." into honeycomb 2011-01-16 19:22:01 -08:00
Jeff Brown
fbf0977321 Support non-rectangular input regions.
This enables the system bar to carve out a region through which
events will be sent to the IME behind it.

Bug: 3238092
Change-Id: I69b855a8d9b5b3ee525266c0861826e53e5b5028
2011-01-16 18:58:49 -08:00
Dianne Hackborn
e27145d83f am 805fd7ee: Add API to get path to OBBs.
* commit '805fd7ee0e5dc2939e85c84f78d9890a51982bc0':
  Add API to get path to OBBs.
2011-01-16 18:47:55 -08:00
Dianne Hackborn
805fd7ee0e Add API to get path to OBBs.
Also hide the bitmap thumbnail stuff, we can't support it in its
current form.

And fix some bugs with propagating paths to native code.  Yikes!

Change-Id: I13ab37ddbdba5c073489cba5eab035117d3c1574
2011-01-16 18:43:04 -08:00
Kenny Root
d259468fe9 am fc28f412: Merge "Put externalSize measurements in PackageStats" into honeycomb
* commit 'fc28f412b54d811c61d4997ea94c79875f9ad015':
  Put externalSize measurements in PackageStats
2011-01-16 16:59:24 -08:00
Kenny Root
fc28f412b5 Merge "Put externalSize measurements in PackageStats" into honeycomb 2011-01-16 16:56:44 -08:00
Kenny Root
366949c2d9 Put externalSize measurements in PackageStats
When measuring a package's usage, put the external size in the
PackageStats as well. This will allow programs using a lot of space on
the external card to be held accountable.

Bug: 3308791
Change-Id: If2df07bdbf6ffb31577074fad8f4a87ca4e89086
2011-01-16 16:21:15 -08:00
Dianne Hackborn
8a3a5320e6 am bdacefba: Merge "Change FLAG_FORWARD_LOCK back to its original value to not break things." into honeycomb
* commit 'bdacefba95dcd2680b17120d1721167f5c7990c3':
  Change FLAG_FORWARD_LOCK back to its original value to not break things.
2011-01-16 14:27:03 -08:00
Dianne Hackborn
75e616e820 Change FLAG_FORWARD_LOCK back to its original value to not break things.
Change-Id: Ib9a38521cc5031a81bae5a830aaf458b8a5ee7a5
2011-01-16 13:31:24 -08:00
Dianne Hackborn
64e3064305 am c237bb27: Merge "Add manifest API to request a large heap." into honeycomb
* commit 'c237bb2776facbfd3325ef23865fd7f6ced67f17':
  Add manifest API to request a large heap.
2011-01-16 12:47:57 -08:00
Dianne Hackborn
3b81bc18bb Add manifest API to request a large heap.
You can now do android:largeHeap="true" on an application.

Doesn't yet do anything, waiting for Dalvik API.

Also tweak package parsing so that the SDK API level is set in the
configuration, allowing manifest resource value selection based on
that.

Change-Id: I6e035f9702a97b055416743b88f83a22ba4a9584
2011-01-16 12:08:38 -08:00
Dianne Hackborn
f445a88009 am 909d447d: am 0b08c5cb: Merge "Don\'t drop the drawable cache completely on configuration change" into honeycomb
* commit '909d447d8ab565019f05c2003bc4f9d1037b1b17':
  Don't drop the drawable cache completely on configuration change
2011-01-14 15:43:35 -08:00
Dianne Hackborn
909d447d8a am 0b08c5cb: Merge "Don\'t drop the drawable cache completely on configuration change" into honeycomb
* commit '0b08c5cb14e848f41eb33093c3e8198ab416e0ab':
  Don't drop the drawable cache completely on configuration change
2011-01-14 15:41:00 -08:00
Dianne Hackborn
0b08c5cb14 Merge "Don't drop the drawable cache completely on configuration change" into honeycomb 2011-01-14 15:37:28 -08:00
Kenny Root
27b775a62d am d9fa11b4: am 312206b9: Merge "Add the {get,set}PackageObbPaths calls to API" into honeycomb
* commit 'd9fa11b446da5dbc92776518c20bab1f04e55537':
  Add the {get,set}PackageObbPaths calls to API
2011-01-14 12:46:34 -08:00
Kenny Root
d9fa11b446 am 312206b9: Merge "Add the {get,set}PackageObbPaths calls to API" into honeycomb
* commit '312206b98749bbe395416634e6e82bd242b1d5f2':
  Add the {get,set}PackageObbPaths calls to API
2011-01-14 12:44:39 -08:00
Kenny Root
312206b987 Merge "Add the {get,set}PackageObbPaths calls to API" into honeycomb 2011-01-14 12:42:12 -08:00
Dianne Hackborn
0142e990ff am f21ae269: am d922ae01: Add Holo theme for IMEs.
* commit 'f21ae26935349f45c55afa5c8e45e1f6aa880915':
  Add Holo theme for IMEs.
2011-01-14 12:35:06 -08:00
Dianne Hackborn
f21ae26935 am d922ae01: Add Holo theme for IMEs.
* commit 'd922ae01ca99a2b6d39a9393f86776a1d10ebd14':
  Add Holo theme for IMEs.
2011-01-14 12:31:59 -08:00