Invalid UUID of storage gained from Android StorageManager?
问题 I lost whole day fighting with something trivial, but now I just give up and need your help. In new Oreo API for reading app code/data/cache/ size we need storage UUID (StorageStatsManager.queryStatsForUid(UUID storageUuid, int uid)). The storage UUID is possible to fetch from StorageManager.getStorageVolumes() which returns list of all storages which contains also the UUIDs. And there the problem begins: The UUID from returned list is in String format while StorageStatsManager