commit | f2e754002166b8126e6faf8c494da5835432d572 | [log] [tgz] |
---|---|---|
author | Svetoslav Ganov <svetoslavganov@google.com> | Wed Sep 07 16:38:40 2011 -0700 |
committer | Svetoslav Ganov <svetoslavganov@google.com> | Thu Sep 08 18:19:13 2011 -0700 |
tree | 6336b979a274ff8fa7f4608ec8ad11af673fa9ec | |
parent | 5e8752595f7a3d3dd1e0d469ac275295e38bcfe1 [diff] [blame] |
Update the sharing UI according to latest UX specs. bug:3362473 Change-Id: Ic302c289e28061f53446f98e5b97573d57d9cfb8
diff --git a/core/java/android/widget/ActivityChooserModel.java b/core/java/android/widget/ActivityChooserModel.java index 9fea506..bc44521 100644 --- a/core/java/android/widget/ActivityChooserModel.java +++ b/core/java/android/widget/ActivityChooserModel.java
@@ -663,6 +663,17 @@ } } + /** + * Gets the history size. + * + * @return The history size. + */ + public int getHistorySize() { + synchronized (mInstanceLock) { + return mHistoricalRecords.size(); + } + } + @Override protected void finalize() throws Throwable { super.finalize();