| 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.chrome.browser; | 5 package org.chromium.chrome.browser; |
| 6 | 6 |
| 7 import android.Manifest; | 7 import android.Manifest; |
| 8 import android.app.Dialog; | 8 import android.app.Dialog; |
| 9 import android.content.Intent; | 9 import android.content.Intent; |
| 10 import android.content.pm.PackageManager; | 10 import android.content.pm.PackageManager; |
| 11 import android.location.LocationManager; | 11 import android.location.LocationManager; |
| 12 import android.support.test.filters.LargeTest; |
| 12 import android.test.MoreAsserts; | 13 import android.test.MoreAsserts; |
| 13 import android.test.suitebuilder.annotation.LargeTest; | |
| 14 import android.view.View; | 14 import android.view.View; |
| 15 import android.widget.Button; | 15 import android.widget.Button; |
| 16 import android.widget.ListView; | 16 import android.widget.ListView; |
| 17 | 17 |
| 18 import org.chromium.base.ThreadUtils; | 18 import org.chromium.base.ThreadUtils; |
| 19 import org.chromium.base.test.util.RetryOnFailure; | 19 import org.chromium.base.test.util.RetryOnFailure; |
| 20 import org.chromium.chrome.R; | 20 import org.chromium.chrome.R; |
| 21 import org.chromium.chrome.test.ChromeActivityTestCaseBase; | 21 import org.chromium.chrome.test.ChromeActivityTestCaseBase; |
| 22 import org.chromium.components.location.LocationUtils; | 22 import org.chromium.components.location.LocationUtils; |
| 23 import org.chromium.components.security_state.ConnectionSecurityLevel; | 23 import org.chromium.components.security_state.ConnectionSecurityLevel; |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 } | 423 } |
| 424 | 424 |
| 425 public boolean mSystemLocationSettingsEnabled = true; | 425 public boolean mSystemLocationSettingsEnabled = true; |
| 426 | 426 |
| 427 @Override | 427 @Override |
| 428 public boolean isSystemLocationSettingEnabled() { | 428 public boolean isSystemLocationSettingEnabled() { |
| 429 return mSystemLocationSettingsEnabled; | 429 return mSystemLocationSettingsEnabled; |
| 430 } | 430 } |
| 431 } | 431 } |
| 432 } | 432 } |
| OLD | NEW |