Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ad35995d
authored
Feb 18, 2022
by
ibaker
Committed by
Ian Baker
Feb 22, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Redefine VERSION_INT to include alpha/beta/rc/stable
#minor-release PiperOrigin-RevId: 429596966
parent
99d2b113
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
constants.gradle
libraries/common/src/main/java/androidx/media3/common/MediaLibraryInfo.java
constants.gradle
View file @
ad35995d
...
...
@@ -13,7 +13,7 @@
// limitations under the License.
project
.
ext
{
releaseVersion
=
'1.0.0-alpha01'
releaseVersionCode
=
1000000
releaseVersionCode
=
1000000
001
minSdkVersion
=
16
appTargetSdkVersion
=
29
// Upgrading this requires [Internal ref: b/193254928] to be fixed, or some
...
...
libraries/common/src/main/java/androidx/media3/common/MediaLibraryInfo.java
View file @
ad35995d
...
...
@@ -27,7 +27,7 @@ public final class MediaLibraryInfo {
/** A tag to use when logging library information. */
public
static
final
String
TAG
=
"AndroidXMedia3"
;
/** The version of the library expressed as a string, for example "1.2.3". */
/** The version of the library expressed as a string, for example "1.2.3"
or "1.2.3-beta01"
. */
// Intentionally hardcoded. Do not derive from other constants (e.g. VERSION_INT) or vice versa.
public
static
final
String
VERSION
=
"1.0.0-alpha01"
;
...
...
@@ -36,14 +36,18 @@ public final class MediaLibraryInfo {
public
static
final
String
VERSION_SLASHY
=
"AndroidXMedia3/1.0.0-alpha01"
;
/**
* The version of the library expressed as an integer, for example 1002003.
* The version of the library expressed as an integer, for example 1002003
300
.
*
* <p>Three digits are used for each component of {@link #VERSION}. For example "1.2.3" has the
* corresponding integer version 1002003 (001-002-003), and "123.45.6" has the corresponding
* integer version 123045006 (123-045-006).
* <p>Three digits are used for each of the first three components of {@link #VERSION}, then a
* single digit represents the cycle of this version: alpha (0), beta (1), rc (2) or stable (3).
* Finally two digits are used for the cycle number (always 00 for stable releases).
*
* <p>For example "1.2.3-alpha05" has the corresponding integer version 1002003005
* (001-002-003-0-05), and "123.45.6" has the corresponding integer version 123045006300
* (123-045-006-3-00).
*/
// Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa.
public
static
final
int
VERSION_INT
=
1000000
;
public
static
final
int
VERSION_INT
=
1000000
001
;
/** Whether the library was compiled with {@link Assertions} checks enabled. */
public
static
final
boolean
ASSERTIONS_ENABLED
=
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment