-
Notifications
You must be signed in to change notification settings - Fork 148
Open
Labels
Description
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.