]> gitweb.fperrin.net Git - Dictionary.git/blob - src/com/hughes/android/dictionary/PreferenceActivity.java
Organize imports, fix Lint deprecation warnings (or add flags where
[Dictionary.git] / src / com / hughes / android / dictionary / PreferenceActivity.java
1 // Copyright 2011 Google Inc. All Rights Reserved.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 //     http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 package com.hughes.android.dictionary;
16
17 import android.os.Bundle;
18
19 public class PreferenceActivity extends android.preference.PreferenceActivity {
20   
21   static boolean prefsMightHaveChanged = false;
22   
23   @SuppressWarnings("deprecation")
24 @Override
25   public void onCreate(Bundle savedInstanceState) {
26     setTheme(((DictionaryApplication)getApplication()).getSelectedTheme().themeId);
27
28     super.onCreate(savedInstanceState);
29     addPreferencesFromResource(R.xml.preferences);
30   }
31
32   @Override
33   public void onContentChanged() {
34     super.onContentChanged();
35   }
36
37 }