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

Commit 3fbd91d7 authored by Eugene Susla's avatar Eugene Susla
Browse files

Rename confusingly named argument

The arg was always userId, but was poorly named

Fixes: 163633328
Test: presubmit
Change-Id: I28d654a4fda6dc066c87838ecd9fb065649545fb
parent 72804373
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -612,8 +612,8 @@ public class CompanionDeviceManagerService extends SystemService implements Bind
        }
    }

    private AtomicFile getStorageFileForUser(int uid) {
        return mUidToStorage.computeIfAbsent(uid, (u) ->
    private AtomicFile getStorageFileForUser(int userId) {
        return mUidToStorage.computeIfAbsent(userId, (u) ->
                new AtomicFile(new File(
                        //TODO deprecated method - what's the right replacement?
                        Environment.getUserSystemDirectory(u),