diff options
author | Adam Powell <adamp@google.com> | 2011-05-02 22:45:59 -0700 |
---|---|---|
committer | Adam Powell <adamp@google.com> | 2011-05-02 22:45:59 -0700 |
commit | e42b189f369b6b0cb35095bc5386ba82b5ce39a5 (patch) | |
tree | dbd54bf3d005072d73592e478401daeb25a1a81f | |
parent | 04748befb89768cdd2f0a3560d4951ff94c2b0af (diff) | |
download | frameworks_base-e42b189f369b6b0cb35095bc5386ba82b5ce39a5.zip frameworks_base-e42b189f369b6b0cb35095bc5386ba82b5ce39a5.tar.gz frameworks_base-e42b189f369b6b0cb35095bc5386ba82b5ce39a5.tar.bz2 |
Remove debug logging
Change-Id: If1a8ef5461b98239d8f55f842e1043b6b3d0f070
-rw-r--r-- | core/java/com/android/internal/view/menu/ActionMenuPresenter.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/core/java/com/android/internal/view/menu/ActionMenuPresenter.java b/core/java/com/android/internal/view/menu/ActionMenuPresenter.java index 3f08914..0051ec3 100644 --- a/core/java/com/android/internal/view/menu/ActionMenuPresenter.java +++ b/core/java/com/android/internal/view/menu/ActionMenuPresenter.java @@ -21,7 +21,6 @@ import com.android.internal.view.menu.ActionMenuView.ActionMenuChildView; import android.content.Context; import android.content.res.Configuration; import android.content.res.Resources; -import android.util.Log; import android.util.SparseBooleanArray; import android.view.MenuItem; import android.view.SoundEffectConstants; @@ -195,7 +194,6 @@ public class ActionMenuPresenter extends BaseMenuPresenter { public boolean showOverflowMenu() { if (mReserveOverflow && !isOverflowMenuShowing() && mMenuView != null && mPostedOpenRunnable == null) { - Log.d("ActionMenuPresenter", "showOverflowMenu"); OverflowPopup popup = new OverflowPopup(mContext, mMenu, mOverflowButton, true); mPostedOpenRunnable = new OpenOverflowRunnable(popup); // Post this for later; we might still need a layout for the anchor to be right. @@ -314,8 +312,6 @@ public class ActionMenuPresenter extends BaseMenuPresenter { v.measure(querySpec, querySpec); final int measuredWidth = v.getMeasuredWidth(); widthLimit -= measuredWidth; - Log.d(TAG, "flagActionItems required item " + i + " measured width " + - measuredWidth + " - " + widthLimit + " left"); if (firstActionWidth == 0) { firstActionWidth = measuredWidth; } @@ -342,19 +338,15 @@ public class ActionMenuPresenter extends BaseMenuPresenter { v.measure(querySpec, querySpec); final int measuredWidth = v.getMeasuredWidth(); widthLimit -= measuredWidth; - Log.d(TAG, "flagActionItems requested item " + i + " measured width " + - measuredWidth + " - " + widthLimit + " left"); if (firstActionWidth == 0) { firstActionWidth = measuredWidth; } if (mStrictWidthLimit) { isAction = widthLimit >= 0; - Log.d(TAG, " --> strict width limit: isAction? " + isAction); } else { // Did this push the entire first item past the limit? isAction = widthLimit + firstActionWidth > 0; - Log.d(TAG, " --> normal width limit: isAction? " + isAction); } } |