commit | 8a98dd52d15b62c6510116345d22585d7e472c7d | [log] [tgz] |
---|---|---|
author | Tim Zimmermann <tim@linux4.de> | Sun Mar 10 14:31:41 2024 +0100 |
committer | Tim Zimmermann <tim@linux4.de> | Sun Mar 10 14:31:41 2024 +0100 |
tree | dd3229e9cda1f7ed9987c6cf69064bd8b4fb40c9 | |
parent | 781543a2dfccd1eb15746d0f479d89bd265dba99 [diff] | |
parent | 92c87d3b5a2f7a7728e66c1be5cd165b03912819 [diff] |
Merge branch 'android14' of https://github.com/seedvault-app/seedvault into leaf-3.2 Change-Id: I06ac6c688f6d274518957cba87c935c193d8754a
diff --git a/app/src/main/java/com/stevesoltys/seedvault/App.kt b/app/src/main/java/com/stevesoltys/seedvault/App.kt index f3403de..c0cef4a 100644 --- a/app/src/main/java/com/stevesoltys/seedvault/App.kt +++ b/app/src/main/java/com/stevesoltys/seedvault/App.kt
@@ -121,8 +121,7 @@ const val ANCESTRAL_RECORD_KEY = "@ancestral_record@" const val GLOBAL_METADATA_KEY = "@meta@" -// TODO this doesn't work for LineageOS as they do public debug builds -fun isDebugBuild() = Build.TYPE == "userdebug" +fun isDebugBuild() = Build.TYPE == "eng" fun <T> permitDiskReads(func: () -> T): T { return if (isDebugBuild()) {