OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 package org.chromium.blimp.settings; | 5 package org.chromium.blimp.app.settings; |
6 | 6 |
7 import android.app.Activity; | 7 import android.app.Activity; |
8 import android.os.Bundle; | 8 import android.os.Bundle; |
9 | 9 |
10 /** | 10 /** |
11 * An activity to display the settings and version info. | 11 * An activity to display the settings and version info. |
12 */ | 12 */ |
13 public class Preferences extends Activity { | 13 public class Preferences extends Activity { |
14 private static final String TAG = "Preferences"; | 14 private static final String TAG = "Preferences"; |
15 | 15 |
16 @Override | 16 @Override |
17 public void onCreate(Bundle savedInstanceState) { | 17 public void onCreate(Bundle savedInstanceState) { |
18 super.onCreate(savedInstanceState); | 18 super.onCreate(savedInstanceState); |
19 getFragmentManager() | 19 getFragmentManager() |
20 .beginTransaction() | 20 .beginTransaction() |
21 .replace(android.R.id.content, new AboutBlimpPreferences()) | 21 .replace(android.R.id.content, new AboutBlimpPreferences()) |
22 .commit(); | 22 .commit(); |
23 } | 23 } |
24 } | 24 } |
OLD | NEW |