aboutsummaryrefslogtreecommitdiffstats
path: root/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/data/src/test/pkg/SharedPrefsTest2.java.txt
blob: 20c3a21bbee33a24c4612c6ce4c86c50fde85700 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package test.pkg;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.os.Bundle;
import android.preference.PreferenceManager;

@SuppressWarnings("unused")
public class SharedPrefsTest2 extends Activity {
    public void test1(SharedPreferences preferences) {
        SharedPreferences.Editor editor = preferences.edit();
    }

    public void test2(SharedPreferences preferences) {
        Editor editor = preferences.edit();
    }
}