| 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.device.nfc; | 5 package org.chromium.device.nfc; |
| 6 | 6 |
| 7 import android.net.Uri; | 7 import android.net.Uri; |
| 8 import android.nfc.NdefMessage; | 8 import android.nfc.NdefMessage; |
| 9 import android.nfc.NdefRecord; | 9 import android.nfc.NdefRecord; |
| 10 import android.os.Build; | 10 import android.os.Build; |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 return createURLRecord(record.toUri()); | 216 return createURLRecord(record.toUri()); |
| 217 } | 217 } |
| 218 | 218 |
| 219 if (Arrays.equals(record.getType(), NdefRecord.RTD_TEXT)) { | 219 if (Arrays.equals(record.getType(), NdefRecord.RTD_TEXT)) { |
| 220 return createTextRecord(record.getPayload()); | 220 return createTextRecord(record.getPayload()); |
| 221 } | 221 } |
| 222 | 222 |
| 223 return null; | 223 return null; |
| 224 } | 224 } |
| 225 } | 225 } |
| OLD | NEW |