summaryrefslogtreecommitdiffstats
path: root/docs/html/training
diff options
context:
space:
mode:
authorAdam Koch <akoch@google.com>2013-10-25 09:45:51 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-10-25 09:45:51 -0700
commitb5c9c9bec35594ca0fec7bc46154bfc63c55dd4e (patch)
tree996c6b7fd079e36e6e94b6d9d4d5d58f2d2ba0a3 /docs/html/training
parent6a3bfe0796f09114c834dab34b7f5b62a549e51c (diff)
parent625eb8bf9ed5c7d8ca09508f720c512af353b039 (diff)
downloadframeworks_base-b5c9c9bec35594ca0fec7bc46154bfc63c55dd4e.zip
frameworks_base-b5c9c9bec35594ca0fec7bc46154bfc63c55dd4e.tar.gz
frameworks_base-b5c9c9bec35594ca0fec7bc46154bfc63c55dd4e.tar.bz2
am 625eb8bf: am 7c900126: Doc fix: update Displaying Bitmaps training class code snippet Bug: 11372790
* commit '625eb8bf9ed5c7d8ca09508f720c512af353b039': Doc fix: update Displaying Bitmaps training class code snippet Bug: 11372790
Diffstat (limited to 'docs/html/training')
-rw-r--r--docs/html/training/displaying-bitmaps/cache-bitmap.jd1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/html/training/displaying-bitmaps/cache-bitmap.jd b/docs/html/training/displaying-bitmaps/cache-bitmap.jd
index 25efe1e..ad084c2 100644
--- a/docs/html/training/displaying-bitmaps/cache-bitmap.jd
+++ b/docs/html/training/displaying-bitmaps/cache-bitmap.jd
@@ -346,6 +346,7 @@ class RetainFragment extends Fragment {
RetainFragment fragment = (RetainFragment) fm.findFragmentByTag(TAG);
if (fragment == null) {
fragment = new RetainFragment();
+ fm.beginTransaction().add(fragment, TAG).commit();
}
return fragment;
}