title: Android SharedPreferences class uses wrong annotation reference
body: <p>I updated the <strong>build.gradle</strong> file for an old Android project to use the the new <strong>androidx</strong> implementation references instead of the old compile references. Throughout the app I had to replace all my import <strong>android.support.annotation.Nullable</strong> with the new <strong>androidx.annotation.Nullable</strong> ones. This seems to work fine for the app's own custom codebase.</p>
  
  <p>However, the app also has a <strong>SharedPreferences</strong> class that uses the <strong>android.content.SharedPreferences</strong> class. The latter one keeps referencing the old <strong>android.annotation.Nullable</strong> which gives me a <em>'Cannot resolve symbol'</em> error now. I included the following implementations in my build.gradle file, I don't know if I'm missing anything to keep this working as it should?    </p>
  
  <pre><code>implementation "androidx.appcompat:appcompat:1.0.0"
  implementation "com.google.android.material:material:1.0.0-rc01"
  implementation "androidx.legacy:legacy-support-v4:1.0.0"
  implementation 'me.dm7.barcodescanner:zxing:1.9.13'
  implementation 'me.dm7.barcodescanner:zbar:1.8.4'
  implementation 'androidx.recyclerview:recyclerview:1.0.0'
  implementation 'androidx.cardview:cardview:1.0.0'
  implementation 'com.github.clans:fab:1.6.2'
  implementation 'androidx.annotation:annotation:1.1.0'
  </code></pre>