• Home
  • History
  • Annotate
  • only in /frameworks/support/v4/java/android/support/v4/app/
History log of /frameworks/support/v4/java/android/support/v4/app/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f79417e198124e78457517ec69bf7a9f48c953ce 20-Oct-2015 Todd Kennedy <toddke@google.com> Merge "Retain fragment loaders" into mnc-dr-dev
64ece2df3d6d789f7a642692acbe85fa1b998d6b 20-Oct-2015 Todd Kennedy <toddke@google.com> Retain fragment loaders

Remove the partial fix [it did not work for child fragment managers]
and replace with a more general fix that works with all fragments.

Bug: 23838271
Change-Id: Idf7decd64e344013df63359edd2d4268645eb99c
ragment.java
ragmentController.java
ragmentHostCallback.java
ragmentManager.java
e4148d65bbd62585c68c5782c2081bab6b303568 19-Oct-2015 Todd Kennedy <toddke@google.com> Set host when restoring a fragment

When we restore a fragment [i.e. on configuration change], we need to
make sure the host is set prior to calling into lifecycle methods
such as onInflate(). These use data contained within the host.

Bug: 22512520
Change-Id: I54215ae7ea4b89d42cd443f7772fb6a5c5eafd55
ragmentManager.java
641da2788e39dcbf17e99ae60c011500d6c5822d 10-Sep-2015 Todd Kennedy <toddke@google.com> save "retain loader" state

We cannot pull the "retain loader" state from the Activity; an Activity may
not always be hosting a Fragment. Instead, save the "retain loader" state
inside the individual fragments.

Bug: 23838271
Change-Id: Ie5033be06e46488a1ecd6ee18433b1bd737be7f6
ragment.java
ragmentController.java
ragmentManager.java
1b84066e4233b4b0c8a32fffc30f95b8cd20ced4 01-Sep-2015 Chris Banes <chrisbanes@google.com> Fix support Fragment attribute reading

Caused by the fact that when onInflate() is called
the host hasn't been set on the Fragment. This means
that the older deprecated version on onInflate() isn't
called.

BUG: 23707068

Change-Id: Ie41e4f7dde03a01c278bb07d32bcc2a777e939bb
ragmentManager.java
61401e37fd50cd0e3cbb9381d5f8d1295f3d7698 01-Sep-2015 Chris Banes <chrisbanes@google.com> Make sure we post setLayerType() calls from AnimationListeners

Animation seems to dispatch it's listener callbacks in the main
loop, which in this case is in View.draw(). This can leave View's
paint in a wierd state and result in the crash. We now post the
setLayerType() call avoiding the crash.

BUG: 23659571
Change-Id: I0541425e08a6a471faf08e310763d869fd42cb3d
ragmentManager.java
4a2d50d0a495f4ae568376d2d900feadd81d1acb 26-Aug-2015 Chris Banes <chrisbanes@google.com> Only use HW Layers for Fragments on JB+

BUG: 23546223
Change-Id: Ia7bebc5fa1495475cda72d75521168fb657ff957
ragmentManager.java
c5c0045de7c8848144a570665e0d3c950816f314 20-Aug-2015 Yusuf Ozuysal <yusufo@google.com> Reland: Add a way of generating a CustomTabsSessionToken from an intent

Currently there is no way of obtaining a session token from an
intent on the browser side. We add the session's ICustomTabsCallback
to the intent with CustomTabsIntent.Builder constructor but since
CustomTabsSessionToken don't have any public constructors and
ICustomTabsCallback is hidden we can't generate one using the IBinder
we got from the intent.

This change add a support library convenience call to do all this
behind the scenes.

Reviewed: https://googleplex-android-review.git.corp.google.com/#/c/755029/
Fixed: Javadoc link in BundleCompat.java

b/23389835

Change-Id: I63468335c6cb1389a8ecd89b151f7177aa733f08
undleCompat.java
e063d4d36883c9f7ca100036b9344b665ab6fd1e 24-Aug-2015 Yusuf Ozuysal <yusufo@google.com> Revert "Add a way of generating a CustomTabsSessionToken from an intent"

This reverts commit c502e639bdb79fa04454641310f8965d0ffe0191.

Change-Id: I89d1315200de3fa0c3d80522eda56f9db910fdf8
undleCompat.java
c502e639bdb79fa04454641310f8965d0ffe0191 20-Aug-2015 Yusuf Ozuysal <yusufo@google.com> Add a way of generating a CustomTabsSessionToken from an intent

Currently there is no way of obtaining a session token from an
intent on the browser side. We add the session's ICustomTabsCallback
to the intent with CustomTabsIntent.Builder constructor but since
CustomTabsSessionToken don't have any public constructors and
ICustomTabsCallback is hidden we can't generate one using the IBinder
we got from the intent.

This change add a support library convenience call to do all this
behind the scenes.

b/23389835

Change-Id: Iff0b28c2f85d0400646517dacacfa947a6e556f7
undleCompat.java
b4c7b0e4c11895a1d3befeb85868a48fe3610174 06-Aug-2015 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #22843150: fragment transaction crash from onRequestPermisssionResult" into mnc-dev
296cc5698f82375b48a9843c8db229693ef1ff6d 06-Aug-2015 Dianne Hackborn <hackbod@google.com> Fix issue #22843150: fragment transaction crash from onRequestPermisssionResult

Mark fragment state as not saved in new activity callback.

Change-Id: I74af430d6b91838550cff8daeaa346717103f8b4
ragmentActivity.java
66a7321ecf431709e292b0572187ca4b6333b16f 05-Aug-2015 Svetoslav <svetoslavganov@google.com> Fix bugs in the permissions support API

1. PermissionChecker#checkCallingPermission used wrong pid and uid

2. FragmentCompat and ActivityCompat for pre-M devices now check
the permissions via the package manager to determine the result
for the callback.

bug:22982938

Change-Id: I4a8834585ee0d245b7a6a1123ec1dafc71594b04
ctivityCompat.java
dddb7e2bbb343ecb435026c13028ba5cd1ae42a5 17-Jul-2015 Svet Ganov <svetoslavganov@google.com> Improve documentation of onRequestPermissionsResult

bug:22524902

Change-Id: I5b27b30d9e97513663afff71c77c0c4d751fef73
ctivityCompat.java
ragment.java
ragmentActivity.java
e899df75f63baf0669f3cbdb193c7475979c8122 30-Jun-2015 Svet Ganov <svetoslavganov@google.com> Update the support lib for final API version.

1. Update the SDK level check to use the official API number.

2. Updated the permission checker to use checkOp which now
allows checking app ops for another UID since noteOp has
side effects and a package cannot use it cross UID without
a signature or system permission.

bug:21596411

Change-Id: I61bc08d943f2779caba62c4686880a8d5c295107
ctivityCompat.java
ppOpsManagerCompat.java
05a2eeb7e0ac538747c1233b80ca0f9088ea033a 30-Jun-2015 George Mount <mount@google.com> Merge "Fix FragmentTransaction replace() behavior" into mnc-dev
1727b768eeeaa246791db74db868574049a562c4 29-Jun-2014 Eddie Ringle <eddie.ringle@gmail.com> Fix FragmentTransaction replace() behavior

Bug 22174959

According to FragmentTransaction's reference, replace()
should be equivalent to remove()'ing every fragment in
a given container and then adding the specified fragment
to replace those that were removed.

Commit 5506618c80a292ac275d8b0c1046b446c7f58836 broke
this intended behavior in the support library.

This patch makes it so that the removal loop doesn't
end prematurely. It also fixes an issue where the
replace operation would remove fragments regardless
of their container after encountering the first fragment
with a matching container ID.

Relevant issues:
http://b.android.com/43265
http://b.android.com/52112
http://b.android.com/53393
http://b.android.com/68856
http://b.android.com/70803

Change-Id: Ieab4468fa7a2afb63bd5fd87a21bbd95d54d638f
Signed-off-by: Eddie Ringle <eddie.ringle@gmail.com>
ackStackRecord.java
e1eea177bd4993151679183e88171f1e50c33054 25-Jun-2015 George Mount <mount@google.com> Fixed bug preventing shared elements from transitioning.

The wrong collection was passed, never allowing shared elements
to be targeted.

Change-Id: If23fdcfc80a3c4a30dc4062a8c2ecc38bb43f5c3
ackStackRecord.java
83dbcb9b96cc738ae705839ffda6fc4e119eba3d 15-Jun-2015 George Mount <mount@google.com> Merge "Limit shared element transition to shared elements and children." into mnc-dev
c33885b865c99ce9ae96214f0e9d7bd1ca12cb93 15-Jun-2015 George Mount <mount@google.com> Limit shared element transition to shared elements and children.

Bug 20257189

Shared element transitions should target the shared elements
or their children. When no target is given to a transition,
the transition should target the shared element. If a target
is given, it should also be able to target the children of
the shared element.

This is solved by wrapping the shared element transition
with a TransitionSet. The set is given the targets of all
shared elements and their children. Further, if no target
is given for a transition, the transition is given only
the shared elements as targets.

Change-Id: I4c13c849898b89c60d9bc0a8dd34d7c5543f2bdc
ackStackRecord.java
e2458f312876e3f9ac64f0155997ab21b2b906f2 14-Jun-2015 Svet Ganov <svetoslavganov@google.com> Add permission checking APIs that look at both permissions and app ops.

bug:21277214

Change-Id: I8fe98863333270666964adb69f92b2d3dcd78ef7
ppOpsManagerCompat.java
e1e957f536c20ebe2a7e6c417ccb2fd8f7fa845b 11-Jun-2015 Svetoslav <svetoslavganov@google.com> Add v4 support for permission APIs on fragments

Change-Id: I5a4abba0f65f5f92632c0031b0f7c259d5c61024
ragment.java
ragmentActivity.java
ragmentHostCallback.java
4f08e623f23cbb89881f35d3472b78d388b76dc9 08-Jun-2015 Todd Kennedy <toddke@google.com> make onGetHost() public

bug: 21698586
Change-Id: Ibe3aec760d20b787c4536b9fbbb00e8d36064244
ragmentHostCallback.java
0d47e0a1096db854ca2792eca5db4424fdd8003d 05-Jun-2015 Doris Liu <tianliu@google.com> Merge "Support Lib: Set a HW layer for Fragment alpha animation" into mnc-dev
65d105f1c330aa6300ecb9093204958a13bdaad5 04-Jun-2015 Adam Powell <adamp@google.com> Merge "Don't call onAttach twice on v4 fragments" into mnc-dev
3fe4ed986c71543c90790001a76ff8ae8a4571bc 04-Jun-2015 George Mount <mount@google.com> Merge "Clean up the enter transition even if there is not entering fragment." into mnc-dev
5f2544c0082203c392bae9b08401d5d9e73ab94d 04-Jun-2015 George Mount <mount@google.com> Clean up the enter transition even if there is not entering fragment.

Bug 21618103

Change-Id: Ib63dd282be1a5df3ffff305a7dc95f1c906f52f0
ackStackRecord.java
4f9d8c46f0446bfadee61eeefb82f3676bcdeb6e 04-Jun-2015 Svetoslav <svetoslavganov@google.com> Fix the java docs

Change-Id: I3b74e2ea246dc0ae834a38dfdc2623ea25368b51
ctivityCompat.java
37ae8a05502e0c07a17f6d37f3890109425b9ac8 04-Jun-2015 Svetoslav <svetoslavganov@google.com> Fix docs for real

Change-Id: I0fc7a802373d82f42777eacce47edd72ef1f1b82
ctivityCompat.java
8cbf484d41c18aa4e79f27a26ded0d275171f0dc 04-Jun-2015 Adam Powell <adamp@google.com> Don't call onAttach twice on v4 fragments

Remove an additional call to Fragment#onAttach in
FragmentHostCallback#onAttachFragment to re-sync with the current
state of the framework FragmentManager.

Bug 20559493

Change-Id: I4e879931b8035c05019cf6d53b14e1c4f12e21f6
ragmentHostCallback.java
e4df5cfce81fccd197b23c210337668820eb0826 04-Jun-2015 Svetoslav <svetoslavganov@google.com> Fix broken java doc

Change-Id: I5fd84aa3761e22022e6aee63e806b93ce9839d1a
ctivityCompat.java
e21490ed64c2c5c6677b795c34cca0d6a11174ea 03-Jun-2015 Svetoslav <svetoslavganov@google.com> Add more permission APIs to support lib

Change-Id: I28f7a1df548b9a7af7c445d1359a7560895166dd
ctivityCompat.java
36c328cb8d2b86ce99c9e7c7382478b2b496bdd3 03-Jun-2015 Svetoslav <svetoslavganov@google.com> Add support lib shims for new permissions APIs

bug:20526466

Change-Id: Ibb86ae414ed7ee62b4a865e07127d0b7ae141b32
ctivityCompat.java
03526560f132021f8fd7290259762ab362d4d567 28-May-2015 Doris Liu <tianliu@google.com> Support Lib: Set a HW layer for Fragment alpha animation

Change-Id: I477c410f7b932e7a9d737f85fa33bef0ba7c02e8
ragmentManager.java
21a621a996b79a9998a93561a96f1d66362d742e 28-May-2015 Doris Liu <tianliu@google.com> Merge "Revert "Support Lib: Set a HW layer for Fragment alpha animation"" into mnc-dev
8bfc13aa27c414b549679a3f0418205851dc38c6 28-May-2015 Doris Liu <tianliu@google.com> Revert "Support Lib: Set a HW layer for Fragment alpha animation"

This reverts commit 064fb71370836a8b16f021695127c043dca8c7c4.

Change-Id: I25710f34646b2b6e0815e421ba4f8d7103a5bc29
ragmentManager.java
43403817e33ddcd00a34cf50e53f6eb5f94f118f 28-May-2015 Doris Liu <tianliu@google.com> Merge "Support Lib: Set a HW layer for Fragment alpha animation" into mnc-dev
064fb71370836a8b16f021695127c043dca8c7c4 13-May-2015 Doris Liu <tianliu@google.com> Support Lib: Set a HW layer for Fragment alpha animation

This CL sets a HW layer for alpha animation to reduce the amount of
overdraw.

Bug: 8554227
Change-Id: Iae19ff370ed0e33614eeb520fe22aae98a0b89b1
ragmentManager.java
59a123238b4d4e54cdca583b30b5776168461862 27-May-2015 Todd Kennedy <toddke@google.com> Merge "Call Activity#onAttachFragment()" into mnc-dev
9887bd58aa2d49db919adab6b38b1da2ea6ba62e 19-May-2015 Chris Banes <chrisbanes@google.com> Merge commit 'd3d2b0f1' into manualmerge

Change-Id: I336180260d5d43f5fa739f13e1faee08f224931f
20680c49584c26f7818c2dec8fb00633af753e4a 19-May-2015 Chris Banes <chrisbanes@google.com> Allow FragmentActivity to hook in to Factory2 method

Since Activity will automatically install itself as a
private factory on HC+, we need to ensure that FragmentActivity
also hooks in as a Factory2. Currently, if FragmentActivity's
Factory is *not* called, the framework FragmentManager will
attempt to inflate a support Fragment and crash.

Also removed some AppCompat code which is now uneeded.

BUG: 21287184
Change-Id: Id163caa3ec46654e25706e58415d4aa7b0213dd1
ragmentActivity.java
976b6a8c18550ace670e0410453741d11dafa474 15-May-2015 Ian Lake <ilake@google.com> Introduce NotificationCompat.MediaStyle DO NOT MERGE

Make Notification.MediaStyle available from v7 with the support
library. For versions prior ICS, the normal template is used, as
buttons within notifications weren't supported. From ICS to
Jellybean, a custom template is used which maches the platform one.
On Lollipop and later, the platform implementation is used.

Bug: 17425365
Change-Id: I6a44c8b325c0fb204e3043e1114c4a2c3276d78f
(cherry picked from commit 10d7d250bc41b21059a90095e8b693c9e7bc3bc3)
otificationCompat.java
b979cb86fa389effb7cd79fa045550c10b7b4819 04-May-2015 Todd Kennedy <toddke@google.com> Call Activity#onAttachFragment()

This was accidentally removed during the changes to abstract a Fragment host.

Bug: 20825263
Change-Id: Ib345606f8ba41ca5b1a1d3b3e6fa47d256fbb90b
ragmentActivity.java
ragmentHostCallback.java
ragmentManager.java
fd598726f626ddcfc5e9a977e23a499c01191fdf 14-May-2015 Todd Kennedy <toddke@google.com> Merge "Sync API with platform" into mnc-dev
172a94c580e111987830a352c50d76c7db504088 26-Apr-2015 Chris Banes <chrisbanes@google.com> Add AppCompatDialogFragment

Needed so that it calls the correct window request method

BUG: 20590925

Change-Id: I3bd1a5aed1a1206eb058486b99c05f4c082b0429
ialogFragment.java
8491eb62f621cd5de4b4caed839be09c77011f53 30-Apr-2015 Todd Kennedy <toddke@google.com> Sync API with platform

While going through the main platform review, there were several
changes to class and method names. Apply those changes to the
support library to maintain parity with the platform.

Bug: 19569096
Change-Id: Ibe36a664c40379665e3482f792220d975974abca
ackStackRecord.java
ragment.java
ragmentActivity.java
ragmentContainer.java
ragmentController.java
ragmentHostCallback.java
ragmentHostCallbacks.java
ragmentManager.java
oaderManager.java
f61954d45144aaf6c8a649a15e29a8a9931bcdfc 15-Apr-2015 Todd Kennedy <toddke@google.com> Merge "Make fragment host usable"
10d7d250bc41b21059a90095e8b693c9e7bc3bc3 09-Mar-2015 Jorim Jaggi <jjaggi@google.com> Introduce NotificationCompat.MediaStyle

Make Notification.MediaStyle available from v7 with the support
library. For versions prior ICS, the normal template is used, as
buttons within notifications weren't supported. From ICS to
Jellybean, a custom template is used which maches the platform one.
On Lollipop and later, the platform implementation is used.

Bug: 17425365
Change-Id: I6a44c8b325c0fb204e3043e1114c4a2c3276d78f
otificationCompat.java
edaa101bfa72b5e5a5b14b9e6c66579eaed5e8cc 13-Apr-2015 Todd Kennedy <toddke@google.com> Make fragment host usable

There were some limitations in the API of the fragment host. This
should address them and allow the creation of a replacemnt fragment
host.
* added getHost() method; this is akin to the getActivity() method
and allows fragments to get a reference to their host. For the
FragmentActivity host, this method will return the same value as
getActivity()
* made all methods in FragmentController 'public'. This was an
oversight. There should be no package private methods in
FragmentController.
* removed "final" keyword from Fragment#getContext(). While this
method should be final, "getContext()" is too generic/common and
likely to be defined in existing Fragments. We're removing "final"
from the declaration to preven compile-time errors in legacy code.

Bug: 19569096
Change-Id: Id54e5febfdf2b2525c165ebb23f370f71f0ed0b8
ragment.java
ragmentActivity.java
ragmentController.java
ragmentHostCallbacks.java
bad4dff7276d69d92ac12e8e158a23d3363ba871 13-Apr-2015 George Mount <mount@google.com> Merge "Improve javadoc on SharedElementCallback."
0094e26ee39675042cf0545ecdf3b5b3a363efb8 10-Apr-2015 George Mount <mount@google.com> Improve javadoc on SharedElementCallback.

Bug 19709650

Change-Id: I86c048855ea11b8674ab8376ac2b5816a66f59eb
haredElementCallback.java
845332cbde9f3624ff4b266e81fb3aae658793ea 10-Apr-2015 George Mount <mount@google.com> Fix bug in Fragment Transitions where shared elements use same name.

Bug 19641883

Change-Id: I5d5d30f9fa04328347f86f5998222849fa99ecfa
ackStackRecord.java
78d43fdb32a21e535b42b416ce76ebef91d551ce 08-Apr-2015 Jorim Jaggi <jjaggi@google.com> Merge "Revert "Introduce NotificationCompat.MediaStyle""
76651ff7588ab266c87097b5610008d885b44090 08-Apr-2015 Jorim Jaggi <jjaggi@google.com> Revert "Introduce NotificationCompat.MediaStyle"

This reverts commit ae78f9989b9c5f6ba8b906f5b6acd0fd38a8ac90.

Broke the SDK build.

Change-Id: I55d3a0d89799c2f253283df9789ee4abe54fc41f
otificationCompat.java
070a85911f4c4306f5b6f51aab9986abf827cccc 07-Apr-2015 Jorim Jaggi <jjaggi@google.com> Merge "Introduce NotificationCompat.MediaStyle"
ae78f9989b9c5f6ba8b906f5b6acd0fd38a8ac90 09-Mar-2015 Jorim Jaggi <jjaggi@google.com> Introduce NotificationCompat.MediaStyle

Make Notification.MediaStyle available from v7 with the support
library. For versions prior ICS, the normal template is used, as
buttons within notifications weren't supported. From ICS to
Jellybean, a custom template is used which maches the platform one.
On Lollipop and later, the platform implementation is used.

Bug: 17425365
Change-Id: I854159991a6093b219d803036a74951c6437b6ff
otificationCompat.java
7fe187efeb231d848f283ea9e4a0514ce2a8e862 02-Apr-2015 Todd Kennedy <toddke@google.com> Fix build. Remove @deprecated tag

Method onRatainNonConfigurationInstance() is already marked as
deprecated in the super class. That's what I get for trying to
fix the eclipse yellow squigglies.

Change-Id: I9b91d5d7635752f6507d6e3bba44e1a030ca45d1
ragmentActivity.java
d608cf6e08769bf320c1b595cbbd9a7664160449 26-Mar-2015 Todd Kennedy <toddke@google.com> Remove dependency upon FragmentActivity

The FragmentManagerImpl is intimately tied with a FragmentActivity. In
many cases, we want to be able to create / manage Fragments outside of
a FragmentManager. This defines a FragmentController interface that can
be used by any class to host Fragments.

Bug: 19569096
Change-Id: I62dee733a70577d0d3c8f96a89e4b05a3d5e18b0
ackStackRecord.java
ialogFragment.java
ragment.java
ragmentActivity.java
ragmentContainer.java
ragmentController.java
ragmentHostCallbacks.java
ragmentManager.java
oaderManager.java
4d4c3c90bc904be87408d84f5e72cebf5f3dac0e 13-Mar-2015 Chris Banes <chrisbanes@google.com> am 7b61f370: am cbc126bb: am 1b8545b1: Merge "Fix compat child fragment inflation" into lmp-mr1-ub-dev

* commit '7b61f37066fa5ba028e3275c920aa478d0a51144':
Fix compat child fragment inflation
3c33a44fed0e76927995c4d18151430c77fce951 12-Mar-2015 Dianne Hackborn <hackbod@google.com> Merge "Add support for getReferrer()."
7b61f37066fa5ba028e3275c920aa478d0a51144 12-Mar-2015 Chris Banes <chrisbanes@google.com> am cbc126bb: am 1b8545b1: Merge "Fix compat child fragment inflation" into lmp-mr1-ub-dev

* commit 'cbc126bb39d4d14e6eb47eb9bd7e66782ec1c5e3':
Fix compat child fragment inflation
97c67a9e01b12203a42df4ccfeec708bbf123e4b 12-Mar-2015 Dianne Hackborn <hackbod@google.com> Add support for getReferrer().

Change-Id: I97efca34b3b5f45231513dd85303c64e1a051ea3
ctivityCompat.java
bf0947be2ead9b3d8e5865bcd3d3652d02a2aa5a 11-Mar-2015 Chris Banes <chrisbanes@google.com> Fix compat child fragment inflation

Was caused by AppCompat using a Factory2, which trumps
the Factory that FragmentManager was using. Fixed by
making sure we use a Factory2.

BUG: 19666640
Change-Id: I2f321da756a361ab7ed31aed65f0f8ce1f0d8bcd
ragment.java
ragmentActivity.java
ragmentManager.java
be94be409ca932ebe68f7c9234b9c53440441fe9 10-Mar-2015 Scott Kennedy <skennedy@google.com> am 2f51127b: am 23cd2ccd: am 91d6ad87: Annotate savedInstanceState in Fragment#onCreate() is @Nullable

* commit '2f51127b9fb287c4f46bbb0c574b632efb3c05dc':
Annotate savedInstanceState in Fragment#onCreate() is @Nullable
2f51127b9fb287c4f46bbb0c574b632efb3c05dc 10-Mar-2015 Scott Kennedy <skennedy@google.com> am 23cd2ccd: am 91d6ad87: Annotate savedInstanceState in Fragment#onCreate() is @Nullable

* commit '23cd2ccd6758c52eef71145134db2b3c21466929':
Annotate savedInstanceState in Fragment#onCreate() is @Nullable
91d6ad872f1dab57871e92dd097e35c1e59aeb26 10-Mar-2015 Scott Kennedy <skennedy@google.com> Annotate savedInstanceState in Fragment#onCreate() is @Nullable

Change-Id: I893fd29845e9603ff96e890f1ca3fab6dad9c4c3
ialogFragment.java
70acb0c19be3831a2080e4f902324de16bfbf62e 04-Mar-2015 Tor Norbye <tnorbye@google.com> Annotate support library with @ColorInt, @CallSuper, etc

Change-Id: Ifa25a628f89a07d3903cd71eb1c3639297fdf722
otificationCompat.java
220dc21ab5a2a5b3f8b6532105121750770a69f4 10-Oct-2013 Jeff Brown <jeffbrown@google.com> Add loader cancellation to support library.

This change brings the support library loader API in sync with the
current framework API.

Adds CancellationSignal and OperationCanceledException.

Adds support for canceling queries in progress on JB+.

Bug: 11070452
Change-Id: I67b858897539caad815b8dd28e828abdb1646534
oaderManager.java
71f208e56d1ba9a036c6ac06c7c0dca062e6d869 24-Feb-2015 George Mount <mount@google.com> am b1fb6a15: am 40cb56a3: Merge "Protect popFromBackStack with SDK_INT check." into lmp-mr1-ub-dev

* commit 'b1fb6a150a70b3ea048ecad829e6355f7576c0b9':
Protect popFromBackStack with SDK_INT check.
2f0e3626990f52844ec637cb4ffaaa2dee11eb61 18-Feb-2015 George Mount <mount@google.com> Protect popFromBackStack with SDK_INT check.

Bug 19229940

Change-Id: I90a2b5e6523761ede62de37a22dbd624274f6bca
ackStackRecord.java
340ba5a0b848c74d20bb316dc52dbcbfa6297b5c 23-Feb-2015 Scott Kennedy <skennedy@google.com> am 4a43900c: am 4297ef0c: Merge "Mark some methods/parameters @Nullable" into lmp-mr1-ub-dev

* commit '4a43900ccadb3ab4fc34292b246a7d167bdf2450':
Mark some methods/parameters @Nullable
c861fd8b28b0b878ccc194ee6099b3b1bc4c3ae8 23-Feb-2015 Scott Kennedy <skennedy@google.com> Mark some methods/parameters @Nullable

These now match the corresponding classes in android.app.*

Change-Id: If20c32636a5e64a9a64dadb0001983bd2bd3b850
ragment.java
ragmentActivity.java
9066b9dcbb24e56f616fe97263e5c49b51483b91 14-Feb-2015 Scott Kennedy <skennedy@google.com> am 667d5aeb: am 0fb3ec35: Mark findViewById(int) @Nullable

* commit '667d5aebe362a1da503c884e7eb01c5465288445':
Mark findViewById(int) @Nullable
0fb3ec354da6c1f3ed1777bca5270710cc537e92 14-Feb-2015 Scott Kennedy <skennedy@google.com> Mark findViewById(int) @Nullable

Change-Id: I9dff1548dd1cd5f0ce69bec3a47a4153de034458
ragment.java
ragmentActivity.java
ragmentManager.java
16e9cbadc4e698279a8a7c07a148a13f84655491 21-Nov-2014 Zhen Yu Song <zhensong@google.com> am fdd627f8: am 9d9c84c8: Merge "+ Make getters in UnreadConversation public." into lmp-mr1-dev

* commit 'fdd627f88b79660202b7604eab02554adeea708e':
+ Make getters in UnreadConversation public.
05bc3aaa395a0de55ec2e1f30d69bc6d1c18b150 21-Nov-2014 Zhen Yu Song <zhensong@google.com> + Make getters in UnreadConversation public.

Change-Id: I60d823cf14ed4b902880ab6727700e8d4b8ffa7c
otificationCompat.java
5178aa56a8fcb8b30da144af1362d46a2dcaccb8 18-Nov-2014 Griff Hazen <griff@google.com> am 767f69df: am fba186db: am db11b694: Improve doc for {get,set}HintAvoidBackgroundClipping (support)

* commit '767f69dfae08dd31ab326aefebc8f0c662a6cd38':
Improve doc for {get,set}HintAvoidBackgroundClipping (support)
fba186db946a3cc1ee43cda6c40ab933b392f47e 18-Nov-2014 Griff Hazen <griff@google.com> am db11b694: Improve doc for {get,set}HintAvoidBackgroundClipping (support)

* commit 'db11b694337b2a9320d7d7a5e156169a08d28a6d':
Improve doc for {get,set}HintAvoidBackgroundClipping (support)
db11b694337b2a9320d7d7a5e156169a08d28a6d 18-Nov-2014 Griff Hazen <griff@google.com> Improve doc for {get,set}HintAvoidBackgroundClipping (support)

Bug: 18414403
Change-Id: I99f06dab904b1094f0c3b330cbe4a91aa2c8dfd2
otificationCompat.java
9f59f1b742ff350cea24ba5b44a485725fe0f0cc 13-Nov-2014 Zhen Yu Song <zhensong@google.com> am 8eb16c1d: + Moved CarExtender to NotificationCompat Bug: 18316420

* commit '8eb16c1d9f309b829348e3c9342b745ce8cdef44':
+ Moved CarExtender to NotificationCompat Bug: 18316420
8eb16c1d9f309b829348e3c9342b745ce8cdef44 11-Nov-2014 Zhen Yu Song <zhensong@google.com> + Moved CarExtender to NotificationCompat
Bug: 18316420

Change-Id: I06471ad6e71eb7c87415aa263a0a8ad9563761bc
(cherry picked from commit 73342e6c85cc814b7117fb3a642c230021d6b7e9)
otificationCompat.java
dc0fc46d39d59276afd8f748c470b96d017bb6ff 13-Nov-2014 Zhen Yu Song <zhensong@google.com> am 838ba3df: am d2d93ffe: Merge "+ Moved CarExtender to NotificationCompat Bug: 18316420" into lmp-mr1-dev

* commit '838ba3df45ea8da802d8151354af8e07a806d613':
+ Moved CarExtender to NotificationCompat Bug: 18316420
73342e6c85cc814b7117fb3a642c230021d6b7e9 11-Nov-2014 Zhen Yu Song <zhensong@google.com> + Moved CarExtender to NotificationCompat
Bug: 18316420

Change-Id: I06471ad6e71eb7c87415aa263a0a8ad9563761bc
otificationCompat.java
9fb540e3be4561084ebbb6bbc801d00636adb3d3 06-Nov-2014 George Mount <mount@google.com> am 4654f34f: am 98224c2d: Merge "Only modify add Transition targets when they aren\'t targeted." into lmp-mr1-dev

* commit '4654f34f8a2d70392c879ac174799cb5a601a3bf':
Only modify add Transition targets when they aren't targeted.
c766ad5a6e0c115f08b933ede22375c7070a3391 31-Oct-2014 George Mount <mount@google.com> Only modify add Transition targets when they aren't targeted.

Bug 18191727

Transitions were targeting specific views, but they do this by
adding targets. If there was already a view targeted, now that
transition also targeted a different view. This prevents that
by only targeting views when no target was given.

Change-Id: I003d531c6d249e5fdec5a544d37220350838bb3a
ackStackRecord.java
463c8f9db565b9c5f701c76995b346b87e0f891d 28-Oct-2014 Dake Gu <dake@google.com> am 9c70ef22: am 290ba2db: Merge "Leanback: Add support for imageView scale type transition" into lmp-mr1-dev

* commit '9c70ef22a70cdf76392c697ab87b2653109f8c34':
Leanback: Add support for imageView scale type transition
290ba2dbf37227e931a657bd3c819db68a80480d 27-Oct-2014 Dake Gu <dake@google.com> Merge "Leanback: Add support for imageView scale type transition" into lmp-mr1-dev
4cec58be2acfbf69dcc1e909ebd7311d167fb95f 23-Oct-2014 Griff Hazen <griff@google.com> am 6c9a1ec5: am 81a89dac: am 24e54482: Merge "Improve support for the barcode-on-screen use case for wearables." into lmp-sprout-dev

* commit '6c9a1ec570ae514928c84ee97c13b9e13fe3911b':
Improve support for the barcode-on-screen use case for wearables.
81a89daccc721208d242c8b59f489f68f2dceaab 23-Oct-2014 Griff Hazen <griff@google.com> am 24e54482: Merge "Improve support for the barcode-on-screen use case for wearables." into lmp-sprout-dev

* commit '24e54482e0bd9348766c87724854d5c09bdcf070':
Improve support for the barcode-on-screen use case for wearables.
6363f05242a7b0d9c9086515addf6b4f8a9388c2 21-Oct-2014 Adam Powell <adamp@google.com> am feef4534: am e4ecf4ad: Merge "Ensure Fragment is Added before attempting to save state"

* commit 'feef45346287b82e323b7793043b3500677084e9':
Ensure Fragment is Added before attempting to save state
c9e4b6fcfcc361f65f2f579b2c001ad99a194638 06-Oct-2014 Griff Hazen <griff@google.com> Improve support for the barcode-on-screen use case for wearables.

Add two small developer apis to wearable extender to help developers
show barcodes on different shaped wearable screens.

Bug: 16299175
Bug: 17005635
Change-Id: I5da006453528ec63484c01240330338d19a280bd
otificationCompat.java
62cf5e32ad0d24fffde4c0d0425aa12cd2b054a6 09-Oct-2014 Bryan Emmanuel <piusvelte@gmail.com> Ensure Fragment is Added before attempting to save state

When a FragmentStatePagerAdapter is set to a ViewPager in onCreate
the Fragments are populated, and it is assumed that they will be
added to the FragmentManager for saving state later. This is not
guaranteed and will result in an IllegalStateException if they are
not added, such as if a new Activity is started in onCreate.

This change checks Fragment.isAdded() before proceeding to save
state.

Issue: https://code.google.com/p/android/issues/detail?id=77285

Change-Id: I9197cb319a2b1bf070ab1fd8a7abbf9ee01de543
Signed-off-by: Bryan Emmanuel <piusvelte@gmail.com>
ragmentStatePagerAdapter.java
5e63ab9505a3a4d11374cbbec418c1aba921409d 07-Oct-2014 Chris Banes <chrisbanes@google.com> Remove the intermediary ViewGroup for support-v4 fragments

On Honeycomb and above the extra ViewGroup isn't needed
as we can use setSaveFromParentEnabled() like the framework
FragmentManager impl.

BUG: 17901056
Change-Id: I7b3cb130943f8f0e9ab7c910f86f5d711bd42f7a
ragmentManager.java
1cbde29329daabfbda18aabf7fb547d3a4c4a9c6 12-Sep-2014 Pete Gast <pgast@google.com> Expand NotificationCompat.Action.WearableExtender to customize labels.

BUG: 15774526
Change-Id: I1d090808c62aece277009dce0ade47412327989d
otificationCompat.java
b81a2943b9e150c6caca969e62c5375928c4cd1c 30-Sep-2014 Dake Gu <dake@google.com> Leanback: Add support for imageView scale type transition

Copy snapshot code from framework SharedElementCallback.

Read scale type and matrix from snapshot view. Requires a framework change.

b/17703309

Change-Id: I9c0f3c980b4724cbd118e2d6e25aa2750ce47260
haredElementCallback.java
89e6774cdb200acc2dd5f4c9022a7e1aeeb05bce 29-Sep-2014 Chris Wren <cwren@android.com> Update the support lib documentation on EXTRA_PEOPLE.

Include the supported formats with links to ContactsContract documentation.

Bug: 15283556
Change-Id: I3a14ea12c0c0dce49c9b86fe9aca0db702cfd31b
otificationCompat.java
62260534040eba52462875a435df2c1f50ab846e 19-Sep-2014 George Mount <mount@google.com> Target only shared elements with shared element Transition

Bug 17549213
Bug 17553253

Change-Id: I82b9f52fdd8b386abd5839e1471fab82f890b327
ackStackRecord.java
983592c887664932c3b27433ef9fb1ff191a7972 19-Sep-2014 George Mount <mount@google.com> Merge "Fix exception when fragment container has no View." into lmp-dev
7516316ffdf6fbf7b248c615404831191daa66a4 18-Sep-2014 George Mount <mount@google.com> Fix exception when fragment container has no View.

Bug 17535259

Change-Id: Ic58886e93557b8894d4754597889bd29476259de
ackStackRecord.java
ragment.java
ragmentActivity.java
ragmentManager.java
8dfd79ec7028cfdfa1ba69ed7cbf27aac41dc78a 18-Sep-2014 George Mount <mount@google.com> Fix custom animations disabled always.

Bug 17549252

Custom animations should only be disabled when fragment transitions
are running.

Change-Id: I8ec0bc9b90ce7d149b1c5fe25363bb5e7bbe315b
ackStackRecord.java
8e3889623384313f164e67451bedc153ea2a1fcf 15-Sep-2014 George Mount <mount@google.com> Merge "Fixed enter/exit transitions working against shared elements." into lmp-dev
5a8f14de0bb4304f9a3aebdcb35ee0dd607f27f7 15-Sep-2014 George Mount <mount@google.com> Fixed enter/exit transitions working against shared elements.

Bug 17499971

The enter and exit transitions were targeting the shared element.
This means you'd get double transitions on the shared element.

Fixed bug where the wrong views were targeted when there was
only one enter/exit/shared element transition.

Change-Id: Ieb3a4cfcd35479a82adc3ee269c5b0015ab5d5af
ackStackRecord.java
6b66bba139388c50710897e96737487146fd31e4 15-Sep-2014 Christoph Studer <chstuder@google.com> Merge "NoCompat: Add missing L extras" into lmp-dev
b1413bc4de16e05ae0455cad93f1edfbcc4eced2 12-Sep-2014 George Mount <mount@google.com> Changed method name to match Activity's method name.

Bug 17488968

Change-Id: Idf9957b003940464d86ac7fcfa530a9b2dfcaf47
ragment.java
ec29fdcef449d2972bac6ad406bb8571ccbafc0f 12-Sep-2014 Christoph Studer <chstuder@google.com> Merge "NoCompat: Initialize mShowWhen to true" into lmp-dev
41484f326c4dd126e84b26828ba340a8ae9406e8 11-Sep-2014 Christoph Studer <chstuder@google.com> NoCompat: Add missing L extras

Bug: 17425365
Change-Id: I2097b890743eb6a182286318523f150d5b86787d
otificationCompat.java
4c7c4787069fe222c2f74bbaa078debe389ae383 12-Sep-2014 Christoph Studer <chstuder@google.com> NoCompat: Initialize mShowWhen to true

Matches the default in Notification.

Bug: 17425365
Change-Id: Ie1a508353267c813135bc50c4d98ae2a99c66291
otificationCompat.java
6739bc7f97ba5486b6f6114fb3812b098822cc3c 10-Sep-2014 George Mount <mount@google.com> Merge "Move capturing entering views until just before transition." into lmp-dev
0f5ae57910484f1d873fdad90966b6244a633bd4 08-Sep-2014 George Mount <mount@google.com> Move capturing entering views until just before transition.

Bug 17407387
Bug 17420256

Recycler view doesn't instantiate its views until after
the onCreateView call. This delays the capturing of
final views until just before the entering state is
captured for the Transition.

Change-Id: Ifd6ecaa21cefb4f6f8f720b319993bf0b9e2d8f7
ackStackRecord.java
a52784195525cdb1f2bb4d8dde1b8b314f480957 10-Sep-2014 Chet Haase <chet@google.com> Remove references to "L"

Issue #16894783 Remove references to L when API is locked down

Change-Id: Icf1215eed34e6fbe3d71a5cec4bf1699c3bc3ff9
ctionBarDrawerToggle.java
ctivityCompat.java
ctivityOptionsCompat.java
ackStackRecord.java
otificationCompat.java
755b0af73cb09498b0fd728071d195f1f81c241c 09-Sep-2014 Griff Hazen <griff@google.com> Merge "Add a few missing notification features to compat." into lmp-dev
48d8878e34b0d9983166418378125b63faac9aab 20-Aug-2014 Griff Hazen <griff@google.com> Add a few missing notification features to compat.

1. EXTRA_BIG_TEXT from 21
2. showWhen from 17.

Bug: 17425365

Change-Id: I638fd7213fd2bec83a62922d0c12578ce1089217
otificationCompat.java
24c306a957c2c0de030d87269bb28b19d7bd7100 08-Sep-2014 Christoph Studer <chstuder@google.com> NoCompat: Limit CharSequence input to 5K chars

Bug: 17363929
Change-Id: Id56b7bda7322b10d1ac1f038acb325c530facb19
otificationCompat.java
362e45b58bee02699f046ed1b4492e5808837f64 05-Sep-2014 George Mount <mount@google.com> Fix build break.

Change-Id: I3d41f20a8cb7f84e6c906b005b0c51318f5323f5
ragment.java
9306f07b1d66f4974a81f781d29739b30124fff0 29-Aug-2014 George Mount <mount@google.com> API Review: change SharedElementListener to SharedElementCallback

Bug 17289526

Change-Id: I49f8d838207524fbf0ec099021bcf7312c28bd82
ctivityCompat.java
ackStackRecord.java
ragment.java
ragmentActivity.java
haredElementCallback.java
haredElementListener.java
9f4a046cbeb22a24d322a644323b41022ad9d15a 02-Sep-2014 George Mount <mount@google.com> Change Fragment Transitions to match Activity Transitions API.

Bug 17188255

Change-Id: I99897ba3c78f3f140000a719afbcfac951e43290
ackStackRecord.java
ragment.java
ragmentManager.java
ragmentTransaction.java
058467cbd6dd0acdfaec61e65ab9e352868ec5c9 27-Aug-2014 Yigit Boyar <yboyar@google.com> Create a new ActionBarDrawerToggle with arrow and hamburger menu

Bug: 16514897
Bug: 17353988

Change-Id: Ia3c39b6accf3923bd297740b24e48dba35820b37
ctionBarDrawerToggle.java
128bb5c66d0b34c5a658c682deb3a0b9199b20c4 22-Aug-2014 George Mount <mount@google.com> API Review: change fragment transition methods.

Bug 16959326

Change-Id: Ie0aea3b3a6fd432ca061d8bf8a245e0a3ec25e99
ackStackRecord.java
ragmentTransaction.java
666f2ee12c13b274d3e379e182caf9844a9c198d 19-Aug-2014 Andrew Solovay <asolovay@google.com> am 9b431dc2: am 13638e0e: am a3e17fdd: docs: Corrected typo in shouldUpRecreateTask()

* commit '9b431dc228e2d99d34fe07e66fa86ea96a5a653c':
docs: Corrected typo in shouldUpRecreateTask()
9b431dc228e2d99d34fe07e66fa86ea96a5a653c 18-Aug-2014 Andrew Solovay <asolovay@google.com> am 13638e0e: am a3e17fdd: docs: Corrected typo in shouldUpRecreateTask()

* commit '13638e0e4ba908fc8807229a208ffb016e576ac5':
docs: Corrected typo in shouldUpRecreateTask()
a3e17fdd9bd732774f5058688efe6788662c1700 11-Aug-2014 Andrew Solovay <asolovay@google.com> docs: Corrected typo in shouldUpRecreateTask()

The doc for shouldUpRecreateTask() had (what looks like) a typo--the
descriptive text said "If it returns false, that means A. If it
returns false, that means B." Judging from the @returns line, the
second of those sentences should have been "If it returns *true*"...

Updated doc staged to:

http://asolovay.mtv:9349/reference/android/support/v4/app/NavUtils.html#shouldUpRecreateTask(android.app.Activity, android.content.Intent)

Bug: 15454349
Change-Id: Ic04c22598194607f5f60a0fc4eaca1448199eb39
avUtils.java
fb81e09002d1d611168b204fc50d259fc15f27b2 06-Aug-2014 Jeff Brown <jeffbrown@google.com> Disable passive discovery on low-RAM devices.

On low-RAM devices, passive discovery has a significant impact on
system performance because it causes many media route provider services
to be started and kept running for as long as the application requests
discovery (usually the whole time it is in the foreground).

To mitigate this issue, the CALLBACK_FLAG_REQUEST_DISCOVERY flag is
now ignored on low-RAM devices. Also, isRouteAvailable may return
true in cases where it is possible for a route to be discovered
even if one hasn't been found yet. These two changes have the effect
of causing the MediaRouteButton to always be shown on low-RAM
devices. When the user clicks on this button, active discovery will be
performed as usual.

Added CALLBACK_FLAG_FORCE_DISCOVERY and AVAILABILITY_FLAG_REQUIRE_MATCH
to allow an application to request the old behavior if necessary.
Also added a bunch of docs to explain why applications really shouldn't
do that.

Bug: 15191337
Change-Id: I4d742ea4569c977eb9b89277c57a72ec3a4fce41
ctivityManagerCompat.java
d333fbf215cc2fd93e8081ea5181ebf5795e0b87 24-Jul-2014 Alan Viverette <alanv@google.com> Fix home as up indicator

Change-Id: I4b24541178636c7a9ec2c5c4e43007c9c6cf87db
ctionBarDrawerToggle.java
3e0cba7fbc0c97a9c02f27954fb165d49a1f230a 24-Jul-2014 Alan Viverette <alanv@google.com> Merge "Allow client to set up indicator used by ActionBarDrawerToggle" into lmp-dev
64fcaa34a80f277307ed0bc7f04caa128d8f85aa 24-Jul-2014 Alan Viverette <alanv@google.com> Allow client to set up indicator used by ActionBarDrawerToggle

BUG: 16355561
Change-Id: I416c4d50599ce05885ed9163882531d88c275ffe
ctionBarDrawerToggle.java
43c5718722bab1f836b7c94f2ec0bc19e653037c 24-Jul-2014 Griff Hazen <griff@google.com> Fix API 20 notification compat: strip out unavailable apis

And modify the API 21 stage to use the new apis.

Bug: 16484492
Change-Id: I63885077985ded1548abe411a171b40773d34c55
otificationCompat.java
b2216c3ffda4d63d3f0c9f6b16afc8c912c4296e 23-Jul-2014 Bryan Mawhinney <bryanmawhinney@google.com> Fix NotificationCompat javadoc errors

Change-Id: I93928caab290ecb69efcdac385a6e2ce84a2a355
otificationCompat.java
569c49e672218d3a9d391a16e4c1b50507d5eccf 22-Jul-2014 Bryan Mawhinney <bryanmawhinney@google.com> Add EXTRA_COMPACT_ACTIONS to NotificationCompat

Change-Id: I044ca2f0b49bf45b8315489fc720be8d2aba1c83
otificationCompat.java
eeb7ac88c693732f66df764310394c80fd927fd5 19-Jul-2014 Adam Powell <adamp@google.com> Don't animate the ActionBarDrawerToggle drawer indicator for new apps

The new Toolbar-backed action bars provide enough space for navigation
that the drawer glyph has its own permanent button-like
position. Don't slide it back and forth like the Holo version if the
app is new and running on a new platform version. Also let the app
decide this manually.

Bug 15885014

Change-Id: I43b66b750d8db13ad4da646ee70fd39d8019c257
ctionBarDrawerToggle.java
1f94e518424cbf818607f63e353f2a597ed1dd37 18-Jul-2014 Bryan Mawhinney <bryanmawhinney@google.com> Add category constants to NotificationCompat

Change-Id: Id975cf19a0025391694bee7dc8f76d0ce43e04a0
otificationCompat.java
75e2071f16bae2b22d1618026d10337daad862cf 17-Jul-2014 Bryan Mawhinney <bryanmawhinney@google.com> Add NotificationCompat support for getting category

It'll only ever be non null on api 21 devices for the moment,
but we may make it writable on earlier versions later.

Change-Id: If10f66b03cc045b9c6ad6745cc508094a66b839e
otificationCompat.java
88c9c806e14907d335f67ab4f0db90502fd17b59 15-Jul-2014 Adam Powell <adamp@google.com> Merge "Port of nested fragments patch" into lmp-dev
0f3dfb28a503b3fb3e51666dd565b0d17eaebfbb 14-Jul-2014 Adam Powell <adamp@google.com> Port of nested fragments patch

Nested fragments - fragments inflated from within another fragment -
are now added to the containing fragment's child fragment manager
instead of the Activity's fragment manager.

Bug 12763389

Change-Id: I32b3322c9b6344c69f2fefc6e443b656b5f8fc5b
ragment.java
ragmentActivity.java
ragmentManager.java
70fb3e5463a78e491194a53febd672230338a8fc 15-Jul-2014 Griff Hazen <griff@google.com> am c5f26b6a: am 6d7958ab: Fix an out-of-sync bug in notification side channeling

* commit 'c5f26b6ac437b6abaaa04922118497a354b7063c':
Fix an out-of-sync bug in notification side channeling
c5f26b6ac437b6abaaa04922118497a354b7063c 14-Jul-2014 Griff Hazen <griff@google.com> am 6d7958ab: Fix an out-of-sync bug in notification side channeling

* commit '6d7958ab7712efa7d6aece311208e4f2d43c1886':
Fix an out-of-sync bug in notification side channeling
6d7958ab7712efa7d6aece311208e4f2d43c1886 11-Jul-2014 Griff Hazen <griff@google.com> Fix an out-of-sync bug in notification side channeling

And remove a couple unnecessary side channel calls on new
SDK versions where side channeling is disabled.

Bug: 15934174

Change-Id: I9d0a572c84da0e83aac54b896fd669ce58f58739
otificationCompatSideChannelService.java
otificationManagerCompat.java
8b8a369d50ff43ad2a8836e66283c2bca9c2711e 09-Jul-2014 George Mount <mount@google.com> Expose delayed Activity Transitions.

Bug 16182950

Change-Id: I8c911e103cdc418d311f5489f23e56e8230672ee
ctivityCompat.java
ragmentActivity.java
60afe0bb9ee626e5b48289a20a341c6066a64dc8 01-Jul-2014 George Mount <mount@google.com> Fix stack overflow from finishAfterTransition.

Bug 16008407

Change-Id: I61bd7648dac15dff293a40b812e3f89827ca4bdc
ragmentActivity.java
d9eb04dbc96599246581624c2c0e07b31eae3ca9 30-Jun-2014 George Mount <mount@google.com> Merge changes I7f18f9b9,Ic393edf3

* changes:
Add support for shared elements in fragment transitions.
Add support for ActivityTransitions.
8e4a59b54e9225b77151805dd6b8867dcd8e60a4 30-Jun-2014 Craig Mautner <cmautner@google.com> Restore saved state across config changes

The saved state bundle was being saved but not restored. Normally
this doesn't matter but some views (notably DialogPreference) was
saving it's show/hide state and relaunching itself after a rotation
based on what was in the bundle.

Fixes bug 15559669.

Change-Id: I06fc2f6bb4f96e1d17f7b35514de50f3e345fd89
ragmentManager.java
4500be62dea3895a98336122a2944cc4ab024bc5 27-Jun-2014 George Mount <mount@google.com> Add support for shared elements in fragment transitions.

Bug 15891071

Custom transitions in the Fragment Transaction have a
higher priority than animations, transition style, or
transition resource. If the API < 20, custom transitions
will not be active and the other animation types will
take effect.

Change-Id: I7f18f9b9a75f73d58a16184a301458bdcd331098
ackStackRecord.java
ragmentManager.java
ragmentTransaction.java
559b5e8554651ffc9f9cc639f8e363b9494fc98a 26-Jun-2014 George Mount <mount@google.com> Add support for ActivityTransitions.

Bug 15828815

Change-Id: Ic393edf347b15dcb0563d21c5bb7d9e702a3b71b
ctivityCompat.java
ctivityOptionsCompat.java
ragmentActivity.java
haredElementListener.java
26d3baddb1cc012cedb65e2d481f1d4fe8e9e987 24-Jun-2014 Chris Wren <cwren@android.com> am e616137c: Update support lib javadocs for heads up behavior.

* commit 'e616137cc03e4b4be450cbaa4a9c29f2b77d991a':
Update support lib javadocs for heads up behavior.
e616137cc03e4b4be450cbaa4a9c29f2b77d991a 18-Jun-2014 Chris Wren <cwren@android.com> Update support lib javadocs for heads up behavior.

The heads up notification is influences by full screen, sound,
vibration and priority. Update the documentation on those APIs to
explain this.

Bug: 15509793
Change-Id: I91202fefe6309cbb210ef4ce7c8b76f1b75e9cc5
otificationCompat.java
1b82f58037a3e66fe8cdafc306d97890d21aad4c 18-Jun-2014 Hui Lu <huilu@google.com> am 978a03f7: Merge "Instantiate correct Impl class in NotificationManagerCompat for API 14+ devices." into klp-modular-dev

* commit '978a03f764dd6adb4c6b4740c247433ae23fcc97':
Instantiate correct Impl class in NotificationManagerCompat for API 14+ devices.
ed6e54a430bd7b83b580e6ccb4c59e5a3dc27934 18-Jun-2014 Hui Lu <huilu@google.com> am 1b82f580: am 978a03f7: Merge "Instantiate correct Impl class in NotificationManagerCompat for API 14+ devices." into klp-modular-dev

* commit '1b82f58037a3e66fe8cdafc306d97890d21aad4c':
Instantiate correct Impl class in NotificationManagerCompat for API 14+ devices.
53ca6fe25ec5e92e8701b1102cec940db82d9dda 18-Jun-2014 Hui Lu <huilu@google.com> am fd921e20: Merge "Disallow clients to bind to NotificationCompatSideChannelService instances on API 20+ devices." into klp-modular-dev

* commit 'fd921e20cdf7ba4b28318954d5b6aef5d3d8d30e':
Disallow clients to bind to NotificationCompatSideChannelService instances on API 20+ devices.
c316a219e48ff3716e894300c1ab81678666bbc5 18-Jun-2014 Hui Lu <huilu@google.com> am 53ca6fe2: am fd921e20: Merge "Disallow clients to bind to NotificationCompatSideChannelService instances on API 20+ devices." into klp-modular-dev

* commit '53ca6fe25ec5e92e8701b1102cec940db82d9dda':
Disallow clients to bind to NotificationCompatSideChannelService instances on API 20+ devices.
8dd0fbde8e9c7ae4bee382c5f7a75217b3830795 18-Jun-2014 Hui Lu <huilu@google.com> Instantiate correct Impl class in NotificationManagerCompat for API 14+ devices.

Bug: 15722606
Change-Id: I8e117af5d70e3c310bc009a14f59f68c9fa2a2ac
otificationManagerCompat.java
fd921e20cdf7ba4b28318954d5b6aef5d3d8d30e 18-Jun-2014 Hui Lu <huilu@google.com> Merge "Disallow clients to bind to NotificationCompatSideChannelService instances on API 20+ devices." into klp-modular-dev
41d83b6efd08c558de282223123235e373d7815a 12-Jun-2014 Hui Lu <huilu@google.com> Disallow clients to bind to NotificationCompatSideChannelService instances on API 20+ devices.

Bug: 14168502
Change-Id: I8783372d9e21f29ac510b89344e8d3f7d2d801b5
otificationCompatSideChannelService.java
2e53188658314cc7abbd0f4dc3d0818b48cc5fd5 17-Jun-2014 Robert Ly <robertly@google.com> am 913895da: am 8009e382: Merge "fix javadocs b/14414251" into klp-modular-dev

* commit '913895dab200fa596aacd35884ed61022f8081ad':
fix javadocs b/14414251
913895dab200fa596aacd35884ed61022f8081ad 17-Jun-2014 Robert Ly <robertly@google.com> am 8009e382: Merge "fix javadocs b/14414251" into klp-modular-dev

* commit '8009e3823c35c7f58a1b5bd0857e50723e593e9b':
fix javadocs b/14414251
21716703f90841d7571ec7ef17c8549e705a052d 17-Jun-2014 Griff Hazen <griff@google.com> am 9335fd82: am bc8f49b8: Document best practices for display intent activities (Compat).

* commit '9335fd82424fd8cdb2b7e0a30994ce848b4e31ca':
Document best practices for display intent activities (Compat).
9335fd82424fd8cdb2b7e0a30994ce848b4e31ca 17-Jun-2014 Griff Hazen <griff@google.com> am bc8f49b8: Document best practices for display intent activities (Compat).

* commit 'bc8f49b8cd63e6c24322a013d47e805a8789685e':
Document best practices for display intent activities (Compat).
bc8f49b8cd63e6c24322a013d47e805a8789685e 17-Jun-2014 Griff Hazen <griff@google.com> Document best practices for display intent activities (Compat).

Bug: 15412926
Change-Id: Ic5f4bb82e7cfaa3a17c7fc31fb3b47a20a1405cb
otificationCompat.java
1f4a7ee285e9796902472ea39a72683a6bf97a7a 17-Jun-2014 Griff Hazen <griff@google.com> [Doc fix] Document best practices for display intent activities (Compat).

Bug: 15412926
Change-Id: Ic5f4bb82e7cfaa3a17c7fc31fb3b47a20a1405cb
(cherry picked from commit bc8f49b8cd63e6c24322a013d47e805a8789685e)
otificationCompat.java
8009e3823c35c7f58a1b5bd0857e50723e593e9b 17-Jun-2014 Robert Ly <robertly@google.com> Merge "fix javadocs b/14414251" into klp-modular-dev
77b88e3651ede1a5d45fb4c19f34b2f78d67f33f 03-Jun-2014 Robert Ly <robertly@google.com> fix javadocs b/14414251

Change-Id: I2d36628067d9d2f316f2d45f6abaef3e52074e1f
otificationCompat.java
0ada834fa56a1561392a82d6a1f2aca73f65c033 28-May-2014 Griff Hazen <griff@google.com> DO NOT MERGE Cherry-pick: Add full screen size preset to NotificationCompat.WearableExtender

Bug: 14838838
Change-Id: I902b0b06a6daaedafbc8e30173da6d6257bac431
otificationCompat.java
38dd0b8b9000a489c4b43a445dc614380c1b36d1 26-May-2014 Griff Hazen <griff@google.com> DO NOT MERGE Cherry-pick: Doc fixes for NotificationCompat.WearableExtender

Change-Id: I9218d7d18450d571721bd0a8e79b468ac98d22aa
otificationCompat.java
otificationCompatSideChannelService.java
de49561684ae0fc52343e357e3e08b1b14d3a842 29-May-2014 Griff Hazen <griff@google.com> am 17a34544: am fd5d0d05: Add full screen size preset to NotificationCompat.WearableExtender

* commit '17a345445c179cd0e51078660377651781d15aa6':
Add full screen size preset to NotificationCompat.WearableExtender
17a345445c179cd0e51078660377651781d15aa6 29-May-2014 Griff Hazen <griff@google.com> am fd5d0d05: Add full screen size preset to NotificationCompat.WearableExtender

* commit 'fd5d0d05e9b44fcb0a9dab91290d53b464fc0939':
Add full screen size preset to NotificationCompat.WearableExtender
daa9963e732333648c4b6a3cef489c722f4422ee 28-May-2014 Griff Hazen <griff@google.com> am f795b120: am 33176ed9: Doc fixes for NotificationCompat.WearableExtender

* commit 'f795b120196d7dcabf057d20ae19d60f6f3355a6':
Doc fixes for NotificationCompat.WearableExtender
f795b120196d7dcabf057d20ae19d60f6f3355a6 28-May-2014 Griff Hazen <griff@google.com> am 33176ed9: Doc fixes for NotificationCompat.WearableExtender

* commit '33176ed929ad69d9b700fb4da97948e61d0e7c93':
Doc fixes for NotificationCompat.WearableExtender
fd5d0d05e9b44fcb0a9dab91290d53b464fc0939 28-May-2014 Griff Hazen <griff@google.com> Add full screen size preset to NotificationCompat.WearableExtender

For custom display notifications.

Bug: 14838838
Change-Id: I902b0b06a6daaedafbc8e30173da6d6257bac431
otificationCompat.java
33176ed929ad69d9b700fb4da97948e61d0e7c93 26-May-2014 Griff Hazen <griff@google.com> Doc fixes for NotificationCompat.WearableExtender

Change-Id: I9218d7d18450d571721bd0a8e79b468ac98d22aa
otificationCompat.java
otificationCompatSideChannelService.java
b1b21830e4dda2c931141f0843f856fe871fe7fc 24-May-2014 Griff Hazen <griff@google.com> DO NOT MERGE Cherry-pick: Fix side channel bind action: should not include wearable in name.

Change-Id: I7b12355e6b10ca164314bf1d7bf1b8f8b4c6d5a3
otificationCompatSideChannelService.java
otificationManagerCompat.java
d3ac32d9b20ef2f2c2630030957ff84489529dd3 24-May-2014 Griff Hazen <griff@google.com> DO NOT MERGE Cherry-pick: Add wearable extensions to notification compat.

Change-Id: If78c1ad7578c47b69b9c636383b08810e8ac83f0
otificationCompat.java
4859f40b62880754d858165b6614b89bd4e3a785 24-May-2014 Griff Hazen <griff@google.com> am e7cbb18a: am 1a7f163f: Fix side channel bind action: should not include wearable in name.

* commit 'e7cbb18a3838bf60e1be1828bdb84dc53e9c51fd':
Fix side channel bind action: should not include wearable in name.
e7cbb18a3838bf60e1be1828bdb84dc53e9c51fd 24-May-2014 Griff Hazen <griff@google.com> am 1a7f163f: Fix side channel bind action: should not include wearable in name.

* commit '1a7f163fad9e7d0f5bc67ad44d6bf9d73d672a86':
Fix side channel bind action: should not include wearable in name.
1a7f163fad9e7d0f5bc67ad44d6bf9d73d672a86 24-May-2014 Griff Hazen <griff@google.com> Fix side channel bind action: should not include wearable in name.

Change-Id: I7b12355e6b10ca164314bf1d7bf1b8f8b4c6d5a3
otificationCompatSideChannelService.java
otificationManagerCompat.java
ca771be1373df304e544eb7c993a0bc593530681 24-May-2014 Griff Hazen <griff@google.com> am 48775551: am 9c49ac78: Merge "Add wearable extensions to notification compat." into klp-modular-dev

* commit '48775551145e670bb1696f961ea1b154b1a1f588':
Add wearable extensions to notification compat.
48775551145e670bb1696f961ea1b154b1a1f588 24-May-2014 Griff Hazen <griff@google.com> am 9c49ac78: Merge "Add wearable extensions to notification compat." into klp-modular-dev

* commit '9c49ac78e6a5aac549104f02ce76a10e9c7f440a':
Add wearable extensions to notification compat.
2bb98d48fdaf79a2bbd9d247da81a2bb9834dfc7 23-May-2014 Griff Hazen <griff@google.com> Add wearable extensions to notification compat.

And fix a missing extras propagation for remoteinput

Change-Id: If78c1ad7578c47b69b9c636383b08810e8ac83f0
otificationCompat.java
cd05a19c0775e69e93e4c93b0a48ab044b531d7a 21-May-2014 Griff Hazen <griff@google.com> Merge commit '39c179ab' into manualmerge

Conflicts:
v4/Android.mk
v4/api20/android/support/v4/app/NotificationCompatApi20.java
v4/java/android/support/v4/app/NotificationCompat.java
v4/kitkat/android/support/v4/app/NotificationCompatKitKat.java

Change-Id: I1e647d427c6b789863a64e4f73099f52fec9f281
39c179ab8ab439d98abac548bc4ffce486657f8d 21-May-2014 Griff Hazen <griff@google.com> am ce16e427: Add RemoteInput, Grouping, and Extender to NotificationCompat

* commit 'ce16e4276c2f61109a23b3f6707cfcd87b07c735':
Add RemoteInput, Grouping, and Extender to NotificationCompat
ce16e4276c2f61109a23b3f6707cfcd87b07c735 21-May-2014 Griff Hazen <griff@google.com> Add RemoteInput, Grouping, and Extender to NotificationCompat

Clean up how compat actions are created/added internally
in the compat library.

Add NotificationManagerCompat to allow bypass of group child
notifications on < Api 20 platforms.

Change-Id: I0d6c67eb77726bed9a2c18290eb39aff907a8467
NotificationSideChannel.aidl
otificationCompat.java
otificationCompatExtras.java
otificationCompatSideChannelService.java
otificationManagerCompat.java
emoteInput.java
708b75c6599afe1a215b07458e940fe3ca13622a 21-May-2014 Griff Hazen <griff@google.com> Merge commit 'e20403d1' into master

Conflicts:
v4/java/android/support/v4/app/NotificationCompat.java
v4/kitkat/android/support/v4/app/NotificationCompatKitKat.java

Change-Id: I0435ac0ae16d62f6d602bf11b3f94e6080c57f87
e20403d12eba72f5b5a09edc798181109c6a3c89 21-May-2014 Griff Hazen <griff@google.com> am 1082da0c: Merge "Add support for extendable actions to NotificationCompat" into klp-modular-dev

* commit '1082da0c04b403abed9c26ae614707d08665b3d0':
Add support for extendable actions to NotificationCompat
300ad7c234a0ccfc41ae7fdbdcdd57faece2a8e0 20-May-2014 Griff Hazen <griff@google.com> Add support for extendable actions to NotificationCompat

Change-Id: Idde6d697cc71607f4a3b20c6b4a61551e9324326
otificationCompat.java
otificationCompatExtras.java
df2eaed1544ecba7a4a258061e58aa93692d4a6a 18-May-2014 Dan Sandler <dsandler@android.com> Add support for notification visibility.

Change-Id: I56409f43f1d65ffd7702e5c9479bb7d6fe10a30f
otificationCompat.java
69a58d36f6ed8ec4d076534556aba2f93d00254e 07-May-2014 Dan Sandler <dsandler@android.com> Follow new notification API.

Requires change Iac5e2645 from f/b.

Change-Id: I1662f6785c22c0f894b0d52425d932d94e898e78
otificationCompat.java
120c2dacb760e01e99797ed1d28514c3476dd458 06-May-2014 Andrew Solovay <asolovay@google.com> am 66c904ae: am 029b213f: am bd2cb3c7: am 7c94c9ad: doc: Documented priority constants for setPriority(int)

* commit '66c904aec5bea54f4f7e72276358cdcfd3881f74':
doc: Documented priority constants for setPriority(int)
66c904aec5bea54f4f7e72276358cdcfd3881f74 06-May-2014 Andrew Solovay <asolovay@google.com> am 029b213f: am bd2cb3c7: am 7c94c9ad: doc: Documented priority constants for setPriority(int)

* commit '029b213f286302e5a9fc3a3d33b749a951026b57':
doc: Documented priority constants for setPriority(int)
029b213f286302e5a9fc3a3d33b749a951026b57 06-May-2014 Andrew Solovay <asolovay@google.com> am bd2cb3c7: am 7c94c9ad: doc: Documented priority constants for setPriority(int)

* commit 'bd2cb3c75b05ede6018d74536ce959940a988021':
doc: Documented priority constants for setPriority(int)
bd2cb3c75b05ede6018d74536ce959940a988021 06-May-2014 Andrew Solovay <asolovay@google.com> am 7c94c9ad: doc: Documented priority constants for setPriority(int)

* commit '7c94c9ad26555427345c6c540bf761bf73389016':
doc: Documented priority constants for setPriority(int)
7c94c9ad26555427345c6c540bf761bf73389016 03-May-2014 Andrew Solovay <asolovay@google.com> doc: Documented priority constants for setPriority(int)

You can check the build at:

http://asolovay.mtv:8998/reference/android/support/v4/app/NotificationCompat.Builder.html#setPriority(int)

(Apologies, I meant to include that link in the CL.)

Bug: 13514649
Change-Id: I5f9f937b6f0c9c20f84994c0e81739846899ae4a
otificationCompat.java
9c50ae71d575c8b1e92843fbb14b5362f43ec417 30-Apr-2014 Griff Hazen <griff@google.com> am ad183ead: am 9a5bcbe7: am bd066b73: Merge "Add missing public statics to NotificationCompat" into klp-ub-dev

* commit 'ad183eadd37e48eb0b6a341b879afa62528a7ef1':
Add missing public statics to NotificationCompat
ad183eadd37e48eb0b6a341b879afa62528a7ef1 30-Apr-2014 Griff Hazen <griff@google.com> am 9a5bcbe7: am bd066b73: Merge "Add missing public statics to NotificationCompat" into klp-ub-dev

* commit '9a5bcbe7a2ce083730c4871e89458895fe386c4d':
Add missing public statics to NotificationCompat
9a5bcbe7a2ce083730c4871e89458895fe386c4d 30-Apr-2014 Griff Hazen <griff@google.com> am bd066b73: Merge "Add missing public statics to NotificationCompat" into klp-ub-dev

* commit 'bd066b7315dd0e86bd59f1b8fc892899a15ec5ee':
Add missing public statics to NotificationCompat
bd066b7315dd0e86bd59f1b8fc892899a15ec5ee 30-Apr-2014 Griff Hazen <griff@google.com> Merge "Add missing public statics to NotificationCompat" into klp-ub-dev
e904e612ced14fd0bcd4823b1dda9660d2d27f69 29-Apr-2014 Bill Yi <byi@google.com> Merge commit 'e959d72060932a443f8268fad2d1c80ef9d13e50' into HEAD
e8c219028c173f827f562dcac49bdbb1aab3e35d 29-Apr-2014 Tor Norbye <tnorbye@google.com> am e5f33a4c: am 5e8ef046: resolved conflicts for merge of a3ff3273 to klp-modular-dev

* commit 'e5f33a4c6bf77a3532c21062d636cdd69137f882':
Add tools metadata annotations to the support library
e5f33a4c6bf77a3532c21062d636cdd69137f882 29-Apr-2014 Tor Norbye <tnorbye@google.com> am 5e8ef046: resolved conflicts for merge of a3ff3273 to klp-modular-dev

* commit '5e8ef0460dfca1e3806b491fa886995baf0cfe9c':
Add tools metadata annotations to the support library
5e8ef0460dfca1e3806b491fa886995baf0cfe9c 29-Apr-2014 Tor Norbye <tnorbye@google.com> resolved conflicts for merge of a3ff3273 to klp-modular-dev

Change-Id: Idc0fdf6c997ef63c14e4d8df417d1179cdcb1403
a3ff3273e976adf19770651dcf473fa67b38eb22 21-Mar-2014 Tor Norbye <tnorbye@google.com> Add tools metadata annotations to the support library

Change-Id: I018ccee411da848e6ced91da316f86ae149dc218
ctionBarDrawerToggle.java
ctivityCompat.java
ialogFragment.java
ragment.java
ragmentActivity.java
ragmentManager.java
ragmentTransaction.java
avUtils.java
hareCompat.java
c4e68f1b0c0cb95f499812383ccb282643777226 28-Apr-2014 Griff Hazen <griff@google.com> Add missing public statics to NotificationCompat

To match the ones currently on Notification, with the
exception of EXTRA_SHOW_WHEN since setShowWhen is not in
NotificationCompat yet (will file bug for setShowWhen since it
was an API 17 addition)

Change-Id: Iedbf2455d4be093a3d6fbc9b9d237d0f6cc1fd67
otificationCompat.java
9dfe2d68ddd297f3703a27f776bc044ba9396794 24-Apr-2014 Griff Hazen <griff@google.com> DO NOT MERGE Backport recent NotificationCompat changes.

1. Add support for reading and writing notification extras
at notification build time.
2. Support reading notification extras all the way back to JB.

Change-Id: I4b1d736e80e30034934f84cd69710e14fe6d98e7
otificationCompat.java
334514fd61bd192cee3475b3ba44adb4f54a1f89 14-Apr-2014 Chris Wren <cwren@android.com> Revert "Revert "add people annotations to NotificationCompat""

This reverts commit f3dc9e1b2ee64351aade267e6f556b4ecc2a7323.

Change-Id: I5ceefaceb718a74b0bf014bb121e2313f00fd098
otificationCompat.java
f3dc9e1b2ee64351aade267e6f556b4ecc2a7323 14-Apr-2014 Chris Wren <cwren@android.com> Revert "add people annotations to NotificationCompat"

This reverts commit aea520f48e382c4e88487785c2cacadb527c6da7.

Change-Id: Ic7b92e4b4efe55d56c8d647e3787b344a7710517
otificationCompat.java
aea520f48e382c4e88487785c2cacadb527c6da7 27-Mar-2014 Chris Wren <cwren@android.com> add people annotations to NotificationCompat

Depends-On: I833eee3f2ee40aa8cb2cfad135bdd6cb2c0eb792
Change-Id: I705be85d36c414965505e34501663e7e4cdd0120
otificationCompat.java
2e275ce7680eafd02423e8aad7f044aa90ded89c 01-Apr-2014 Griff Hazen <griff@google.com> am 1302b28b: am 7266fe2f: Merge "Add a KitKat stage to NotificationCompat." into klp-modular-dev

* commit '1302b28b4d488d559c103524cab7cf2e1602025a':
Add a KitKat stage to NotificationCompat.
1302b28b4d488d559c103524cab7cf2e1602025a 01-Apr-2014 Griff Hazen <griff@google.com> am 7266fe2f: Merge "Add a KitKat stage to NotificationCompat." into klp-modular-dev

* commit '7266fe2f55fbe5c5b6de6acb3d84995cc2a7fc17':
Add a KitKat stage to NotificationCompat.
47702147608084fec16a50640da54b412c737b9c 21-Mar-2014 Griff Hazen <griff@google.com> Add a KitKat stage to NotificationCompat.

The difference over JB being the extras bundle is publicly accessible.
This avoids reflection for API 19.

Change-Id: If5ed0bf4267ae677f5f8c4a84602f11add846cb5
otificationCompat.java
1059812746e4bd7bf337e1d599c645ce3ed1c391 28-Mar-2014 Chris Banes <chrisbanes@google.com> am fc039e9c: am 0b747a91: Merge "getParcelableArray* behaviour is sometimes unpredictable"

* commit 'fc039e9c51945dc1834b441a0f77c1bd531c898e':
getParcelableArray* behaviour is sometimes unpredictable
fc039e9c51945dc1834b441a0f77c1bd531c898e 28-Mar-2014 Chris Banes <chrisbanes@google.com> am 0b747a91: Merge "getParcelableArray* behaviour is sometimes unpredictable"

* commit '0b747a91207b444a9e71fa7d2c0b93395720ccc7':
getParcelableArray* behaviour is sometimes unpredictable
08ca9e8030eecfc473fa11ae8703d24014602803 10-Aug-2012 Steve Lhomme <slhomme@levelupstudio.com> getParcelableArray* behaviour is sometimes unpredictable

in some case when the data in a savedInstance the Parcelable
arrays stored by the application are not unparcel'ed correctly
because the ClassLoader doesn't seem to be correct.

The first getSparseParcelableArray() in the code is preceded
by setClassLoader() by not the second one. The problem disappears
when setClassLoader() is called in both cases.

Change-Id: I2d2f42c285d9130fd543c0154e9d210d430823e3
ragmentManager.java
d3f7b5bb2422645d85b0e0131ff1c323f38bfed0 25-Mar-2014 John Spurlock <jspurlock@google.com> Add setCategory to NotificationCompat.

Take 2: after updating prebuilt sdk.

Bug:13631052
Change-Id: Icc8ab8badd4e4128b56f35836d19a1c4d4859199
otificationCompat.java
421e5285980a355cf47905eb0b96d2c2fc9e0678 26-Mar-2014 John Spurlock <jspurlock@google.com> Revert "Add setCategory to NotificationCompat."

This is fine in master, but is breaking some unbundled builds...

This reverts commit bd4eeac53001107daa8292b571c595866bdbe164.

Change-Id: I25f5478e74aa00f432ec4ad5118537e80cde9204
otificationCompat.java
bd4eeac53001107daa8292b571c595866bdbe164 25-Mar-2014 John Spurlock <jspurlock@google.com> Add setCategory to NotificationCompat.

Bug:13631052
Change-Id: Icc124cfae8550ec1006419b6776c0590a03cf895
otificationCompat.java
ab78e9b2a147c8de7b5cf231b97aad9d8c4f106c 06-Mar-2014 Griff Hazen <griff@google.com> Add support for extras modifications to NotificationCompat.Builder.

Change-Id: Idaafafdaae3f0974228ea165fa59e6b454ea45ef
otificationCompat.java
6252d78085a07c9d6bb4645a4e8086bf23b0a49a 28-Feb-2014 Tim Kilbourn <tkilbourn@google.com> Clear child FragmentManagers when destroying Fragments.

If Fragment has instantiated a child FragmentManager and is later
detached, it retains its reference to the child FragmentManager which
has been destroyed. This causes an IllegalStateException in the
child FragmentManager if the original Fragment is reattached.

Fixes Issue 42601.

Change-Id: I62155a535948a73bbbc09aefc2b15cfad58b9233
ragment.java
ragmentManager.java
22782bd0df6d20aff9546704f5f28a0fc093d497 19-Feb-2014 Kirill Grouchnikov <kirillg@google.com> am 72a9db80: am 9bd9831d: Non-reflection based implementation for drawer toggle for JBMR2+.

* commit '72a9db808319cdee73dc205eec8e0dde383ea789':
Non-reflection based implementation for drawer toggle for JBMR2+.
72a9db808319cdee73dc205eec8e0dde383ea789 19-Feb-2014 Kirill Grouchnikov <kirillg@google.com> am 9bd9831d: Non-reflection based implementation for drawer toggle for JBMR2+.

* commit '9bd9831d1f3b23c72f67a4bf5d2b2504046bc771':
Non-reflection based implementation for drawer toggle for JBMR2+.
9bd9831d1f3b23c72f67a4bf5d2b2504046bc771 23-Oct-2013 Kirill Grouchnikov <kirillg@google.com> Non-reflection based implementation for drawer toggle for JBMR2+.

Resurrecting the lost https://googleplex-android-review.git.corp.google.com/#/c/379426/
with extra null checks.

Bug: 12958873
Change-Id: I39ace8a70d8c8499140505fbe52ec83ec12284fd
ctionBarDrawerToggle.java
b56de0d1a113c71a2808303009ab4d9708ed6e84 13-Feb-2014 Griff Hazen <griff@google.com> Roll forward the support library changes for LOCAL_ONLY support.

The build problem was because unbundled branches were depending
on the master version of frameworks/support.

Also renamed "Current" to "Api20" pre request.

Change-Id: I309b89b133e22fb642f3dcd8d23af6697fe0b9c6
otificationCompat.java
otificationCompatExtras.java
9b0945dc89d095bfb4bf5fd8867a0dd0bd224216 11-Feb-2014 Griff Hazen <griff@google.com> Revert "Fix apps build: don't reference current SDK, use empty"

This reverts commit 01d1669f77b23e5fbe8c24738bc0ec9200b90053.

Revert "Add local-only option to NotificationCompat (using flag)"

This reverts commit 62d32dda7a6dd510ba7bbf11bb3edaa314c4948e.

Revert "Prepare NotificationCompat for upcoming development post SDK 19."

This reverts commit c55d0160b764bbad4e386556cab3ccac72686b0c.
otificationCompat.java
otificationCompatExtras.java
62d32dda7a6dd510ba7bbf11bb3edaa314c4948e 11-Feb-2014 Griff Hazen <griff@google.com> Add local-only option to NotificationCompat (using flag)

Change-Id: Ia0a13aad862414e86ad1d8de49e8768c9f0f1a73
otificationCompat.java
otificationCompatExtras.java
c55d0160b764bbad4e386556cab3ccac72686b0c 10-Feb-2014 Griff Hazen <griff@google.com> Prepare NotificationCompat for upcoming development post SDK 19.

The "current" helper would be hooked up once the next SDK version has
been created. It would also be renamed to the release name at that point.

Also make a couple small refactors to make future versioning easier.

Change-Id: I339678fdcf5487b388e9dc3d0d12345609550e6a
otificationCompat.java
fe3b5bac4901a4bb8cf51c09fe4910b02388818a 26-Jan-2014 Griff Hazen <griff@google.com> A few minor cleanups to NotificationCompat library.

Change-Id: I5c4eaac381f8014a8a234f963fbb6be2631dcb69
otificationCompat.java
507f40fc4664a9e54967cedbd40b8065241c200d 14-Jan-2014 Tony Mantler <nicoya@google.com> am 01df7377: Add isDestroyed() method to match framework API

* commit '01df737703cceecc6b3a319ca0ee0bd64415f1cf':
Add isDestroyed() method to match framework API
01df737703cceecc6b3a319ca0ee0bd64415f1cf 14-Jan-2014 Tony Mantler <nicoya@google.com> Add isDestroyed() method to match framework API

Change-Id: Ic69cb122f23d42223e4b841d7fe160911925124b
ragmentManager.java
cbcf4aeee49a3a2590a572c65c747c4a7fec50eb 07-Dec-2013 Geoff Mendal <mendal@google.com> am c8bd41f5: am b9278c79: Keep history after reset to klp-dev

* commit 'c8bd41f5b01d76bfa136ed51d0013f1b03baa9e0':
c8bd41f5b01d76bfa136ed51d0013f1b03baa9e0 07-Dec-2013 Geoff Mendal <mendal@google.com> am b9278c79: Keep history after reset to klp-dev

* commit 'b9278c793399822c36192b236ec29a769202ab02':
dc7fed96119b6341f0743e79408fe0069e09bac7 22-Nov-2013 Chris Wren <cwren@android.com> am 29e9b1ca: add missing fullscreenIntent support for Gingerbread

* commit '29e9b1ca3b576f8d73465f725e0cc623f0d97ffd':
add missing fullscreenIntent support for Gingerbread
29e9b1ca3b576f8d73465f725e0cc623f0d97ffd 21-Nov-2013 Chris Wren <cwren@android.com> add missing fullscreenIntent support for Gingerbread

Bug: 11809917
Change-Id: Ief0dcb9cca6d696ba20c8fb7298ee719f1b337f6
(cherry picked from commit 86ec05e4e4c04e835f5710f59686b99b03cb2e5d)
otificationCompat.java
d6ec8254e43acf8186e1960ee40490abd5a64485 14-Nov-2013 Alan Viverette <alanv@google.com> am de77c6fa: am 14fabe0b: Fix slide drawable mirroring

* commit 'de77c6fa83dacba0a7628689f462efab4754e655':
Fix slide drawable mirroring
de77c6fa83dacba0a7628689f462efab4754e655 14-Nov-2013 Alan Viverette <alanv@google.com> am 14fabe0b: Fix slide drawable mirroring

* commit '14fabe0b90c2cd2fa5d67da7acb97b9e554636c1':
Fix slide drawable mirroring
14fabe0b90c2cd2fa5d67da7acb97b9e554636c1 14-Nov-2013 Alan Viverette <alanv@google.com> Fix slide drawable mirroring

BUG: 11673295
Change-Id: I181eb6aa2ab2a80d29716633cd25857540eba72d
ctionBarDrawerToggle.java
cb39597ba49b37695a923aad9a78414d61b99347 24-Oct-2013 Kirill Grouchnikov <kirillg@google.com> am 9932c13e: Non-reflection based implementation for drawer toggle for JBMR2+.

* commit '9932c13e77bd1c9766d294904180c31729f3bf87':
Non-reflection based implementation for drawer toggle for JBMR2+.
9932c13e77bd1c9766d294904180c31729f3bf87 23-Oct-2013 Kirill Grouchnikov <kirillg@google.com> Non-reflection based implementation for drawer toggle for JBMR2+.

Change-Id: I6617e279e4199eda886d06c97014ae626d371109
ctionBarDrawerToggle.java
17565dc632b205a3ceea53b74bf4bc5a02b4ead9 04-Oct-2013 Kirill Grouchnikov <kirillg@google.com> am 0b866177: Merge "Use correct open/close content description strings." into klp-dev

* commit '0b866177778e2b3a07ef29a080e132c85b0ac2c5':
Use correct open/close content description strings.
5fff1aa4dcdbcd9804ed1033d44f74608b53a8ca 03-Oct-2013 Kirill Grouchnikov <kirillg@google.com> Use correct open/close content description strings.

The JD for the costructor says that the openDrawerContentDescRes
describes the "open action". This means that it should be set
when the drawer is closed. Same for the closeDrawerContentDescRes
that should be set when the drawer is opened.

However, the code in syncState, setDrawerIndicationEnabled, onDrawerClosed
and onDrawerOpened swapped the meaning of the two strings.

Bug: 11062863
Change-Id: I9df100f5520f992190d7c479a99ba5471b4a3822
ctionBarDrawerToggle.java
f6ae58d91853ad12b3a2153e6acc3f36730ed314 01-Oct-2013 Romain Guy <romainguy@android.com> am c8d671f6: am 37e2defc: Merge "Fragement, or Fragment: that is the question"

* commit 'c8d671f68b7926e70f30c7ae96a579460a5daba1':
Fragement, or Fragment: that is the question
c8d671f68b7926e70f30c7ae96a579460a5daba1 01-Oct-2013 Romain Guy <romainguy@android.com> am 37e2defc: Merge "Fragement, or Fragment: that is the question"

* commit '37e2defcdb38fee7acec85747fb8afdcb0fdca7f':
Fragement, or Fragment: that is the question
2b336307cf98ca5142db6736812178293d47c500 01-Oct-2013 Cyril Mottier <cyrilmottier@gmail.com> Fragement, or Fragment: that is the question

Change-Id: I6fde7683cb83eecf96380d38fc588679d1ed1002
ragmentManager.java
5df122f8bb619edcdbef94cd455efef0e6e44377 23-Sep-2013 Alan Viverette <alanv@google.com> Add auto-mirroring support to ActionBarDrawerToggle

Also adds the necessary KitKat packages, classes, and build targets
for the support-v4 library.

BUG: 10209321
Change-Id: Iec8906182be2694e2ef1959bcf39d9fe61b7a151
ctionBarDrawerToggle.java
40b16634bab0c9343f04f4187aecec676908c432 11-Sep-2013 Chris Banes <chrisbanes@google.com> am c3cfafaa: am a2baef2f: Get ActionBarDrawerToggle Delegate earlier in constructor

* commit 'c3cfafaa484c0999a22a30a64334c0d2141a23b7':
Get ActionBarDrawerToggle Delegate earlier in constructor
c3cfafaa484c0999a22a30a64334c0d2141a23b7 11-Sep-2013 Chris Banes <chrisbanes@google.com> am a2baef2f: Get ActionBarDrawerToggle Delegate earlier in constructor

* commit 'a2baef2fdbcfca77239addd2f202953a7a5dda52':
Get ActionBarDrawerToggle Delegate earlier in constructor
a2baef2fdbcfca77239addd2f202953a7a5dda52 10-Sep-2013 Chris Banes <chrisbanes@google.com> Get ActionBarDrawerToggle Delegate earlier in constructor

getThemeUpIndicator() uses the Delegate but is currently
called before the Delegate is retrieved.

Bug: 10618525
Change-Id: I80de1c40ecc9e3a1af252ba1fa1deaf862e20110
ctionBarDrawerToggle.java
ab6e5dbcc6e05994ebb4257478c54f54085b9aa6 14-Aug-2013 Alan Viverette <alanv@google.com> Throw exception in FragmentManager when queuing after destroy

Change-Id: If1efc037e543e98740ca3a5cabcc9f8081827e5a
ragmentManager.java
81db833f091aaf408cac0afa4b8ddd71edb3c71f 09-Aug-2013 Adam Powell <adamp@google.com> am a153c15d: am 0eefa9b2: Fix a bug in ShareCompat.IntentReader.getHtmlText fallback

* commit 'a153c15dac51381c712ba35f213cabfceccc838a':
Fix a bug in ShareCompat.IntentReader.getHtmlText fallback
a153c15dac51381c712ba35f213cabfceccc838a 09-Aug-2013 Adam Powell <adamp@google.com> am 0eefa9b2: Fix a bug in ShareCompat.IntentReader.getHtmlText fallback

* commit '0eefa9b2aa1c43a6c05def134bba74328b207a02':
Fix a bug in ShareCompat.IntentReader.getHtmlText fallback
0eefa9b2aa1c43a6c05def134bba74328b207a02 09-Aug-2013 Adam Powell <adamp@google.com> Fix a bug in ShareCompat.IntentReader.getHtmlText fallback

A typo was causing the fallback cases of translating spanned strings
or escaping html tags not to work properly.

Bug 10230475

Change-Id: Ia89cbcb4303af2eaeb445a34519eb3c6b0f057eb
hareCompat.java
2c53644e27f4d989b87381cdd05a037e8d98d1d4 09-Aug-2013 Adam Powell <adamp@google.com> am 7367fd6f: am 3fafb081: Pick which kind of fragment to inflate from <fragment> tags

* commit '7367fd6fb5ec7d30d36711d1115f18d4a50b9f0e':
Pick which kind of fragment to inflate from <fragment> tags
7367fd6fb5ec7d30d36711d1115f18d4a50b9f0e 09-Aug-2013 Adam Powell <adamp@google.com> am 3fafb081: Pick which kind of fragment to inflate from <fragment> tags

* commit '3fafb0817f980d1819d0708b3c3da00454ba4c1f':
Pick which kind of fragment to inflate from <fragment> tags
3fafb0817f980d1819d0708b3c3da00454ba4c1f 09-Aug-2013 Adam Powell <adamp@google.com> Pick which kind of fragment to inflate from <fragment> tags

If an Activity extends from FragmentActivity the LayoutInflaters
obtained from it were previously be configured to parse <fragment>
tags exclusively referring to android.support.v4.app.Fragment class
names. Have FragmentActivity delegate this to the underlying device
framework to allow the use of android.app.Fragment fragments in
layouts.

Bug 10258465

Change-Id: Ic4274657b079fbf61ddf0f34df2cdec9602fc7ed
ragment.java
ragmentActivity.java
4dab7ea40c9e9d3879f47b0535779ccce9cae728 09-Aug-2013 Chris Banes <chrisbanes@google.com> am 5fa9df2a: am 807cddc4: Merge "Fix ABC ActionProvider visibility refresh" into jb-mr2-ub-dev

* commit '5fa9df2ad307c498bb8f5cf360521fb65f858f68':
Fix ABC ActionProvider visibility refresh
5fa9df2ad307c498bb8f5cf360521fb65f858f68 08-Aug-2013 Chris Banes <chrisbanes@google.com> am 807cddc4: Merge "Fix ABC ActionProvider visibility refresh" into jb-mr2-ub-dev

* commit '807cddc4a4f26f153f422c98cbad94ba843b6ea4':
Fix ABC ActionProvider visibility refresh
139afb2f4146aa3b65c9a43a0248d130dda91de9 07-Aug-2013 Alan Viverette <alanv@google.com> am 8819bd8b: am ff0177a3: Merge "Make SlideDrawable respect the layout direction of its activity" into jb-mr2-ub-dev

* commit '8819bd8bbd6f59b75fff18c55d342c30a4bd3836':
Make SlideDrawable respect the layout direction of its activity
2bc5191a8cc331b404724759a015949a4b5499fb 18-Jul-2013 Chris Banes <chrisbanes@google.com> Fix ABC ActionProvider visibility refresh

The problem was <4.1's version of Activity.onPreparePanel
checks to see if menu.hasVisibleItems() == true, whereas v4.1+
just ignores this and lets the menu presenter handle it.

Bug: 9907372

Change-Id: Iea3fc048a1f147d1261dbd25615ccb92756b656c
Signed-off-by: Chris Banes <chrisbanes@google.com>
ragmentActivity.java
8819bd8bbd6f59b75fff18c55d342c30a4bd3836 06-Aug-2013 Alan Viverette <alanv@google.com> am ff0177a3: Merge "Make SlideDrawable respect the layout direction of its activity" into jb-mr2-ub-dev

* commit 'ff0177a3f7702ad92176335ec166cb144d81cb60':
Make SlideDrawable respect the layout direction of its activity
8292501782046595337faeb0a0784b12cafad422 05-Aug-2013 Alan Viverette <alanv@google.com> Make SlideDrawable respect the layout direction of its activity

BUG: 10023102
Change-Id: Ib033022d6cebecea3f3f9c5cfa67b48483371e83
ctionBarDrawerToggle.java
80f8f434f1a5ee950084d8aedd70135de281df72 18-Jul-2013 Scott Main <smain@google.com> am 3cf73a41: am 9dcd2e58: javadoc edits for support library

* commit '3cf73a4119b9b216ea22f796364ed00525ceac41':
javadoc edits for support library
3cf73a4119b9b216ea22f796364ed00525ceac41 18-Jul-2013 Scott Main <smain@google.com> am 9dcd2e58: javadoc edits for support library

* commit '9dcd2e58138ca4eb4b18f80b50e8979329e859d6':
javadoc edits for support library
9dcd2e58138ca4eb4b18f80b50e8979329e859d6 17-Jul-2013 Scott Main <smain@google.com> javadoc edits for support library

Change-Id: Ie8f228036dc9d33315430490a2e03e9c504ada71
ragment.java
ragmentActivity.java
ragmentManager.java
2290993eddf5262a8df7fc9478daed52401e325a 17-Jul-2013 Dianne Hackborn <hackbod@google.com> Add ArrayMap to support lib.

Also integrate recent container class changes in to
the support lib, and modify activity/fragment to use
ArrayMap.

Change-Id: I9f28c3661b8d9c3de8f8409e721feb1a714e9d1b
ragment.java
ragmentActivity.java
e4f73091d4a96d18fd3f8b1c0a5c0cbaab739f9c 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am 5cbab6fa: am 00ae8b5f: am 7392663f: Merge "Allow user-customized FragmentTabHost layouts."

* commit '5cbab6fafaeabf05c51b7009d4d347d3c7f123fb':
Allow user-customized FragmentTabHost layouts.
00ae8b5fd5c50d355b5cd2633d1b4729c8bd59f0 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am 7392663f: Merge "Allow user-customized FragmentTabHost layouts."

* commit '7392663f800f78a4dc6eddb151d6eb0d6f445f4b':
Allow user-customized FragmentTabHost layouts.
5424d16916b2fb65ff009051e4f9d02584d07b53 06-Jun-2013 Piet Delport <pjdelport@gmail.com> Allow user-customized FragmentTabHost layouts.

This delays the convenience construction of the standard view hierarchy
until just before calling TabHost's setup().

Previously, initFragmentTabHost() would always construct the standard
hierarchy, breaking any other layout supplied by the user.

Bug: https://code.google.com/p/android/issues/detail?id=53230
Change-Id: I90c6d5afd1fa9774f8f079cc825b4f60ac6f7c6f
ragmentTabHost.java
67cae30c5e557e6e1a66dfd761077f77d87b9fec 07-Jun-2013 Adam Powell <adamp@android.com> am 018ec423: am b036748c: am ab996046: Merge "Fix fragment flickering on hiding (support library)"

* commit '018ec423c981c18d1fa4a8ccf3a3883c18aae7a1':
Fix fragment flickering on hiding (support library)
b036748c3e21460cea4e714dfe55f047f3e0ea87 07-Jun-2013 Adam Powell <adamp@android.com> am ab996046: Merge "Fix fragment flickering on hiding (support library)"

* commit 'ab996046e6b317d9744d1ba20bfbdede9ba0f5bb':
Fix fragment flickering on hiding (support library)
495efcad8c8865e3e6f14e4ea3d79cfb1d2410f9 06-Jun-2013 Alexander Mironov <alexander.mironoff@gmail.com> Fix fragment flickering on hiding (support library)

The "loadAnimation" method inside of the "hideFragment" method was called with "enter" argument set to "true". That's clearly a mistake. There is entry for this bug in issue tracker (http://code.google.com/p/android/issues/detail?id=32405)

Change-Id: I826c7c668f223dbf1b3fbd0b82f7084c5657649c
ragmentManager.java
b54b83e50502c5a65c721845d63fe901ddaef252 29-May-2013 Chris Banes <chrisbanes@google.com> am 8258d12e: am e85d95a0: Merge "ActionBarCompat support for ActionBarDrawerToggle" into jb-mr2-dev

* commit '8258d12ea9d0c90a4a0e4df3719f87b292a51f76':
ActionBarCompat support for ActionBarDrawerToggle
e85d95a04fcc59c927ddaede589fab64eac81ab4 29-May-2013 Chris Banes <chrisbanes@google.com> Merge "ActionBarCompat support for ActionBarDrawerToggle" into jb-mr2-dev
99f6afef8eda666bb672e1789cda67440484604d 29-May-2013 Adam Powell <adamp@google.com> am e7200402: am d3de4f6d: Fix a bug in FragmentActivity menu panel preparation

* commit 'e7200402764bf29786dda9a77edac605cb0bf662':
Fix a bug in FragmentActivity menu panel preparation
45d973fcc4c43f5ea00cddd3d9b947d9e8d8fc4e 28-May-2013 Chris Banes <chrisbanes@google.com> ActionBarCompat support for ActionBarDrawerToggle

Bug: 9167781
Change-Id: I927788a093d27e26b8b693766127f1a608d1b540
ctionBarDrawerToggle.java
d3de4f6d003d92c2a3c5f449a0d759ab9032d2ff 25-May-2013 Adam Powell <adamp@google.com> Fix a bug in FragmentActivity menu panel preparation

Don't require visible menu items to return true from onPreparePanel.
This disrupts ActionProviders that may manipulate menu item visibility
later or other code that otherwise alters item visibility outside of a
full menu invalidation.

Bug 9129862

Change-Id: I56986cc6d46fc6b250ebb8b0b186be99cc705700
ragmentActivity.java
0cca6c864a78e862a4f5046dc31b048e19250eea 20-May-2013 Scott Kennedy <skennedy@google.com> am d77b0c6b: am 9778122c: am 96d5bf8f: am b7345024: am be5d626f: Return true when we toggle the drawer

* commit 'd77b0c6b87fd4d5674bfcf9e4733873ccdee4d16':
Return true when we toggle the drawer
9778122c5445ac11d151329379e9bfc071b4adb8 20-May-2013 Scott Kennedy <skennedy@google.com> am 96d5bf8f: am b7345024: am be5d626f: Return true when we toggle the drawer

* commit '96d5bf8fb15d33bac92e139683e3dc157317ec91':
Return true when we toggle the drawer
96d5bf8fb15d33bac92e139683e3dc157317ec91 20-May-2013 Scott Kennedy <skennedy@google.com> am b7345024: am be5d626f: Return true when we toggle the drawer

* commit 'b73450243520f7ad53b8225dd9ec46597ebf1fe6':
Return true when we toggle the drawer
be5d626f0e91da09f46b82daa84c3d57df196c11 19-May-2013 Scott Kennedy <skennedy@google.com> Return true when we toggle the drawer

The docs say we can check the return value from
ActionBarDrawerToggle#onOptionsItemSelected(MenuItem) to
short-circuit Activity#onOptionsItemSelected(MenuItem), but we were
never returning true.

Change-Id: Ieadc469e65189c27182ed5b28ffb9cd712d06b96
ctionBarDrawerToggle.java
6eb996f3f886215a7ee80a50d8ace1a2ae27d869 14-May-2013 Chris Banes <chrisbanes@google.com> am 668a1b49: am 7752709b: Merge "Tidy up Up Navigate for ActionBarActivity" into jb-mr2-dev

* commit '668a1b4989e0758ba8802dec582a48a28663b7e4':
Tidy up Up Navigate for ActionBarActivity
6f9952fd5a1dc66c584b26b9062ba6efd69ebcc7 13-May-2013 Chris Banes <chrisbanes@google.com> Tidy up Up Navigate for ActionBarActivity

These came about as part of IOSched testing yesterday.

- Split out the relevant NavUtils calls into seperate
methods allowing apps to override.
- More closely emulate v16's shouldUpRecreateTask() in
base NavUtils
- Adds an interface to TaskStackBuilder which allows
ActionBarActivity to provide the parent intent.

Change-Id: I4e158f6fa9e274f0a38ccfe0a98fc0e7cc4457b9
Signed-off-by: Chris Banes <chrisbanes@google.com>
askStackBuilder.java
b53905fb20d0dbf2221ecead96cbeb95aff7833d 25-Apr-2013 Adam Powell <adamp@google.com> am abf65576: am 61297ad7: am 44267117: am 6bfa17e1: am 753e0f10: ActionBarDrawerToggle behavior tweak

* commit 'abf655760d5b608463fe9fcdd70fbe3d7d4ac1e5':
ActionBarDrawerToggle behavior tweak
61297ad77c65a17ac9293f4d3f6c8f9a1cbfa095 25-Apr-2013 Adam Powell <adamp@google.com> am 44267117: am 6bfa17e1: am 753e0f10: ActionBarDrawerToggle behavior tweak

* commit '44267117d61c06c62dff1ef1a6125b5d7135292a':
ActionBarDrawerToggle behavior tweak
44267117d61c06c62dff1ef1a6125b5d7135292a 25-Apr-2013 Adam Powell <adamp@google.com> am 6bfa17e1: am 753e0f10: ActionBarDrawerToggle behavior tweak

* commit '6bfa17e180599f4ad3fb26306af534b998d8ec46':
ActionBarDrawerToggle behavior tweak
753e0f10af4a3e3820779a825d9004d48412d6a7 25-Apr-2013 Adam Powell <adamp@google.com> ActionBarDrawerToggle behavior tweak

Only open/close the drawer when the indicator is actually enabled.

Bug 8698758

Change-Id: Ic90c48b5c94fea1e0f7931bd9ecdd58827b244b7
ctionBarDrawerToggle.java
9a0f25eee531f318d03d619403223637c353689c 23-Apr-2013 Jeff Brown <jeffbrown@google.com> am f931434d: am 6d25d4c0: Merge "appcompat: Add plumbing for fragment options menus." into jb-mr2-dev

* commit 'f931434d9443c29cc283c51a73a362902185795e':
appcompat: Add plumbing for fragment options menus.
6d25d4c095dc89d9549479b91a28878c8d217995 20-Apr-2013 Jeff Brown <jeffbrown@google.com> Merge "appcompat: Add plumbing for fragment options menus." into jb-mr2-dev
46cbfa432cc2957d03e5ba944af9d4f8110e4b10 19-Apr-2013 Adam Powell <adamp@google.com> am 6f82dd99: am 39348baa: am 50fddb72: am bbe02dec: am 79f95ce3: Add ActionBarDrawerToggle

* commit '6f82dd99ff7c5c4d84efe4cc434dfef23fabbc50':
Add ActionBarDrawerToggle
39348baa7409a0ca336955f628a3c1726a83dcfc 19-Apr-2013 Adam Powell <adamp@google.com> am 50fddb72: am bbe02dec: am 79f95ce3: Add ActionBarDrawerToggle

* commit '50fddb72c23917e121f99e2cc2ec20370ea4a351':
Add ActionBarDrawerToggle
50fddb72c23917e121f99e2cc2ec20370ea4a351 19-Apr-2013 Adam Powell <adamp@google.com> am bbe02dec: am 79f95ce3: Add ActionBarDrawerToggle

* commit 'bbe02dec387027df443be1e4af733ddcb91e3354':
Add ActionBarDrawerToggle
3a1a7fff9873abbf8097c96f7654a459bf34f223 19-Apr-2013 Jeff Brown <jeffbrown@google.com> appcompat: Add plumbing for fragment options menus.

We make the callbacks available through an interface so that
developers can implement them on any fragment without having
to subclass ActionBarFragment.

The plumbing is mainly transparent to v4 support although we
needed access to a few properties.

Bug: 8661191
Change-Id: I1abce746b7b8443efd406a3e1a4b92c948c678db
ragment.java
ragmentManager.java
79f95ce3e660d267831067e514ff455156c4381f 18-Apr-2013 Adam Powell <adamp@google.com> Add ActionBarDrawerToggle

This helper provides an easy way to tie together the functionality of
DrawerLayout and the framework action bar and correctly implement the
design guide behavior for navigation drawers.

Fix a bug with minimum fling velocity in
DrawerLayout/SlidingPaneLayout.

Part of bug 8609454 - code samples for DrawerLayout/SlidingPaneLayout

Change-Id: I293ac33e3898e5dbecdb8aed386318a40f72ca75
ctionBarDrawerToggle.java
9403d969122f599f4b05207c09f4aacb9b04f505 10-Apr-2013 Chris Banes <chrisbanes@google.com> am 94432958: am d0203566: Merge "Implement Up Navigation in Compat Action Bar" into jb-mr2-dev

* commit '94432958a2a7232aa733b2c292dc58b5d5604132':
Implement Up Navigation in Compat Action Bar
51e35e07a00e4b56a1ca330323e69ef9258c4e57 04-Apr-2013 Chris Banes <chrisbanes@google.com> Implement Up Navigation in Compat Action Bar

This commits add ancestral navigation to the compat
action bar. It uses the v4 class NavUtils for the
large part:

- Added support versions of up task creation methods
to ActionBarActivity (onCreateNavigateUpTaskStack, etc)
- Moved menu selected logic out of delegates and into
ActionBarActivity.
- Add finishAffinity shim into v4 support.

Change-Id: I2b937434c5820aca162fdfa5665adc33d957bfb9
Signed-off-by: Chris Banes <chrisbanes@google.com>
ctivityCompat.java
e832f2cd99eab8905664294b18d557f2aa96eaae 21-Mar-2013 Jeff Brown <jeffbrown@google.com> am dd6f0dc4: am e6072e2d: Clean up action bar support library.

* commit 'dd6f0dc418e595f04669415df3d7e4a2487c9c94':
Clean up action bar support library.
5565f83a45955399ab158c58de34f53460dc614d 21-Mar-2013 Jeff Brown <jeffbrown@google.com> resolved conflicts for merge of ac1777e1 to master

Change-Id: I76faee11167913299d6e5ce91de250c8712a76d6
e6072e2d918169bd827cf7431347fb648124c227 21-Mar-2013 Jeff Brown <jeffbrown@google.com> Clean up action bar support library.

Small initial refactoring. More to come.

Added a SearchActionProvider to make it easy to embed
SearchViewCompat within a support library action bar.

Bug: 8175766
Change-Id: I4ddb16d8fce5d638a76027446128f7462c2095ce
ragmentActivity.java
da10fdd1400ecfd8d7f2e55651dd528d0614dfc5 19-Mar-2013 Jeff Brown <jeffbrown@google.com> Move appcompat library to v7 package.

Moved most of the options menu related functionality out of v4
support lib into appcompat where it belongs. These two libraries
have very different design philosophies and it is important that
they remain untangled.

The support action bar options menu is broken by this change but
will be fixed in later patches after some refactoring to more
fully express the facade-like nature of the appcompat library.

Collapsed the appcompat eclair, honeycomb and ics folders into
one src folder because the layering did not make any sense.
All of these folders were providing portions of the API.
The layering will be reconstructed and improved in later patches.

Moved implementation types into an internal package within appcompat
to prevent them from leaking into the API.

Changed the base package name to android.support.v7, similar
to the gridlayout support lib.

Bug: 8175766
Change-Id: I538cbe08310e63e96a2a9fed0b8636eeda530f2c
ragment.java
ragmentActivity.java
ragmentManager.java
847bab48ffd5cb62bc06465d7a4c60a016f5a2b9 01-Mar-2013 Chris Banes <chrisbanes@google.com> Fix Conflict with ActionBarSherlock (DO NOT MERGE)

We've had to rename getSupportMenuInflater() to
getCompatMenuInflater() for now to fix the build.

This should be reverted before launch!

Change-Id: I25812a81130484053fbe97df13fc2bf5b9b5a340
Signed-off-by: Chris Banes <chrisbanes@google.com>
ragmentActivity.java
e0f27d39b0a4f0ef30ef6446e7b675279961cc94 28-Feb-2013 Chris Banes <chrisbanes@google.com> Move support Menu interfaces + callbacks to v4 (DO NOT MERGE)

This moves the Menu* interfaces used for the ActionBar
into android-support-v4. This allows us to remove
ActionBarFragment and related hackery.

This commit just keeps us at the same level of functionality,
but is a cleaner implementation. A future feature would be
to enable the use of the support Menu when not using
ActionBarActivity.

Change-Id: I952ce78a378e8ec3b990f5c285a44c7fc4807f0c
Signed-off-by: Chris Banes <chrisbanes@google.com>
ragment.java
ragmentActivity.java
ragmentManager.java
5f1309fe533f644638155e79d50e23060191bf59 20-Feb-2013 Chris Banes <chrisbanes@google.com> Propogate support menu callbacks to Fragments (DO NOT MERGE)

This commit adds a new Fragment subtype which contains versions
of the support menu calls. A number of changes to ActionBarActivity
have been needed to make this possible:

- ActionBarActivity and related classes have been moved to the
android.support.v4.app package.
- FragmentManagerImpl instance creation has been moved to a method
in both FragmentActivity and Fragment, so that we can return a
new sub-type: SupportMenuFragmentManager
- FragmentManagerImpl is no longer final
- The compat ActionBar menu set up has been changed so that it happens
in onPostCreate. This is so that any fragments can be added in onCreate.

Change-Id: I591ca163762431cae9a4988cd89e0711d6b5ff21
ragment.java
ragmentActivity.java
ragmentManager.java
c1e87ac17c772ee3c5fd3b3f08321226e2c7ffa4 01-Mar-2013 Chris Banes <chrisbanes@google.com> Fix NPE when using support menu with Fragment

This should have been included in change:
I3de7695d4db0b9626f2bc9ed49ad0528146dc093 but
it seems to have been missed.

Change-Id: I76be4eb4f327bed6f9cb9a3ef8b1370d841bab2f
Signed-off-by: Chris Banes <chrisbanes@google.com>
ragmentManager.java
8ae0391b222937994c3a5762f290ad64aa768baf 01-Mar-2013 Chris Banes <chrisbanes@google.com> Fix Conflict with ActionBarSherlock

We've had to rename getSupportMenuInflater() to
getCompatMenuInflater() for now to fix the build.

This should be reverted before launch!

Change-Id: I759e436549b9d3cc22e84650a0f8fafd599412f3
Signed-off-by: Chris Banes <chrisbanes@google.com>
ragmentActivity.java
461b48b4588ac21b97aa40553f04222c2c0344e7 28-Feb-2013 Chris Banes <chrisbanes@google.com> Move support Menu interfaces + callbacks to v4

This moves the Menu* interfaces used for the ActionBar
into android-support-v4. This allows us to remove
ActionBarFragment and related hackery.

This commit just keeps us at the same level of functionality,
but is a cleaner implementation. A future feature would be
to enable the use of the support Menu when not using
ActionBarActivity.

Change-Id: I3de7695d4db0b9626f2bc9ed49ad0528146dc093
Signed-off-by: Chris Banes <chrisbanes@google.com>
ragment.java
ragmentActivity.java
ragmentManager.java
ffe0b0cac90bf1f7cc8b5e4adca9364ca9adc7a4 20-Feb-2013 Chris Banes <chrisbanes@google.com> Propogate support menu callbacks to Fragments

This commit adds a new Fragment subtype which contains versions
of the support menu calls. A number of changes to ActionBarActivity
have been needed to make this possible:

- ActionBarActivity and related classes have been moved to the
android.support.v4.app package.
- FragmentManagerImpl instance creation has been moved to a method
in both FragmentActivity and Fragment, so that we can return a
new sub-type: SupportMenuFragmentManager
- FragmentManagerImpl is no longer final
- The compat ActionBar menu set up has been changed so that it happens
in onPostCreate. This is so that any fragments can be added in onCreate.

Change-Id: Iad4cb121ed99780ea6f207991bd65c2be4b6d69b
ragment.java
ragmentActivity.java
ragmentManager.java
0ae098d0ccd89af6780d934df570e8e4a4c91002 07-Feb-2013 Jeffrey Brown <jeffbrown@android.com> am edb2ce86: Merge "Clear loaders array after they are destroyed."

# By Roman Mazur
# Via Gerrit Code Review (1) and Roman Mazur (1)
* commit 'edb2ce86c2d08e3381dc62f0ffc95bc115afba5a':
Clear loaders array after they are destroyed.
edb2ce86c2d08e3381dc62f0ffc95bc115afba5a 07-Feb-2013 Jeffrey Brown <jeffbrown@android.com> Merge "Clear loaders array after they are destroyed."
49714d665f839c4804a17eea129092f8b472926d 04-Jan-2013 Roman Nurik <romannurik@google.com> Add missing NotificationCompat.BigPictureStyle.bigLargeIcon method.

Bug 7599054

Change-Id: I6691d4ca6ba3520962ba7a4dd9ae3978066a8f39
otificationCompat.java
6a52bca0d3aaca1abb9601c1cb808dc93d5ff747 12-Dec-2012 Adam Powell <adamp@android.com> am f086fd33: am 2008690a: Merge "Add compatibility implementation of ActivityOptions and start activity."

* commit 'f086fd33c03d16c62f161bc9abca8fdeba8487ae':
Add compatibility implementation of ActivityOptions and start activity.
2008690a1097b1f6aabf702e3f1700c06f57d141 12-Dec-2012 Adam Powell <adamp@android.com> Merge "Add compatibility implementation of ActivityOptions and start activity."
3a96487b54eca412f51ad00b8f8096055e94dcbb 13-Jul-2012 Jake Wharton <jakewharton@gmail.com> Add compatibility implementation of ActivityOptions and start activity.

This will allow for constructing ActivityOptions and starting an activity
using them in a backwards-compatible way. The implementation is only used
on API 16 and newer. On platforms prior to API 16 the traditional
startActivity and startActivityForResult methods are used.

Change-Id: I86c0df28dadc391b340303d448c70a25d33a76de
ctivityCompat.java
ctivityOptionsCompat.java
26ede9823f507da5be5784b75c5fc4e6169426f5 14-Nov-2012 Joe Malin <jmalin@google.com> am 752b5e48: am e950e1c4: am 0675f15e: am ad651749: am b6ede974: am 884c97b0: Javadoc: API level support for NotificationCompat

* commit '752b5e48607bce6b28469f1019c54a704ef359b4':
Javadoc: API level support for NotificationCompat
ad6517496e738508d572df4e26c683744f2fda9c 14-Nov-2012 Joe Malin <jmalin@google.com> am b6ede974: am 884c97b0: Javadoc: API level support for NotificationCompat

* commit 'b6ede974d61e9ad0804955e4dce560d3988baaf5':
Javadoc: API level support for NotificationCompat
b6ede974d61e9ad0804955e4dce560d3988baaf5 14-Nov-2012 Joe Malin <jmalin@google.com> am 884c97b0: Javadoc: API level support for NotificationCompat

* commit '884c97b0015a71381bc2a534438b2a0e7e7abd6a':
Javadoc: API level support for NotificationCompat
884c97b0015a71381bc2a534438b2a0e7e7abd6a 13-Oct-2012 Joe Malin <jmalin@google.com> Javadoc: API level support for NotificationCompat

Change-Id: I64e66dcef9041cad980ea022b21c5672744b1567
otificationCompat.java
0e2575ae97ccb986e9d32a57c9e4c44b3c1aa20e 16-Oct-2012 Adam Koch <akoch@google.com> ShareCompat: protect against getAction() returning null.

Change-Id: Ic877b7eac3cb0685a68a348b6f66953f4f4e5561
hareCompat.java
b83c02f94b45868aa3f14016747639bbd2ced185 15-Sep-2012 Roman Mazur <mazur.roman@gmail.com> Clear loaders array after they are destroyed.

Here is the story.
There is a bug. Decision about retaining state is made when
onRetainNonConfigurationInstance is called after onStop. I mean
doRetain() method is called in this case only. But it's possible that
activity is recreated because of a configuration change happening much
further after it was stopped. E. g. start an activity, navigate to
another from it (stopping the current), rotate the screen, press back.
In this case loaders are destroyed, not retained despite the
configuration change nature of activity recreation.
Well, let it be... But loaders are destroyed (reset), and at the same
time their instances are still in that sparse array. As a result,
instance of the destroyed loader is used again when new activity
starts. The loader reloads its data (since it was previously reset)
but cannot deliver it to a callback since LoaderInfo.mDestroyed is
true.

So, I do not see any reason mLoaders array is not cleared after all
the loaders are destroyed. If it is cleared, everything should work
well. A new loader will be created, it will load data and deliver to
a callback.

Btw, retain logic should be reconsidered to avoid the situation when
loaders are reset in case of the navigation described above.

Change-Id: Ia577caecbacb226a3ce525a01a66283efb6ba754
oaderManager.java
4ccc001f3f883190ac8d900c4f69d71fda94690e 02-Oct-2012 Dianne Hackborn <hackbod@google.com> Maybe fix issue #7132432: com.android.vending: java.lang.IllegalStateException...

...Can not perform this action after onSaveInstanceState at...
...android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1300)

ActivityFragment should clear the flag that state is saved when it
receives onNewIntent(). This can happen before the activity is
resumed, so we may not have cleared it yet. Also need to do the same
thing for onActivityResult().

Change-Id: Ied35e09cdf0196bb17d309bf5f2c04d3d480c9f6
ragmentActivity.java
3a7571011a8f2c2e2685c4e3e7a6fa46673ee7ea 27-Sep-2012 Dianne Hackborn <hackbod@google.com> Work on issue #7232641: ISE crash when rotating phone in label list mode

This doesn't fix the problem; I think it is an app problem. It does
improve a bunch of the debugging to help better identify what is going
on, and introduces some checks when adding a fragment to fail
immediately if we are getting into a state when a fragment is going to
be in the added list multiple times (which is pretty much guaranteed
to lead to a failure at some point in the future).

Change-Id: Idac978eb6bd2bd38d54e50532907c40b264ac300
ackStackRecord.java
ragmentManager.java
74c671b3b67000bf16b4865a8d361344310dccbe 26-Sep-2012 Dianne Hackborn <hackbod@google.com> Fix how fragment/tab interaction works to avoid list view state loss.

The implementation of FragmentTabHost would cause us to toggle between
the default and selected tab fragments when restoring our state.
Because of an issue in ListView (fixed by another change), this would
cause us to lose the state because ListView tripped over itself if
you asked it to save its state immediately after restoring it. We
are now more careful about switching fragments, so we don't run in to
this problem at least in most cases.

Also pull over framework change to not let inactive fragments be
more than CREATED.

Bug #7232088: ListView saved state being lost in some cases

Change-Id: Id9f20c207409d2479ff8bce8ed5b0553510cdd63
ragmentManager.java
ragmentTabHost.java
f19cb1f3facdb9f90ef1b26537ff303eaa3db77d 17-Sep-2012 Adam Powell <adamp@google.com> Port TaskStackBuilder fixes and features from frameworks/base

Bug 6457058

Change-Id: Ibc519e1b0ef10b2fb37992d68dfc92953f0355a5
avUtils.java
askStackBuilder.java
0adacc1aa313d757ae1c517152cef838e0f35c13 09-Sep-2012 Dianne Hackborn <hackbod@google.com> Nested fragments.

Change-Id: I2cfd30fda55320796c8eec738f5b9b592ea2c29c
ragment.java
ragmentActivity.java
ragmentManager.java
ragmentTabHost.java
oaderManager.java
26357884984cfbe99c8f18c72dd3259827494cd0 29-Aug-2012 Chris Wren <cwren@android.com> am be5b75c3: am 080df8ff: Use correct version code for ICS, and update doc strings.

* commit 'be5b75c3aa3b730f5ce00adbacce52b2faa4adb2':
Use correct version code for ICS, and update doc strings.
be5b75c3aa3b730f5ce00adbacce52b2faa4adb2 29-Aug-2012 Chris Wren <cwren@android.com> am 080df8ff: Use correct version code for ICS, and update doc strings.

* commit '080df8ffb0920eccb300baa39180eb956a000a53':
Use correct version code for ICS, and update doc strings.
080df8ffb0920eccb300baa39180eb956a000a53 28-Aug-2012 Chris Wren <cwren@android.com> Use correct version code for ICS, and update doc strings.

Bug: 7047253
Bug: 6964458
Change-Id: I22e2e66ca8f54e4b757fb5e11363ed28dd20aa9e
otificationCompat.java
13fb2b96fa8464e7b8514c57e1ad5ea782b3a52c 18-Aug-2012 Dianne Hackborn <hackbod@google.com> Improved fragment manager debugging.

Now dump the activity state for every exception thrown where this
may be of interest. FragmentActivity now dumps a summary of its
view hierarchy state.

Change-Id: Id34509cac3912a78c0e9d35e2b72a8b2779ea336
ragmentActivity.java
ragmentManager.java
ec9fb2522d42d1ff73ddffa12b318d925c10ab18 15-Aug-2012 Dianne Hackborn <hackbod@google.com> Add more debug info when a container view ID can't be found.

Change-Id: Ifbeefdbf13c941dd5d051f25d9f47a43c76738f3
ragmentManager.java
7ae9d85ac7ebc4c9005264b28c934b2befd6e21c 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am bf7974e4: Merge "Set the user-visible hint on fragments in FragmentStatePagerAdapter"

* commit 'bf7974e46b008ffa4a16c61386735c4817d343aa':
Set the user-visible hint on fragments in FragmentStatePagerAdapter
c859696c906067f80504863f727a24caf5699282 01-Aug-2012 Chris Wren <cwren@android.com> am b41a2137: Add missing docs to notification style rebuilder functions.

* commit 'b41a213761ff07de2fcfdaf16790fdcca1a1ee1b':
Add missing docs to notification style rebuilder functions.
b41a213761ff07de2fcfdaf16790fdcca1a1ee1b 01-Aug-2012 Chris Wren <cwren@android.com> Add missing docs to notification style rebuilder functions.

Bug: 6914726
Change-Id: I4b76316dcbfa66b49ec032c57669f33f86b71c2a
otificationCompat.java
6d6186b9a2503200844febe1b8ba083206c7cbcd 28-Jul-2012 Veeti Paananen <veeti.paananen@rojekti.fi> Set the user-visible hint on fragments in FragmentStatePagerAdapter

Unlike FragmentPagerAdapter, FragmentStatePagerAdapter did not set
the user-visible hint on fragments when they were paged. This
commit fixes the inconsistency.

Change-Id: I8098279ee398dfcd37f999e67688d7cb591f9d65
Signed-off-by: Veeti Paananen <veeti.paananen@rojekti.fi>
ragmentStatePagerAdapter.java
a33ad03c4911b876d596ce42231ffd108091ca79 09-Jul-2012 Chris Wren <cwren@android.com> am f0217589: Add v16 Notification APIs to NotificationCompat.

* commit 'f021758934b35e3b842c6799344531d7ea2969da':
Add v16 Notification APIs to NotificationCompat.
f021758934b35e3b842c6799344531d7ea2969da 29-Jun-2012 Chris Wren <cwren@android.com> Add v16 Notification APIs to NotificationCompat.

As before, we attempt to expose the superset of all
Notification.Builder APIs; where features from the newer
APIs apply to the API level available, we support that
behavior, otherwise we drop it.

This change also has some minor documentation updates that
should be mirrored in the framework.

Bug: 6316809
Change-Id: Ie57625e8bbecae87139f06007b6edd36deee95b1
otificationCompat.java
0992caa8f0d8e6a9a0e41bebdc776053399212bf 20-Jun-2012 Dianne Hackborn <hackbod@google.com> am 464b6f3c: Fix issue #6675499: java.lang.RuntimeException: Unable to start...

* commit '464b6f3c93dda03359ec2d37c8205065922f2994':
Fix issue #6675499: java.lang.RuntimeException: Unable to start...
464b6f3c93dda03359ec2d37c8205065922f2994 20-Jun-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6675499: java.lang.RuntimeException: Unable to start...

...activity ComponentInfo{com.google.android.gm/
com.google.android.gm.ui.MailActivityGmail}: java.lang.NullPointerException

There were a number of places in FragmentManagerImpl where we were
not dealing with mAdded being null. In the original implementation,
mAdded would almost always be null if mActive is null. As we have
added features, this has become a less strong guarantee (and it actually
was never completely guaranteed), but there are a lot of places where
we would check for mActive being non-null and assume this meant
mAdded is non-null.

Fix these to correctly check for mAdded.

Bug: 6675499
Change-Id: I9d8284a1e1dd88fb9a6b75ddd9afac79e344fff3
ragmentManager.java
59fc960234723be0d6cde5241497d5fba00c002d 12-Jun-2012 Adam Powell <adamp@google.com> am 575e098d: Allow TaskStackBuilder to be used from a Service

* commit '575e098da5bc16ff8b95ca080284253fd206fe12':
Allow TaskStackBuilder to be used from a Service
575e098da5bc16ff8b95ca080284253fd206fe12 12-Jun-2012 Adam Powell <adamp@google.com> Allow TaskStackBuilder to be used from a Service

Add ContextCompat and pull startActivities out of ActivityCompat.

Bug 6650578

Change-Id: Ib7451d2821a60829525321c6f397bc34b1c0cf2f
ctivityCompat.java
askStackBuilder.java
c066da5e9de16dae63e036fb6823274e06ab68a6 12-Jun-2012 Dianne Hackborn <hackbod@android.com> am e8ef959d: am 4a7e12af: Merge "Fix for restarting loader manager after orientation change"

* commit 'e8ef959d85ef556bc4ba0acd2dfc433a9b019877':
Fix for restarting loader manager after orientation change
e8ef959d85ef556bc4ba0acd2dfc433a9b019877 12-Jun-2012 Dianne Hackborn <hackbod@android.com> am 4a7e12af: Merge "Fix for restarting loader manager after orientation change"

* commit '4a7e12af4ec095c3a53bb8481d8d92f63157c3b7':
Fix for restarting loader manager after orientation change
4a7e12af4ec095c3a53bb8481d8d92f63157c3b7 12-Jun-2012 Dianne Hackborn <hackbod@android.com> Merge "Fix for restarting loader manager after orientation change"
5506618c80a292ac275d8b0c1046b446c7f58836 05-Jun-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6584942 IllegalStateException: Failure saving state...

...active SuggestFragment{419494f0} has cleared index: -1

There were issues when the same fragment was removed and then
added again before completely finishing the remove (such as due
to a running animation).

Two fixes:

- Now when you call FragmentTransaction.replace() and are replacing
a fragment with the same fragment, this becomes a no-op, to avoid
visual artifacts in the transition and bad states.
- When we are moving the fragment state up and it is currently
animating away to the INITIALIZED state, we could end up making
the fragment inactive as part of the cleanup. In this case it
shouldn't be made inactive; we just need to initialize it but
keep it active since we are going to continue to use it.

Bug: 6584942
Change-Id: I4c37a8e48b115feb0892ef0eb92316d7aeba7b1b
ackStackRecord.java
ragment.java
ragmentManager.java
1b913519b1c03b084779851e81db2e1a11eb0b0d 31-May-2012 Dianne Hackborn <hackbod@google.com> Working on issue #6561352: java.lang.RuntimeException: Unable to start...

...activity ComponentInfo{com.google.android.googlequicksearchbox
/com.google.android.googlequicksearchbox.SearchActivity}

Add check for a situation where we are saving the state of a
fragment with a -1 index, and fail early in that case with more
debug information.

Change-Id: I175b2d5a1f47934497f28dd3a2d95b3351159743
ragmentManager.java
be2c79d9a5439922030d2a3846c81c61f0e16912 16-May-2012 Dianne Hackborn <hackbod@google.com> Follow changes in framework.

Change-Id: I424a6e8f4b8b50d421c56bb018beab1063ba2cef
ragment.java
ragmentManager.java
66957a1e997dde850701ee96a3aa7b7c1444d67f 15-May-2012 Adam Powell <adamp@google.com> Work around an ICS ActionProvider bug for ShareCompat

ICS had a bug where MenuItems that were not originally created with a
submenu would not properly be configured with one even if an
ActionProvider reported having a submenu. This has been fixed for JB,
but work around it for ShareCompat#configureMenuItem when running on
ICS.

Bug 6493376

Change-Id: I2b76872d5b82d713bbd98f6e92812fe0400fb848
hareCompat.java
1a1c2acbc15f8bc9dba05d09dcb18e340474e1c6 10-May-2012 Adam Powell <adamp@google.com> ViewPager data set change fixes

Clean up ViewPager data set change operations a bit and update
FragmentPagerAdapter to allow for items changing positions within the
adapter during a data set change.

Bug 6347192

Change-Id: Ib0aaa31190fca561f9b2c6c94f37e0b5eb1d1e90
ragmentPagerAdapter.java
0306ebc908d5dcf148aa319a9734b419eacb23b5 02-May-2012 Adam Powell <adamp@google.com> TaskStackBuilder API changes

Reflect JB framework API changes in TaskStackBuilder. Old names for
some methods have been deprecated.

Change-Id: I8ca7000bc29150757561955ba02a8461fae4ae1e
ctivityCompat.java
askStackBuilder.java
430eb135c8a5415b532a686bb514f9711dc932d7 24-Apr-2012 Christopher Tate <ctate@android.com> am c39b171a: am eb685054: am 271504db: Merge "Do not dispatch context selection events to non-visible fragments."

* commit 'c39b171a8b10ffc1bd06dd5251595d0050d3951d':
Do not dispatch context selection events to non-visible fragments.
cf0160d23e02e26e975188c2509cd3b936dec8a1 24-Apr-2012 Christopher Tate <ctate@android.com> am 95fc5568: am 2d0e9339: am ea518a34: Merge "Fix potential NPE when saving fragment state."

* commit '95fc5568079ef4628087abb6504566b27ef31b8d':
Fix potential NPE when saving fragment state.
12924cf8019d4a584bcc6cd5f1bab7f993aaaf65 24-Apr-2012 Christopher Tate <ctate@android.com> am e3f47c95: am f618142e: am 72bf9301: Merge "Fix NPE in `onActivityResult` when target fragment no longer exists."

* commit 'e3f47c956a1806fd174b54a5900bbb54be188746':
Fix NPE in `onActivityResult` when target fragment no longer exists.
57ff0548ba991652576d81adaaa8baf4c028de39 24-Apr-2012 Adam Powell <adamp@google.com> Modify NavUtils to use Jellybean up navigation functionality when
available.

Change-Id: If1e237e75e70d01583893503a1fa0ad300206b92
avUtils.java
eb685054a762cf975b86386543f96a174441c5f9 19-Apr-2012 Christopher Tate <ctate@android.com> am 271504db: Merge "Do not dispatch context selection events to non-visible fragments."

* commit '271504dbdf494dc87a2a96ff5d108c75a3389143':
Do not dispatch context selection events to non-visible fragments.
2d0e93395dc1eb868fbc45e47ae32880f97c96f6 19-Apr-2012 Christopher Tate <ctate@android.com> am ea518a34: Merge "Fix potential NPE when saving fragment state."

* commit 'ea518a3420d87c99f28bba47d13ebef727e4564f':
Fix potential NPE when saving fragment state.
f618142e643c0ab795923ab5ba8b0fe62ee08201 19-Apr-2012 Christopher Tate <ctate@android.com> am 72bf9301: Merge "Fix NPE in `onActivityResult` when target fragment no longer exists."

* commit '72bf9301f2914d15c6432dbe1c68e2a930f33c17':
Fix NPE in `onActivityResult` when target fragment no longer exists.
271504dbdf494dc87a2a96ff5d108c75a3389143 19-Apr-2012 Christopher Tate <ctate@android.com> Merge "Do not dispatch context selection events to non-visible fragments."
ea518a3420d87c99f28bba47d13ebef727e4564f 19-Apr-2012 Christopher Tate <ctate@android.com> Merge "Fix potential NPE when saving fragment state."
72bf9301f2914d15c6432dbe1c68e2a930f33c17 19-Apr-2012 Christopher Tate <ctate@android.com> Merge "Fix NPE in `onActivityResult` when target fragment no longer exists."
37c1509886a7897163f70f4645c08ddf0b41632d 14-Apr-2012 Adam Powell <adamp@google.com> Add EXTRA_HTML_TEXT methods to ShareCompat.

Change-Id: I7475a70c7ed54e9e624b9a4cafb338b069323987
hareCompat.java
ebc55e37f09dcb8233a22b1cb3889cfd225fa43b 06-Apr-2012 Adam Powell <adamp@google.com> DO NOT MERGE Fix a bug in TaskStackBuilder where task stack
PendingIntents would not clear tasks properly.

Cherry-pick from master

Change-Id: I75588830b1c7fb632ffc2409bcba0d4f07b90c36
askStackBuilder.java
56a1f598b89d0e65dbd2a2678b66a43f5b7638c2 06-Apr-2012 Adam Powell <adamp@google.com> Fix a bug in TaskStackBuilder where task stack PendingIntents would
not clear tasks properly.

Change-Id: I75588830b1c7fb632ffc2409bcba0d4f07b90c36
askStackBuilder.java
346e2f2390f0d743fd10e7d01a015df6b32292cd 28-Feb-2012 Adam Powell <adamp@google.com> StaggeredGridView and supporting functionality

Stable IDs are not yet supported.

Move/rename HCSparseArray => SparseArrayCompat; make it public.

Add some new features to ViewCompat.

Add ScrollerCompat; leave it package-private for now as it needs
a reasonable fallback implementation for new methods.

Change-Id: I87d6952ef2c7748a40558759372a2525d6a52cf0
ragmentActivity.java
CSparseArray.java
oaderManager.java
dfe1d8aad64614e7f38f724e2c7658ecdad1d0f9 12-Mar-2012 Adam Powell <adamp@google.com> am 1d365108: am c41467a3: am 97b3c54f: Make FragmentActivity#supportInvalidateOptionsMenu public.

* commit '1d3651083b1999aad82841ca65fba375d68cb9ec':
Make FragmentActivity#supportInvalidateOptionsMenu public.
97b3c54fa1e1d75a87fd2429606c615894953946 12-Mar-2012 Adam Powell <adamp@google.com> Make FragmentActivity#supportInvalidateOptionsMenu public.

Change-Id: I0c9f3b76d9b7af67ab62bcd0f9c2af8f75e29222
ragmentActivity.java
aad8fc95423d79f9fa5b3d653ef7571fb15d6d69 14-Feb-2012 Adam Powell <adamp@google.com> am ebdf461e: am c3e2b220: am 7ac4b376: Don\'t have ShareCompat.IntentBuilder start for result by default.

* commit 'ebdf461e16789dd4e146f2b2adb4c1d8a75bfa07':
Don't have ShareCompat.IntentBuilder start for result by default.
60bf1f5414ba04fe4c1f248c652382ad92ceb38d 13-Feb-2012 Adam Powell <adamp@google.com> am a7046d93: am c82ddd1c: am 82c3b869: Merge "Add app navigation helper code to the support library." into ics-mr1

* commit 'a7046d93b798a47d42e14f638468cc65ba090d73':
Add app navigation helper code to the support library.
7ac4b376371e890eb19838249e6749f64d707ad2 13-Feb-2012 Adam Powell <adamp@google.com> Don't have ShareCompat.IntentBuilder start for result by default.

Change-Id: Ib8d93c9323baf09c09b447050c63fe8047fae40f
hareCompat.java
c9cf2eb0a9b6694d0fda3dbc313844955db60820 13-Jan-2012 Adam Powell <adamp@google.com> Add app navigation helper code to the support library.

Add TaskStackBuilder for synthesizing back stacks for cross-task
navigation on Android 3.0 and newer.

Add NavUtils for general navigation helper code.

Add NotificationCompat.Builder as a partial backport of Android 3.0's
Notification.Builder. (It does not currently support progress
notifications.)

Change-Id: I2d7d4dab3dd26e34f6b2210d0f0f3909f2162d6f
ctivityCompat.java
avUtils.java
otificationCompat.java
askStackBuilder.java
ac4078687ff889e804b198bf5748e611bbb0fa30 12-Dec-2011 Adam Powell <adamp@google.com> DO NOT MERGE - Add ShareCompat to the support library.

ShareCompat provides some extra extensions to the
ACTION_SEND/ACTION_SEND_MULTIPLE Intent protocol for sharing content
between applications.

ShareCompat.IntentBuilder is a helper that can construct sharing
intents with the proper metadata for sharing content.

ShareCompat.IntentReader is a helper for parsing the data shared by a
sharing intent.

Either of these helpers may be used in isolation. Extra data will be
added to communicate the package and activity info about the app
sharing the content, and the receiving app can make use of that data
whether it was supplied through startActivityForResult or extra
metadata added by ShareCompat.IntentBuilder.

ShareCompat.configureMenuItem can set up a MenuItem for sharing
depending on what UI capabilities are available on the current
platform version.

Make sure sharing intents constructed with ShareCompat helpers set
Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET.

Change-Id: I74be64d9f70162e5d9ed833551856ddaadc24992
ctivityCompat.java
hareCompat.java
efd500c1dc94cca913d5d714544dd0e7019858aa 05-Feb-2012 Matthias Huber <hubermat.android@gmail.com> Fix for restarting loader manager after orientation change

After an orientation change, the recreated FragmentActivity creates a new
LoaderManagerImpl. Unfortunately this new LoaderManagerImpl does not get
started in onStart(), so loaders cease to load after the orientation change.
The bugfix simply starts the newly created mLoaderManager in onStart().

Change-Id: I35ebc338aad42fb699cd11f742edc7d999df8390
ragmentActivity.java
2c9657f7b1eabf9bdbaf348d206a76cc7f0a4400 01-Feb-2012 Dianne Hackborn <hackbod@google.com> Add callback to perform operations when fragments are resumed.

Change-Id: I4f903ffb88a3e1140b72285100a6c8decbf2a580
ragmentActivity.java
ee8bdae679a94a9be65204b96d9352c4afb58a93 30-Jan-2012 Adam Powell <adamp@google.com> Update v4 DialogFragment to match recent core Android framework changes.

This fixes some stability issues with double-dismissing and adds API support
for dismissing allowing state loss.

Fixes bug 5689305

Change-Id: I398290ea8af7cb07a5b19a50fbdf9ba194693a13
ialogFragment.java
8650b2be627ebfe5b2625fae69624652ce0d7de0 24-Jan-2012 Adam Powell <adamp@google.com> Make sure sharing intents constructed with ShareCompat helpers set
Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET.

Change-Id: I3c002850fe04da72b4b18610e36382ccae87b919
hareCompat.java
8205f0588fe605821216e4b9fe2c26709c4db8be 19-Jan-2012 Jake Wharton <jakewharton@gmail.com> Fix NPE in `onActivityResult` when target fragment no longer exists.

If an activity result comes in which originated from a fragment that
can no longer be found an attempt is still made to call a method
on the instance. The check for null already existed to produce a
logging statement but the subsequent method call was not placed
into an `else` result in the attempt to call being made every time.

Change-Id: I0378d516a16e511a6195608243c049b1cb50a8c8
ragmentActivity.java
f4c0cf637ba73374a206cec26c09d4dfa4c1a364 19-Jan-2012 Jake Wharton <jakewharton@gmail.com> Fix potential NPE when saving fragment state.

If a fragment's saved view state is null and the user
visible hint is true then the `result` bundle will have
never been initialized to a value resulting in a
`NullPointerException`.

Change-Id: I8ba585bc6b9298841490d64bc22a8219cd261adb
ragmentManager.java
3af7ac0c50606fabc975b5f2b8576cfe3212d65d 19-Jan-2012 Jake Wharton <jakewharton@gmail.com> Do not dispatch context selection events to non-visible fragments.

When used in a `ViewPager`, fragments that are present on the adjacent,
cached pages will receive context selection dispatches which, depending
on your fragment contents, can be difficult to determine whether or not
the event truly originated from your view.

By using the visible hint we restrict dispatching to only those fragments
which are marked as being visible. Since the fragment pager adapter
updates this setting properly most implementations will be afforded this
fix without any change required. If the user is implementing their own
adapter they likely already understand the implications of these cached
fragments and the reponsibility for updating the boolean falls to them.

Change-Id: Ie6a72c1c82c2784774373670007b6f5948fe16da
ragmentManager.java
14ad84e85a8c09b016a621f0f0017594e0d7864b 12-Dec-2011 Adam Powell <adamp@google.com> Add ShareCompat to the support library.

ShareCompat provides some extra extensions to the
ACTION_SEND/ACTION_SEND_MULTIPLE Intent protocol for sharing content
between applications.

ShareCompat.IntentBuilder is a helper that can construct sharing
intents with the proper metadata for sharing content.

ShareCompat.IntentReader is a helper for parsing the data shared by a
sharing intent.

Either of these helpers may be used in isolation. Extra data will be
added to communicate the package and activity info about the app
sharing the content, and the receiving app can make use of that data
whether it was supplied through startActivityForResult or extra
metadata added by ShareCompat.IntentBuilder.

ShareCompat.configureMenuItem can set up a MenuItem for sharing
depending on what UI capabilities are available on the current
platform version.

Change-Id: If211591e9c44a4c467b0d7333c54114f6361928b
ctivityCompat.java
hareCompat.java
7dc96cc2410f551eefaa973ddc144146ad72d1ec 13-Dec-2011 Dianne Hackborn <hackbod@google.com> SDK only: fix up support documentation and visibility.

Now that the support library appears in the SDK documentation,
it is worth cleaning up some of its java docs.

Change-Id: I63d4d04be8ee69abf9385597fddbddcaa030477f
ragmentActivity.java
ragmentPagerAdapter.java
ragmentStatePagerAdapter.java
CSparseArray.java
oSaveStateFrameLayout.java
ackage.html
7a01f352fa0fe92cfd786ced85129dcc5531c087 18-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> Fix the build

Change-Id: I893e149ed4c586d88a71dba49abe47d4e3572985
ragmentStatePagerAdapter.java
0574ca37da4619afe4e26753f5a1b4de314b6565 17-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> Add the support libraries to the platform documentation (support libs).

Updated the support libraries' documentation.

bug:5629339

Change-Id: Ia026696e541ab200ce05601aabe062a303bcbb97
ragment.java
ragmentActivity.java
ragmentStatePagerAdapter.java
ragmentTransaction.java
CSparseArray.java
oSaveStateFrameLayout.java
erviceCompat.java
ackage.html
583d8a1ff64c7c59dd4e11759f3d8e994ce878d9 17-Nov-2011 Adam Powell <adamp@google.com> Bug 5327146 - ViewPager API tweaks and docs

PagerAdapter previously took View instances as parameters to several
of its methods leading to lots of casting to ViewGroup in adapter
implementations.

Change these to take ViewGroups. Default implementation calls through
to deprecated stubs with the existing signatures, allowing current
adapters to keep working unmodified.

Add some documentation to PagerAdapter to explain how adapters should
be implemented and the basic mechanics behind ViewPager.

Change-Id: If18a3e4d18a0f84b781518833a23184832808838
ragmentPagerAdapter.java
ragmentStatePagerAdapter.java
1935ed3af7c6545bc38adfdc6026d87a3249222f 15-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding new APIs to the support-v4 lib needed by the v4 samples (support-v4 part).

Some of the samples are using APIs that are introduced after v4 but not
supported in the v4 library. Adding the minimal necessary stuff to the
support-v4 lib to compile and run the samples.

bug:5616340

Change-Id: I103e557f8d021773d51d8383f7b6752027ca334d
erviceCompat.java
79398eaefea45e61d839cf4e0534f0eafee70a09 07-Nov-2011 Adam Powell <adamp@google.com> Change the "start deferred" fragment API to "user visible hint" -
Support lib edition

Allow a fragment to set a hint of whether or not it is currently user
visible. This will be used implicitly to defer the start of fragments
that are not user visible until the loaders for visible fragments have
run. This hint defaults to true.

Modify FragmentPagerAdapter to use the new APIs both in
frameworks/base and here.

Change-Id: Idb5bce8a9ddf484186942555cd3c581d833eba7c
ragment.java
ragmentManager.java
ragmentPagerAdapter.java
6cafd27a3c89dfed10d7e226dc6168307513d4a6 02-Nov-2011 Adam Powell <adamp@google.com> Fix bug 5557267 - [ViewPager] non-primary fragments unnecessary
stopped if "defer start" is enabled

Only revise the target state in moveToState if it would cross the
stopped/started boundary.

Change-Id: I7d0ad66668729ee12c43dcf1635b270a7d0a48b7
ragmentManager.java
1199ae7067cdf8cf3eb30c057a61ae71a0aea1e5 31-Oct-2011 Adam Powell <adamp@google.com> Bug 5535639 - Monkeys mad at FragmentManager

Also check for starting deferred start fragments when a loader is
destroyed.

Change-Id: I58c80708f96afa2943ca1e2cae077f7ac52a064d
ragmentManager.java
oaderManager.java
abc968f1eba800c34a4008deb43b015da5d23a5f 26-Oct-2011 Adam Powell <adamp@google.com> Defer starting fragments in FragmentPagerAdapter for offscreen pages.

Add FragmentCompatICSMR1 to work with deferring fragment starts.

Fix some slightly dodgy layout behavior in ViewPager when extra child
views are present.

Add deferred start feature to support library fragment/loader
framework.

Change-Id: Ied454a6f3e11024eafc970ed9d091788c2d80bab
ragment.java
ragmentManager.java
ragmentPagerAdapter.java
oaderManager.java
b07179708a404260c65814b0ff14702eef189c01 16-Sep-2011 Dianne Hackborn <hackbod@google.com> Add API for FragmentActivity to retain custom non config instance data.

Change-Id: I62360c2a277423867ebae3e031cde331b32441e6
ragmentActivity.java
218c1e661578e2a17928f7dbb590b43d1c79aeb7 02-Sep-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5238823, #5100340 and #5249654.

5238823: java.lang.NullPointerException at...
...android.support.v4.view.ViewPager.pageRight(ViewPager.java:1335)

5100340 Leaking reallyStopped in FragmentActivity

5249654 ViewPager resets focus on layout when descendant of...
...fragment.getView() is focusable (FragmentPagerAdapter bug)

Also there was a bug in the "really stopped" thing that was
previously introduced -- fragments wouldn't stop their loaders
until hitting that state, but they wouldn't go into that state
if the fragment was deactivated or put on the back stack without
the containing activity really stopping.

To fix this, we now implement the really stop facility as
an actual state, using the ACTIVITY_CREATED state, so that we
can know when to do the really stop for both cases.

Change-Id: Ia9bd55f41ad30c3ce07f99b6ac6d9113b15fe46d
ragment.java
ragmentActivity.java
ragmentManager.java
2a4d8518f36346ea25a22a736453ff28f2954165 30-Aug-2011 Dianne Hackborn <hackbod@google.com> Fix issues 5158104 and 4981556 (fragment problems)

5158104: com.android.contacts: java.lang.IllegalStateException:
Can not perform this action after onSaveInstanceState at
android.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1201)

The ViewPager can just commit without worrying about a state loss,
since it can correctly reconstruct its state later.

4981556: Fragment.mImmediateActivity doesn't get restored on orientation change

I am giving up on this thing; I just don't see how it can actually
be correct. So now instead of getting an exception about a dup
add/remove at point of the add/remove call, this will happen later when
processing the transaction.

Also add an API for controlling the visibility of menus, which ViewPager
uses to have the correct menus shows. And add a method to get the
name of a back stack entry.

Finally fix a recent problem in ViewPager with dealing with focus,
and make ViewPager smart about handling keyboard focus navigation
inside itself.

Change-Id: I280269ac64079d171e9c899ea1cff7e80246c924
ackStackRecord.java
ragment.java
ragmentActivity.java
ragmentManager.java
ragmentPagerAdapter.java
ragmentStatePagerAdapter.java
4e6647fe2551985f33407acd712a4942b090207a 08-Aug-2011 Dianne Hackborn <hackbod@google.com> Clear saved state after it is no longer needed.

Change-Id: I1b452808f53758e2bf1cbf97a32d870280a14bba
ragmentManager.java
df6f1393f73a488ba2661b28d3d88a5ac19c4ea2 26-Jul-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5063010: Loaders don't seem to be properly...

...retained with compatibility library

Also we never implemented the full custom animation stuff in the support
lib. Now it is there.

Change-Id: I25b410752fdc3e7ae876802fdc8d7a62e4b07236
ackStackRecord.java
ragmentActivity.java
ragmentTransaction.java
e8b402b00c0cbdac050c349a5fc89c34580f3185 22-Jul-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5054723: java.lang.NullPointerException at...

...android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1284)

Make sure to commit all pending actions before completing the destroy.

Change-Id: I9e88cbfef5f96d63876023b897b44b8999aa8042
ragmentManager.java
9f491519261135d9de50b60c2182755ccb665bf5 17-Jul-2011 Jeff Sharkey <jsharkey@android.com> Release strong Fragment references after exec.

When finished with a Runnable transaction in execPendingActions(),
release the strong reference so that Fragment can be GC'ed.

Bug: 3117761

Change-Id: I6b546eeaa8e4783009ae27f2bab5ccecb28337fb
ragmentManager.java
1d14e69b622aac46d309c95356b625db741178ad 16-Jun-2011 Dianne Hackborn <hackbod@google.com> Remove this old class. Only impacts SDK, not system image.

Change-Id: Icdf8dcb0bb038e36ce07a5a38588084afd615053
ragmentPager.java
2c4b5dbfee5232bcbbcb74b84ce9147b62a9d789 15-Jun-2011 Dianne Hackborn <hackbod@google.com> Merge in fixes from main platform.

Change-Id: I8e63b6990022869aa033d4672018d6585355bf76
ragment.java
ragmentManager.java
f81fd8c39e5ca44a4adb2fb45f9b382305842d87 13-Jun-2011 Dianne Hackborn <hackbod@google.com> Finally implement progress indicator for ListFragment.

Change-Id: I09452c0345285b39c4741dbfcf611718f2447b21
istFragment.java
9c53b844bd525e6a04e17291efc38713893074cd 13-Jun-2011 Dianne Hackborn <hackbod@google.com> Update to follow fixes from platform.

Change-Id: I9918b084426c62a60581e3ac6e69a48e51b7cc9b
ragment.java
ragmentActivity.java
ragmentManager.java
istFragment.java
oaderManager.java
5c1637087453de15e31861f073eae5133c4e9f7b 06-Jun-2011 Dianne Hackborn <hackbod@google.com> Move PagerView down to the v4 support lib.

Adds in standard adapters for using PagerView with the fragment support library.

Also bring in the most recent HC fragment API and impl changes so that the support
lib matches it.

Change-Id: Id8a590378b8c544a92df4f3c11af323c930aa5fd
ragment.java
ragmentManager.java
ragmentPager.java
ragmentPagerAdapter.java
ragmentStatePagerAdapter.java
ea2c91b0198855073983b4a8437aa71cbd83872f 03-Jun-2011 Dianne Hackborn <hackbod@google.com> New super-spiffier ViewPager class.

Replaces FragmentPager. But spiffier. Like I said.

Change-Id: I8a61a2bb613c8efcb95bf458e968e4a35d156491
ragmentActivity.java
ragmentManager.java
715a71e5f73cbc33f307cbd3625db8f889a05c1a 20-Apr-2011 Dianne Hackborn <hackbod@google.com> DO NOT MERGE: From master -- Remove some white space.

Change-Id: Ibbcf5400fb7b521c7737fcca98e5b2c86e267fe7
ragmentManager.java
e4417c91a0bb2fba42a0aaa99edcca1b238af21a 05-Apr-2011 Dianne Hackborn <hackbod@google.com> DO NOT MERGE. Integrate support work from master.

First submit of FragmentPager class.

This provides an easy way to build a UI where the user can
swipe left or right through its elements. The elements are
implemented as fragments, and the class takes care of managing
those fragments as the user navigates through it.

This implementation also introduces a new FragmentManager
concept of a "detached" fragment -- basically a way for you
to put a fragment in the same state as when it is on the
back stack, where the framework is managing its current state
but it is no longer actively running.

Also required the introduction of new compatibility code for
MotionEvent and VelocityTracker for accessing multi-touch data.

Tweak view save/restore state so it will play well with list views.

We need to restore the state *after* the adapter has been set;
setting the adapter clears the state. To do this, we move the
state restore from immediately after the view is created to after
we call Fragment.onActivityAttached().

Also introduced a new Fragment.onViewCreated() callback which is
nice for fragments that want to do some setup after onCreateView()
but allow for subclasses to override that method. (ListFragment
I'm looking at you.)
ackStackRecord.java
ragment.java
ragmentManager.java
ragmentPager.java
ragmentTransaction.java
istFragment.java
3137d1472f1de9eac2e9a5dbe5b8d91282b24e66 10-Mar-2011 Dianne Hackborn <hackbod@google.com> Fix issue #4081614: Fragment.onActivityResult() broken in support lib

Change-Id: Ie21b8e63b3bf8bf7ed75a68604c7d352f9402e07
ragmentActivity.java
ragmentManager.java
9277b9e4419c1f0b5236d9b573a7cc0b23d56402 09-Mar-2011 Dianne Hackborn <hackbod@google.com> Implement fragment animations.

I forgot to finish the implementation of this in the support library.
Currently the standard animations are very hard-coded to look the
same as HC.

Also bring over my MR1 fix to onInflate().

Change-Id: Ib584e158bb691986d912aea5fd3004b8b2da7a6a
ragment.java
ragmentActivity.java
ragmentManager.java
27aea04b07c1fafa0f815aa4f80374a9e051b41c 22-Feb-2011 Dianne Hackborn <hackbod@google.com> Implement support for menus in fragments.

This uses a little trick to be able to take care of rebuilding
the menu when the fragments change, when running on pre-HC
platforms. When running on HC or better, it uses the new API
to invalidate the menu.

Also adds a little bit of a helper for using new menu APIs and
fixes the implementation of dump() to call up to the super class
dump() when running on HC.

And fix a few problems that came up when running on Donut.

Change-Id: I2420545632796b3199d5eec90aa3f3372ceedb90
ragmentActivity.java
681a6fb06bdedb8661a68a1b9e34727b6059aa39 14-Feb-2011 Dianne Hackborn <hackbod@google.com> Finish remaining key implementation.

Change-Id: Idb10f45bc109e57966dd2abdf446e60c5fd32aec
ragment.java
ragmentActivity.java
ragmentManager.java
cba2e2c881e8e16ea5025b564c94320174d65f01 08-Feb-2011 Dianne Hackborn <hackbod@google.com> First checkin!

Change-Id: Ib09737c48a144dd778efe4750452d74ac8265a29
ackStackRecord.java
ialogFragment.java
ragment.java
ragmentActivity.java
ragmentManager.java
ragmentTransaction.java
CSparseArray.java
istFragment.java
oaderManager.java
oSaveStateFrameLayout.java
uperNotCalledException.java