Bug 1329156 - Refactor: Utility class should be final. r?sebastian draft
authorNevin Chen <cnevinchen@gmail.com>
Wed, 12 Apr 2017 10:21:15 +0800
changeset 560894 324f98143f5baafc2d6c8a01b6b1afbc8d6d31cb
parent 559365 45692c884fdd5136a64fb2f8a61a0c8183b69331
child 560895 80878e730bc673fa51e7b2be600b5b0f1328ebf8
push id53582
push userbmo:cnevinchen@gmail.com
push dateWed, 12 Apr 2017 03:06:37 +0000
reviewerssebastian
bugs1329156
milestone55.0a1
Bug 1329156 - Refactor: Utility class should be final. r?sebastian MozReview-Commit-ID: GwSxiDLwAY5
mobile/android/base/java/org/mozilla/gecko/customtabs/IntentUtil.java
--- a/mobile/android/base/java/org/mozilla/gecko/customtabs/IntentUtil.java
+++ b/mobile/android/base/java/org/mozilla/gecko/customtabs/IntentUtil.java
@@ -17,17 +17,17 @@ import android.support.customtabs.Custom
 
 import java.util.ArrayList;
 import java.util.List;
 
 /**
  * A utility class for CustomTabsActivity to extract information from intent.
  * For example, this class helps to extract exit-animation resource id.
  */
-class IntentUtil {
+final class IntentUtil {
 
     public static final int NO_ANIMATION_RESOURCE = -1;
 
     @VisibleForTesting
     @ColorInt
     protected static final int DEFAULT_ACTION_BAR_COLOR = 0xFF363b40; // default color to match design
 
     // Hidden constant values from ActivityOptions.java