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

Skip to content

Try to catch RemoteException/IllegalArgumentException

Jonathan Klee requested to merge 6930-s-fix-illegalargumentexception into master

Description

BlissLauncher was throwing an RemoteException/IllegalArgumentException when setting fake location with setTestProviderLocation(). We now catch the exceptions and display an error.

This is where the IllegalArgumentException is thrown: https://cs.android.com/android/platform/superproject/+/master:frameworks/base/services/core/java/com/android/server/location/LocationManagerService.java;drc=390046b0dbd2a931fee0c2d13034185462d2f877;l=1373

Issues

e/backlog#6930 (closed)

10 commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/development/code-review

Edited by Jonathan Klee

Merge request reports

Loading