diff options
author | Allan Wang <me@allanwang.ca> | 2018-12-28 20:38:10 -0500 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2018-12-28 20:38:10 -0500 |
commit | 1e2fc927b10ae933005afa12ceb7a2832af4b95b (patch) | |
tree | bc7fd2a18a9c3ff1e7249115ab05ee08d00285f3 /app/src/main/kotlin/com/pitchedapps/frost/utils/Const.kt | |
parent | e5e83736d3feff8ac9cc4ae38fad0fa827a6b21d (diff) | |
download | frost-1e2fc927b10ae933005afa12ceb7a2832af4b95b.tar.gz frost-1e2fc927b10ae933005afa12ceb7a2832af4b95b.tar.bz2 frost-1e2fc927b10ae933005afa12ceb7a2832af4b95b.zip |
Update consts and android extensions
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/utils/Const.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/utils/Const.kt | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/Const.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/Const.kt index 3c76759c..3d69b0ae 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Const.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Const.kt @@ -22,13 +22,14 @@ package com.pitchedapps.frost.utils const val ACTIVITY_SETTINGS = 97 /* * Possible responses from the SettingsActivity - * after the configurations have changed + * after the configurations have changed. + * Note that the first few bits are restricted to position related requests */ -const val REQUEST_RESTART_APPLICATION = 1 shl 11 -const val REQUEST_RESTART = 1 shl 12 -const val REQUEST_REFRESH = 1 shl 13 -const val REQUEST_TEXT_ZOOM = 1 shl 14 -const val REQUEST_NAV = 1 shl 15 -const val REQUEST_SEARCH = 1 shl 16 +const val REQUEST_RESTART_APPLICATION = 1 shl 5 +const val REQUEST_RESTART = 1 shl 6 +const val REQUEST_REFRESH = 1 shl 7 +const val REQUEST_TEXT_ZOOM = 1 shl 8 +const val REQUEST_NAV = 1 shl 9 +const val REQUEST_SEARCH = 1 shl 10 -const val MAIN_TIMEOUT_DURATION = 30 * 60 * 1000 // 30 min +const val MAIN_TIMEOUT_DURATION = 30 * 60 * 1000 // 30 min
\ No newline at end of file |