Comment changes from ag/1991360.

Bug: NA
Change-Id: I832f4459e8becdc5862c83c2b2efd5cee0d417c9
Test: NA
This commit is contained in:
Sundeep Ghuman
2017-03-15 18:12:35 -07:00
parent f0293ebb4d
commit 4d725a7708
3 changed files with 31 additions and 5 deletions

View File

@@ -1,3 +1,18 @@
/*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package android.net; package android.net;
import android.annotation.IntDef; import android.annotation.IntDef;

View File

@@ -1,3 +1,18 @@
/*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package android.net.wifi; package android.net.wifi;
/** /**

View File

@@ -56,11 +56,6 @@ public class WifiDetailPreferenceControllerTest {
private static final int RSSI = -55; private static final int RSSI = -55;
private static final String SECURITY = "None"; private static final String SECURITY = "None";
private Context mContext = RuntimeEnvironment.application;
@Mock(answer = Answers.RETURNS_DEEP_STUBS)
private Drawable mockWifiIcon;
@Mock(answer = Answers.RETURNS_DEEP_STUBS) @Mock(answer = Answers.RETURNS_DEEP_STUBS)
private PreferenceScreen mockScreen; private PreferenceScreen mockScreen;
@@ -80,6 +75,7 @@ public class WifiDetailPreferenceControllerTest {
@Mock private WifiDetailPreference mockDnsPref; @Mock private WifiDetailPreference mockDnsPref;
@Mock private PreferenceCategory mockIpv6AddressCategory; @Mock private PreferenceCategory mockIpv6AddressCategory;
private Context mContext = RuntimeEnvironment.application;
private Lifecycle mLifecycle; private Lifecycle mLifecycle;
private WifiDetailPreferenceController mController; private WifiDetailPreferenceController mController;