History log of /packages/apps/Nfc/src/com/android/nfc/BeamShareActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a7f7ebfa3c8e585cbedea6fc4ffa8aec973ee607 01-Jul-2015 Nicolas Prevot <nprevot@google.com> In BeamShareActivity, don't use UserHandle.CURRENT.

In the work profile, UserHandle.CURRENT refers to the primary user.
We want to refer to the work profile itself.
So, using new UserHandle(UserHandle.myUserId()) instead.

BUG:21960385
Change-Id: I2b29b4d862daae58f666024e9f538cea1dbe39a3
/packages/apps/Nfc/src/com/android/nfc/BeamShareActivity.java
b82d80d891077ccd74729e4143925a66eb89eef2 24-Oct-2014 Andres Morales <anmorales@google.com> Refactor Beam to work with managed profiles

Simplify logic and break out different components
into their own services.

Allow BeamShareData to pass a UserHandle in order
to start the transfer in the correct user.

Bug: 17966846
Change-Id: I012a9ebe87deca6fceb857da8c8d4e2ecbeca6fe
/packages/apps/Nfc/src/com/android/nfc/BeamShareActivity.java
b708f80d56ba6d6ed110b9b7d1008563689821a4 16-Oct-2014 Benjamin Franz <bfranz@google.com> Deactivate Beam when DISALLOW_OUTGOING_BEAM is set.

Bug: 18008824
Change-Id: I25b64f0de6e62a94ba59b3ff6ea40c14da25ca90
/packages/apps/Nfc/src/com/android/nfc/BeamShareActivity.java
a7a09dbc3e681de3054d61b544753cbb8406c649 21-Jul-2014 Martijn Coenen <maco@google.com> Don't show Beam in share menu if turned off.

Bug: 16381088
Change-Id: I4a52f1a2c8f1510816390e1dfe770a629c0ea045
/packages/apps/Nfc/src/com/android/nfc/BeamShareActivity.java
34322b73c1e09907cb007e86bae77c744b338cd7 01-Jul-2014 Martijn Coenen <maco@google.com> Fix invoking Beam from share menu for multi-user.

Don't call into NfcService from Binder, but instead
through a newly added IPC call.

Also, get rid of deprecated ActivityManager calls
to determine foreground task, and use new
ForegroundUtils for that instead,

Bug: 15939863

Change-Id: If5a4b64de337abc36b1f1df30b4f612946e8496f
/packages/apps/Nfc/src/com/android/nfc/BeamShareActivity.java
9340b42304a512cb8fe9f4c068ba1b908876fb10 07-Jan-2014 Martijn Coenen <maco@google.com> Android Beam direct invoke / share menu invoking.

This change allows Android Beam to be invoked
directly from an application.

Additionally, it adds handling for the ACTION_SEND
intent that is launched by various apps when using the
share menu. This will cause Android Beam to be shown
as an option in share menus. There's some logic needed
that translates the data in an ACTION_SEND intent to
either NDEF message or an Uri that can be shared using
handover.

Finally, the Beam UI code has been modified to instantiate
a proper window, in order for us to catch the back key
event to be able to back out of the Beam animation
(this wasn't possible previously).

Bug: 5134061
Change-Id: I9cbfc50109bb497973bae177c67d920f6f990789
/packages/apps/Nfc/src/com/android/nfc/BeamShareActivity.java