Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c5ccaba9 authored by Hyundo Moon's avatar Hyundo Moon
Browse files

Open activity directly from notification (inbound transfer)

(This CL is the test-fixed version of commit b0ced317 with the
same title.)

When user clicks the OPP notification for inbound transfer,
this CL makes the activity start directly from the notification.

Previously the intent was sent to BluetoothOppReceiver first,
which added noticable delay before launching an activity.

Since inbound and outbound transfer used almost same intents whose
only difference is their intent extras, this CL makes the intent
action be different for better code readability.

Bug: 319050411
Bug: 318610752
Test: atest BluetoothOppReceiverTest BluetoothOppTransferHistoryTest
Test: manual, after receiving a file via Bluetooth, click the
      notification titled "Bluetooth Share: Received files".
      There should be no lag when opening the activity
      "Inbound Transfers".
Change-Id: I95bc1c0a8fdda717ab8c66353a04c040d2467224
parent 6c574452
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment