public void deleteRemotePreferences(@NonNull String group) {
        deletionLock.writeLock().lock();
        try {
            mService.deleteRemotePreferences(group);
            mRemotePrefs.computeIfPresent(group, (k, v) -> {
                v.setDeleted();
                return null;
            });
        } catch (RemoteException e) {
            throw new ServiceException(e);
        } finally {
            deletionLock.writeLock().unlock();
        }
    }
Delete a group of remote preferences.

@param group Group name
@throws ServiceException              If the service is dead or an error occurred
@throws UnsupportedOperationException If the framework is embedded
android/third_party/libxposed/service/src/main/java/io/github/libxposed/service/XposedService.java