question: public void readBucketsFromPrefs ( ) { SharedPreferences prefs = mContext . getSharedPreferences ( SHARED_PREFS , 0 ) ; Set < String > buckets = prefs . getStringSet ( PREF_BUCKETS_IDS , new TreeSet < String > ( ) ) ; mBuckets . clear ( ) ; for ( String bucketId : buckets ) { AutoMixBucket bucket = restoreBucketFromId ( bucketId ) ; mBuckets . add ( bucket ) ; } }
target:  Restore the AutoMix buckets stored in SharedPreferences