List of usage examples for android.os UserHandle CURRENT
UserHandle CURRENT
To view the source code for android.os UserHandle CURRENT.
Click Source Link
From source file:com.android.nfc.beam.BeamTransferManager.java
void whitelistOppDevice(BluetoothDevice device) { if (DBG)/*from ww w.j a v a 2 s . c om*/ Log.d(TAG, "Whitelisting " + device + " for BT OPP"); Intent intent = new Intent(ACTION_WHITELIST_DEVICE); intent.setPackage(BLUETOOTH_PACKAGE); intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); mContext.sendBroadcastAsUser(intent, UserHandle.CURRENT); }