Change the PreferenceViewHolder constructor to be restricted.

This allows us to make the constructor public for tests, but still
hide it from use outside of the library.

Bug: 30900642
Change-Id: I4c25e1abde1cbdddd150d5bbce855b9f0290e3d2
1 file changed