Bug 1348718 - Remove useless method draft
authorJulian_Chu <walkingice0204@gmail.com>
Fri, 07 Apr 2017 14:23:34 +0800
changeset 558353 7e6ae8f253be314f4324fd3ad512dd8b3977e4f9
parent 558352 44a2545a5c776e9ae9b88e715be8ddf30d9898b6
child 623185 775c6f9b69d5053862cf9456e5df67e44345f46f
push id52860
push userbmo:walkingice0204@gmail.com
push dateFri, 07 Apr 2017 13:29:26 +0000
bugs1348718
milestone55.0a1
Bug 1348718 - Remove useless method No need to export text primary color anymore. MozReview-Commit-ID: 3SgJMviTcB5
mobile/android/base/java/org/mozilla/gecko/customtabs/ActionBarPresenter.java
--- a/mobile/android/base/java/org/mozilla/gecko/customtabs/ActionBarPresenter.java
+++ b/mobile/android/base/java/org/mozilla/gecko/customtabs/ActionBarPresenter.java
@@ -172,26 +172,16 @@ public class ActionBarPresenter {
      *
      * @param listener then callback to trigger
      */
     public void setTextLongClickListener(View.OnLongClickListener listener) {
         mTitleView.setOnLongClickListener(listener);
         mUrlView.setOnLongClickListener(listener);
     }
 
-    /**
-     * To get primary color of Title of ActionBar
-     *
-     * @return color code of primary color
-     */
-    @ColorInt
-    public int getTextPrimaryColor() {
-        return mTextPrimaryColor;
-    }
-
     private void initIndicator() {
         mActionBar.setDisplayHomeAsUpEnabled(true);
         Drawable indicator = mActionBar.getThemedContext().getDrawable(R.drawable.ic_close_light);
         DrawableCompat.setTint(indicator, mTextPrimaryColor);
         mActionBar.setHomeAsUpIndicator(indicator);
     }
 
     /**