Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Side by Side Diff: chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastSysInfoAndroid.java

Issue 2830843004: Update to newer Android Lint and suppress new Lint errors (Closed)
Patch Set: rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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.chromecast.shell; 5 package org.chromium.chromecast.shell;
6 6
7 import android.annotation.SuppressLint;
7 import android.os.Build; 8 import android.os.Build;
8 9
9 import org.chromium.base.annotations.CalledByNative; 10 import org.chromium.base.annotations.CalledByNative;
10 import org.chromium.base.annotations.JNINamespace; 11 import org.chromium.base.annotations.JNINamespace;
11 12
12 /** 13 /**
13 * Java implementation of CastSysInfoAndroid methods. 14 * Java implementation of CastSysInfoAndroid methods.
14 */ 15 */
15 @JNINamespace("chromecast") 16 @JNINamespace("chromecast")
16 public final class CastSysInfoAndroid { 17 public final class CastSysInfoAndroid {
17 private static final String TAG = "CastSysInfoAndroid"; 18 private static final String TAG = "CastSysInfoAndroid";
18 19
20 @SuppressLint("HardwareIds")
19 @CalledByNative 21 @CalledByNative
20 private static String getSerialNumber() { 22 private static String getSerialNumber() {
21 return Build.SERIAL; 23 return Build.SERIAL;
22 } 24 }
23 } 25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698