Skip to content

Commit ad41a94

Browse files
Dianne HackbornAndroid (Google) Code Review
authored andcommitted
Merge "Some optimizations." into ics-mr1
2 parents 2eca613 + 0500b3c commit ad41a94

File tree

9 files changed

+196
-107
lines changed

9 files changed

+196
-107
lines changed

api/current.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22849,6 +22849,7 @@ package android.view {
2284922849
method public void buildDrawingCache();
2285022850
method public void buildDrawingCache(boolean);
2285122851
method public void buildLayer();
22852+
method public boolean callOnClick();
2285222853
method public boolean canScrollHorizontally(int);
2285322854
method public boolean canScrollVertically(int);
2285422855
method public void cancelLongPress();
@@ -23000,6 +23001,7 @@ package android.view {
2300023001
method public float getY();
2300123002
method public boolean hasFocus();
2300223003
method public boolean hasFocusable();
23004+
method public boolean hasOnClickListeners();
2300323005
method public boolean hasWindowFocus();
2300423006
method public static android.view.View inflate(android.content.Context, int, android.view.ViewGroup);
2300523007
method protected void initializeFadingEdge(android.content.res.TypedArray);

core/java/android/app/ActivityThread.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2769,7 +2769,9 @@ private void performStopActivityInner(ActivityClientRecord r,
27692769
if (info != null) {
27702770
try {
27712771
// First create a thumbnail for the activity...
2772-
info.thumbnail = createThumbnailBitmap(r);
2772+
// For now, don't create the thumbnail here; we are
2773+
// doing that by doing a screen snapshot.
2774+
info.thumbnail = null; //createThumbnailBitmap(r);
27732775
info.description = r.activity.onCreateDescription();
27742776
} catch (Exception e) {
27752777
if (!mInstrumentation.onException(r.activity, e)) {

0 commit comments

Comments
 (0)