Bug 902038: Change the access of newView() in MultiTypeCursorAdapter. [r=lucasr] DONTBUILD because trivial-change
authorSriram Ramasubramanian <sriram@mozilla.com>
Wed, 07 Aug 2013 09:09:20 -0700
changeset 143508 f7264772c802b90a599ded28248e0682d5a58300
parent 143507 04d3d68298d01ed8213df96150a281179737cef1
child 143509 23affad4e7a180146a0bd3ae526c57b562e3ee1d
push id25130
push userlrocha@mozilla.com
push dateWed, 21 Aug 2013 09:41:27 +0000
treeherdermozilla-central@b2486721572e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslucasr
bugs902038
milestone25.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 902038: Change the access of newView() in MultiTypeCursorAdapter. [r=lucasr] DONTBUILD because trivial-change
mobile/android/base/home/MultiTypeCursorAdapter.java
--- a/mobile/android/base/home/MultiTypeCursorAdapter.java
+++ b/mobile/android/base/home/MultiTypeCursorAdapter.java
@@ -75,17 +75,17 @@ abstract class MultiTypeCursorAdapter ex
 
     /**
      * Inflate a new view from a set of view types and layouts based on the position.
      *
      * @param context Context for inflating the view.
      * @param position Position of the view.
      * @param parent Parent view group that will hold this view.
      */
-    public View newView(Context context, int position, ViewGroup parent) {
+    private View newView(Context context, int position, ViewGroup parent) {
         final int type = getItemViewType(position);
         final int count = mViewTypes.length;
 
         for (int i = 0; i < count; i++) {
             if (mViewTypes[i] == type) {
                 return LayoutInflater.from(context).inflate(mLayouts[i], parent, false);
             }
         }