-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5418 from Isira-Seneviratne/Unify_constants
Combine the two Constants files into one file.
- Loading branch information
Showing
3 changed files
with
20 additions
and
23 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
@file:JvmName("Constants") | ||
|
||
package org.schabi.newpipe.util | ||
|
||
/** | ||
* Default duration when using throttle functions across the app, in milliseconds. | ||
*/ | ||
const val DEFAULT_THROTTLE_TIMEOUT = 120L | ||
|
||
const val KEY_SERVICE_ID = "key_service_id" | ||
const val KEY_URL = "key_url" | ||
const val KEY_TITLE = "key_title" | ||
const val KEY_LINK_TYPE = "key_link_type" | ||
const val KEY_OPEN_SEARCH = "key_open_search" | ||
const val KEY_SEARCH_STRING = "key_search_string" | ||
|
||
const val KEY_THEME_CHANGE = "key_theme_change" | ||
const val KEY_MAIN_PAGE_CHANGE = "key_main_page_change" | ||
|
||
const val NO_SERVICE_ID = -1 |
This file was deleted.
Oops, something went wrong.