Closed Bug 1646820 Opened 6 years ago Closed 4 years ago

Update the way we get the version code in Android to remove the `@Deprecated`

Categories

(Data Platform and Tools :: Glean: SDK, enhancement, P4)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: travis_, Unassigned)

Details

(Whiteboard: [telemetry:glean-rs:backlog])

Sawyer suggested we could use: val versionCode = PackageInfoCompat.getLongVersionCode(packageInfo).toString() to replace the way we get the version code which should allow us to remove the @Deprecated annotation.

Whiteboard: [telemetry:glean-rs:m?] → [telemetry:glean-rs:backlog]
Priority: P3 → P4

We dropped that code in v41.0.0, when we made the BuildInfo required.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.