OPP: Do not clear invisible success records
Use case:
1) Received file from remote
2) Click on the notification to view inbound transfers
3) Click on received Item from the list
4) Do BT reset
4) Go to Connection preference in the settings screen
5) Tap on Files received via Bluetooth option
Expected result:
UI should show all received files
Observing result:
Showing an empty list.
Root cause:
When a user clicks on an item from history, profile updating
received record status to invisible, so during reset BT same
record removing from OPP DB.
Fix:
Delete record only when share status is above SUCESS.
To Show, all records (including invisible) when receiving
the intent from settings application.
Test: Performed above use case issue not seen.
Bug: 158733688
Change-Id: I31532233d47466e3e358ea18841e94b9ace563d4
1 file changed