title: Uninstalling of the app doesn't erase the value of SharedPreferences
body: <p>I have used SharedPreferences to check whether it is already logged in or not. But after I logged in and then uninstall the app, it always gives true value while reinstalling the app and login page is not shown. Why is it? Isn't it true that when the app is uninstalled, the value in sharedPreference should have gone too? It works in unsigned apk (ie when you install the app directly through android studio) but as soon as I use signed apk, the problem appears. It is happening in nokia 5 and some other devices but works perfectly fine in other android devices. How can I solve it?</p>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
  
          SharedPreferences pref = getSharedPreferences("ActivityPREF", Context.MODE_PRIVATE);
  
          **//always gives true value here...**
          Log.e("loginStatus", pref.getBoolean("activity_executed", false) + "");
          if (pref.getBoolean("activity_executed", false)) {
              Log.e("loginStatus", pref.getBoolean("activity_executed", false) + "");
  
              Intent intent = new Intent(this, LiveTrack.class);
              startActivity(intent);
              finish();
          } else {
              Log.e("loginStatus", "notlogin");
          }
      }
  }
  </code></pre>