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

Commit fee616c3 authored by Umair Khan's avatar Umair Khan
Browse files

[2/3] Remove unnecessary throws statement in ServiceManager



Change-Id: Ifcda96d3ccb411ba23b40ee5cf222c25843d8a0e
Signed-off-by: default avatarUmair Khan <omerjerk@gmail.com>
parent 5987a26e
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -1871,12 +1871,7 @@ public class DevelopmentSettings extends SettingsPreferenceFragment
    static class SystemPropPoker extends AsyncTask<Void, Void, Void> {
        @Override
        protected Void doInBackground(Void... params) {
            String[] services;
            try {
                services = ServiceManager.listServices();
            } catch (RemoteException e) {
                return null;
            }
            String[] services = ServiceManager.listServices();
            for (String service : services) {
                IBinder obj = ServiceManager.checkService(service);
                if (obj != null) {