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

Skip to content
Commit 5c7fc70e authored by Piyush Mehrotra's avatar Piyush Mehrotra
Browse files

Validate transport before selecting in UserBackupManagerService.

Make sure transport is registered before changing current transport in UserBackupManagerService.
If the input transport is not registered, throw an error to user.

Fixes: 163539637

Test: 1. atest -v BackupFrameworksServicesRoboTests
	2. Manual test on device.
		- bmgr list transports # which lists registered transports
		- Verify selecting transport succeeds on registered transports
		- Verify selecting transport throws an error on non-registered transports
Change-Id: I7e3572a13df07b2dee34e295ea07f1ccff5ca505
parent 10a0a4a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment