Commit Graph

14395 Commits

Author SHA1 Message Date
Svetoslav Ganov
bfc1ffcd36 am 79b780e0: am 424300f3: Merge "Ensure that no callback is invoked while initializing DatePicker" into honeycomb
* commit '79b780e011ad77c240dfc81e1d03e4b610c0d715':
  Ensure that no callback is invoked while initializing DatePicker
2011-01-17 11:53:43 -08:00
Amith Yamasani
4a71eb0fa9 am a46c4ce9: am a3aaad1f: Merge "Add back legacy layout for preference framework for compatibility." into honeycomb
* commit 'a46c4ce9815b128c0aafc96de36a4d331bc1c741':
  Add back legacy layout for preference framework for compatibility.
2011-01-17 11:53:33 -08:00
Jeff Hamilton
b689c6dbea am d0dbee21: am b01856da: Merge "Delivering null cursor to loader callbacks." into honeycomb
* commit 'd0dbee21505b7aaa05e65d41792a2b47249f0110':
  Delivering null cursor to loader callbacks.
2011-01-17 11:53:29 -08:00
Svetoslav Ganov
79b780e011 am 424300f3: Merge "Ensure that no callback is invoked while initializing DatePicker" into honeycomb
* commit '424300f3e4840bd06a1dbc22a25350c0589e3f89':
  Ensure that no callback is invoked while initializing DatePicker
2011-01-17 11:41:28 -08:00
Amith Yamasani
a46c4ce981 am a3aaad1f: Merge "Add back legacy layout for preference framework for compatibility." into honeycomb
* commit 'a3aaad1f7b4430cb7449767bb13fc1f43d688480':
  Add back legacy layout for preference framework for compatibility.
2011-01-17 11:41:17 -08:00
Jeff Hamilton
d0dbee2150 am b01856da: Merge "Delivering null cursor to loader callbacks." into honeycomb
* commit 'b01856da54892647afed260d017352d58648acc3':
  Delivering null cursor to loader callbacks.
2011-01-17 11:40:52 -08:00
Svetoslav Ganov
424300f3e4 Merge "Ensure that no callback is invoked while initializing DatePicker" into honeycomb 2011-01-17 11:32:29 -08:00
Amith Yamasani
a3aaad1f7b Merge "Add back legacy layout for preference framework for compatibility." into honeycomb 2011-01-17 11:27:40 -08:00
Svetoslav Ganov
3d20c846e4 Ensure that no callback is invoked while initializing DatePicker
bug:3360821

1. While my previous change:I3baff68c has partially fixed this bug
   it was still possible for a callback to be invoked on init. If a
   callback was already regitsered and the init is called the
   callback is incorrectly notified.

Change-Id: I05c6cb78f4c7b7d2a00c52aef42c1698d9479be5
2011-01-17 11:04:18 -08:00
Jeff Hamilton
b01856da54 Merge "Delivering null cursor to loader callbacks." into honeycomb 2011-01-17 11:03:40 -08:00
Kenny Root
87f11d7640 am 7b5b79e4: am ec7c9ff0: Hide USB mass storage APIs in StorageManager
* commit '7b5b79e4bc759b0a48c99a8edb28d932955e6117':
  Hide USB mass storage APIs in StorageManager
2011-01-17 09:57:23 -08:00
Kenny Root
7b5b79e4bc am ec7c9ff0: Hide USB mass storage APIs in StorageManager
* commit 'ec7c9ff0bb1c98cb8bec3ec7bdacbae3a434fa53':
  Hide USB mass storage APIs in StorageManager
2011-01-17 09:55:31 -08:00
Dmitri Plotnikov
fd119e986d Delivering null cursor to loader callbacks.
ContentProviders are allowed to return null and both
of our contact directories (Focus and Exchange) actually
do when they find no data to return.

The problem is that when LoaderManager receives a result
from a loader, it checks if the result is the same as
previously received.  That's fine, as long as the loader
always returns a different result.  Now consider a loader
that returns null when it cannot produce the result.
What we are seeing is that if the loader is rapidly restared
and returns null twice in a row, the null is never
delivered to the callbacks.


In the case of the reported bug, the scenario is this:

1. We look for "foo"
2. Data for "foo" comes from a directory and we display it
3. We hit backspace twice in rapid succession.  Each time
we hit backspace, the loader is restared, but since we do
this very fast, the second restart overrides the first.  So
far so good.
4. The directories are programmed to return null if the
query string is less than 3 characters long, so the loader
returns null twice.
5. Loader manager looks at the final result, compares it
to the previous result and since they are the same (both null)
concludes that it does not need to deliver either of them.
6. The UI attempts to show the stale data and blows up

Bug: 3352125
Change-Id: I3e5bc505faa03f72ebe5cb010377a740f5c7d5b6
2011-01-17 09:46:23 -08:00
Kenny Root
ec7c9ff0bb Hide USB mass storage APIs in StorageManager
They appear to have been unhidden in a bad merge from gingerbread.

Change-Id: Ice0fc865425d5d885af3c2e90a7ffeaa1d623b80
2011-01-17 09:15:36 -08:00
Adam Cohen
b9efec8b3d am 0a654ae3: am d110889c: Fixing bug related to collisions with AppWidget view ids and AppWidgetHost view ids
* commit '0a654ae398a84858ed00326c75b8ca15516db880':
  Fixing bug related to collisions with AppWidget view ids and AppWidgetHost view ids
2011-01-16 23:08:46 -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
Adam Cohen
432589b046 am dc0b8323: am 50204584: Fixing StackView bug (Issue: 3321912)
* commit 'dc0b8323d4fbe9c41de674ef8b18dd4efab67846':
  Fixing StackView bug (Issue: 3321912)
2011-01-16 23:06:36 -08:00
Patrick Dubroy
a409951f91 am c0147531: am e7218240: Merge "Add a method for clearing all animations on a thread." into honeycomb
* commit 'c01475318e0618219e9e56f274b38f6d3b76a9b1':
  Add a method for clearing all animations on a thread.
2011-01-16 23:06:11 -08:00
Adam Powell
0acd32fddf am 4b8bb8b0: am 70359ce2: Merge "Fix bug 3050138 - Action bar does not display correctly when many action items are added" into honeycomb
* commit '4b8bb8b01aa9c2eb2b94318009d6e84387ee0b01':
  Fix bug 3050138 - Action bar does not display correctly when many action items are added
2011-01-16 23:06:04 -08:00
Adam Cohen
efc47c52cf am 760534a6: am 67e8915c: Merge "Fixing StackView bugs:" into honeycomb
* commit '760534a68aebc761bd12a9cccf76135cb3e5ce3d':
  Fixing StackView bugs:
2011-01-16 23:05:39 -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
Jim Miller
a3006a46d0 am 3530ebe4: resolved conflicts for merge of 578e73da to honeycomb-plus-aosp
* commit '3530ebe451fea39b159baa9b8c9f9cd851de42a3':
  Fix 3106227: use WeakReferences for receivers in DigitalClock class
2011-01-16 23:04:55 -08:00
Romain Guy
b48e32803f am aa00dd65: am 94677083: Merge "Fix 9patch rendering in ExpandableListView." into honeycomb
* commit 'aa00dd650ca1d9b9499bdb9bcdc7182b35fce0f0':
  Fix 9patch rendering in ExpandableListView.
2011-01-16 23:03:11 -08:00
Patrick Dubroy
b1769b5d6c am 8a0efde5: am 6e72ff90: Merge "Fix latent bug with reinitializing an ObjectAnimator." into honeycomb
* commit '8a0efde52a79e93809597736dc0de22a138d884c':
  Fix latent bug with reinitializing an ObjectAnimator.
2011-01-16 23:02:48 -08:00
Joe Onorato
150c51d013 am bda28700: am c45389fd: Merge "fix the build... sorry... bad docs..." into honeycomb
* commit 'bda28700e3b61fbb18d24f62886bc366f444a54a':
  fix the build... sorry... bad docs...
2011-01-16 23:02:15 -08:00
Patrick Dubroy
dd5abe2b2d am 6943e5e8: am 149da0d4: Merge "Fix animation bugs caused by weak reference" into honeycomb
* commit '6943e5e8aefee2e89f76dcf989123e2139ca20be':
  Fix animation bugs caused by weak reference
2011-01-16 23:01:49 -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
Joe Onorato
3ce6e50ece am 4e0a956c: am 1ddf75a3: Merge "Change the default of how AsyncTask enqueues." into honeycomb
* commit '4e0a956c5a681bbd97b6718132f909affecf390c':
  Change the default of how AsyncTask enqueues.
2011-01-16 23:00:59 -08:00
Romain Guy
8675b3f79d am 761ae69b: am 3c372789: Merge "Don\'t dispatchDetachedFromWindow() if the View was not attached." into honeycomb
* commit '761ae69b7cb5639a5f468f258848578a6c8feb72':
  Don't dispatchDetachedFromWindow() if the View was not attached.
2011-01-16 23:00:35 -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
Chet Haase
ac4e2cbbb1 am 15401dc2: am 598913a6: Merge "Remove obsolete DoubleEvaluator" into honeycomb
* commit '15401dc2c22d53bdecd7441370630b95fad8691c':
  Remove obsolete DoubleEvaluator
2011-01-16 22:59:06 -08:00
Amith Yamasani
e5094700cf am fac8e262: am fe75749c: Merge "Fix position and size of searchfield and buttons." into honeycomb
* commit 'fac8e262a16c36d7467afd59b1029024a1afb2aa':
  Fix position and size of searchfield and buttons.
2011-01-16 22:58:19 -08:00
Adam Cohen
0a654ae398 am d110889c: Fixing bug related to collisions with AppWidget view ids and AppWidgetHost view ids
* commit 'd110889cbca4d40f8cdeddfe6eb2f498f470ae4b':
  Fixing bug related to collisions with AppWidget view ids and AppWidgetHost view ids
2011-01-16 19:48:02 -08:00
Adam Cohen
d110889cbc Fixing bug related to collisions with AppWidget view ids and AppWidgetHost view ids
Change-Id: I2512b83078cff6c4d444c95275625ff39466ac83
2011-01-16 19:46:15 -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
Adam Cohen
dc0b8323d4 am 50204584: Fixing StackView bug (Issue: 3321912)
* commit '502045849f760f018f662d752020aef32d4cecd9':
  Fixing StackView bug (Issue: 3321912)
2011-01-16 17:41:38 -08:00
Adam Cohen
502045849f Fixing StackView bug (Issue: 3321912)
Change-Id: I3a0e898e53a44146f1970479573880609f545799
2011-01-16 17:38:03 -08:00
Patrick Dubroy
c01475318e am e7218240: Merge "Add a method for clearing all animations on a thread." into honeycomb
* commit 'e7218240ab1e52de0f7d16c72b0a5b87679427a1':
  Add a method for clearing all animations on a thread.
2011-01-16 17:31:35 -08:00
Adam Powell
4b8bb8b01a am 70359ce2: Merge "Fix bug 3050138 - Action bar does not display correctly when many action items are added" into honeycomb
* commit '70359ce27d39222ef023078e5a461aee28bb7be1':
  Fix bug 3050138 - Action bar does not display correctly when many action items are added
2011-01-16 17:31:32 -08:00
Patrick Dubroy
e7218240ab Merge "Add a method for clearing all animations on a thread." into honeycomb 2011-01-16 17:28:11 -08:00
Adam Powell
70359ce27d Merge "Fix bug 3050138 - Action bar does not display correctly when many action items are added" into honeycomb 2011-01-16 17:28:05 -08:00
Adam Powell
36fced9b21 Fix bug 3050138 - Action bar does not display correctly when many
action items are added

Rules for action bar overflow:

Items are considered for inclusion in the order specified within the
menu. There is a limit of a total count, optionally including the
overflow menu button itself. This is a soft limit; if an item shares a
group ID with an item previously included as an action item, the new
item will stay with its group and become an action item itself even if
it breaks the max item count limit. This is done to limit the
conceptual complexity of the items presented within an action
bar. Only a few unrelated concepts should be presented to the user in
this space, and groups are treated as a single concept.

There is also a hard limit of consumed measurable space. This limit
may be broken by a single item that exceeds the remaining space, but
no further items may be added. If an item that is part of a group
cannot fit within the remaining measured width, the entire group will
be demoted to overflow. This is done to ensure room for navigation and
other affordances in the action bar as well as reduce general UI
clutter.

The space freed by demoting a full group cannot be consumed by future
menu items. Once items begin to overflow, all future items become
overflow items as well. This is to avoid inadvertent reordering that
may break the app's intended design.

Change-Id: I878f6b15619059258c91c01f4fe838feac161d6d
2011-01-16 17:20:23 -08:00
Amith Yamasani
e494662c99 Add back legacy layout for preference framework for compatibility.
Bug: 3184831

Copied holo layouts to *_holo.xml and restored the old layouts for
non-holo (pre-honeycomb) apps to use so that their layout assumptions
aren't messed up.

Change-Id: If4dcef16191a47a4b101da6bfb0c2df1757d1ae4
2011-01-16 17:19:08 -08:00
Patrick Dubroy
8901ffab29 Add a method for clearing all animations on a thread. 2011-01-16 17:15:28 -08:00
Adam Cohen
760534a68a am 67e8915c: Merge "Fixing StackView bugs:" into honeycomb
* commit '67e8915c94b4e841c80ce034c212d4f0cf9a5098':
  Fixing StackView bugs:
2011-01-16 17:10:22 -08:00