I generated a simple content provider and I get this when i run Android Lint on the newly generated classes:
Do not place Android context classes in static fields (static reference to MyDataStoreProviderSQLiteOpenHelper which has field mContext pointing to Context); this is a memory leak (and also breaks Instant Run)
This is located in the generated ...SQLiteOpenHelper extends SQLiteOpenHelper class.
I generated a simple content provider and I get this when i run Android Lint on the newly generated classes:
This is located in the generated
...SQLiteOpenHelper extends SQLiteOpenHelperclass.