7516316ffdf6fbf7b248c615404831191daa66a4 |
|
18-Sep-2014 |
George Mount <mount@google.com> |
Fix exception when fragment container has no View. Bug 17535259 Change-Id: Ic58886e93557b8894d4754597889bd29476259de
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.java
|
9306f07b1d66f4974a81f781d29739b30124fff0 |
|
29-Aug-2014 |
George Mount <mount@google.com> |
API Review: change SharedElementListener to SharedElementCallback Bug 17289526 Change-Id: I49f8d838207524fbf0ec099021bcf7312c28bd82
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.java
|
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
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.java
|
8b8a369d50ff43ad2a8836e66283c2bca9c2711e |
|
09-Jul-2014 |
George Mount <mount@google.com> |
Expose delayed Activity Transitions. Bug 16182950 Change-Id: I8c911e103cdc418d311f5489f23e56e8230672ee
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.java
|
60afe0bb9ee626e5b48289a20a341c6066a64dc8 |
|
01-Jul-2014 |
George Mount <mount@google.com> |
Fix stack overflow from finishAfterTransition. Bug 16008407 Change-Id: I61bd7648dac15dff293a40b812e3f89827ca4bdc
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.java
|
559b5e8554651ffc9f9cc639f8e363b9494fc98a |
|
26-Jun-2014 |
George Mount <mount@google.com> |
Add support for ActivityTransitions. Bug 15828815 Change-Id: Ic393edf347b15dcb0563d21c5bb7d9e702a3b71b
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.java
|
a3ff3273e976adf19770651dcf473fa67b38eb22 |
|
21-Mar-2014 |
Tor Norbye <tnorbye@google.com> |
Add tools metadata annotations to the support library Change-Id: I018ccee411da848e6ced91da316f86ae149dc218
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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
|
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
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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
|
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>
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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
|
9dcd2e58138ca4eb4b18f80b50e8979329e859d6 |
|
17-Jul-2013 |
Scott Main <smain@google.com> |
javadoc edits for support library Change-Id: Ie8f228036dc9d33315430490a2e03e9c504ada71
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.java
|
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
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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>
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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>
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.java
|
0adacc1aa313d757ae1c517152cef838e0f35c13 |
|
09-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
Nested fragments. Change-Id: I2cfd30fda55320796c8eec738f5b9b592ea2c29c
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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
|
4a7e12af4ec095c3a53bb8481d8d92f63157c3b7 |
|
12-Jun-2012 |
Dianne Hackborn <hackbod@android.com> |
Merge "Fix for restarting loader manager after orientation change"
|
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.
|
72bf9301f2914d15c6432dbe1c68e2a930f33c17 |
|
19-Apr-2012 |
Christopher Tate <ctate@android.com> |
Merge "Fix NPE in `onActivityResult` when target fragment no longer exists."
|
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
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.java
|
2c9657f7b1eabf9bdbaf348d206a76cc7f0a4400 |
|
01-Feb-2012 |
Dianne Hackborn <hackbod@google.com> |
Add callback to perform operations when fragments are resumed. Change-Id: I4f903ffb88a3e1140b72285100a6c8decbf2a580
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.java
|
b07179708a404260c65814b0ff14702eef189c01 |
|
16-Sep-2011 |
Dianne Hackborn <hackbod@google.com> |
Add API for FragmentActivity to retain custom non config instance data. Change-Id: I62360c2a277423867ebae3e031cde331b32441e6
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.java
|
9c53b844bd525e6a04e17291efc38713893074cd |
|
13-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
Update to follow fixes from platform. Change-Id: I9918b084426c62a60581e3ac6e69a48e51b7cc9b
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.java
|
3137d1472f1de9eac2e9a5dbe5b8d91282b24e66 |
|
10-Mar-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #4081614: Fragment.onActivityResult() broken in support lib Change-Id: Ie21b8e63b3bf8bf7ed75a68604c7d352f9402e07
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.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
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.java
|
681a6fb06bdedb8661a68a1b9e34727b6059aa39 |
|
14-Feb-2011 |
Dianne Hackborn <hackbod@google.com> |
Finish remaining key implementation. Change-Id: Idb10f45bc109e57966dd2abdf446e60c5fd32aec
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.java
|
cba2e2c881e8e16ea5025b564c94320174d65f01 |
|
08-Feb-2011 |
Dianne Hackborn <hackbod@google.com> |
First checkin! Change-Id: Ib09737c48a144dd778efe4750452d74ac8265a29
/frameworks/support/v4/java/android/support/v4/app/FragmentActivity.java
|