Skip to content

Fix #6258: Deprecate Lollipop - #6399

Open
ShankhanilSaha wants to merge 4 commits into
oppia:developfrom
ShankhanilSaha:deprecate-lollipop
Open

Fix #6258: Deprecate Lollipop#6399
ShankhanilSaha wants to merge 4 commits into
oppia:developfrom
ShankhanilSaha:deprecate-lollipop

Conversation

@ShankhanilSaha

Copy link
Copy Markdown
Member

Fixes #6258

Explanation

  • Changes minimum SDK version to 23.
  • Deprecates lollipop support and minimum version is now marshmellow.

Essential Checklist

  • The PR title starts with "Fix #bugnum: " (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".)
  • The explanation section above starts with "Fixes #bugnum: " (If this PR fixes part of an issue, use instead: "Fixes part of #bugnum: ...".)
  • Any changes to scripts/assets files have their rationale included in the PR explanation.
  • The PR follows the style guide.
  • The PR does not contain any unnecessary code changes from Android Studio (reference).
  • The PR is made from a branch that's not called "develop" and is up-to-date with "develop".
  • The PR is assigned to the appropriate reviewers (reference).

@ShankhanilSaha ShankhanilSaha self-assigned this Aug 28, 2026
@ShankhanilSaha
ShankhanilSaha requested review from a team as code owners August 28, 2026 10:21
@ShankhanilSaha

Copy link
Copy Markdown
Member Author

@adhiamboperes fixed the merge conflicts and re-opened this. PTAL

@oppiabot oppiabot Bot assigned adhiamboperes and unassigned ShankhanilSaha Aug 28, 2026
@oppiabot

oppiabot Bot commented Aug 28, 2026

Copy link
Copy Markdown

Unassigning @ShankhanilSaha since a re-review was requested. @ShankhanilSaha, please make sure you have addressed all review comments. Thanks!

@github-actions

Copy link
Copy Markdown
Contributor

Coverage Report

Results

Number of files assessed: 3
Overall Coverage: 82.53%
Coverage Analysis: FAIL

Failing coverage

File Coverage Lines Hit Status Min Required
AndroidLintRunner.ktscripts/src/java/org/oppia/android/scripts/lint/AndroidLintRunner.kt
67.32% 239 / 355 70%

Passing coverage

Files with passing code coverage
File Coverage Lines Hit Status Min Required
LintAnalysisReporter.ktscripts/src/java/org/oppia/android/scripts/lint/LintAnalysisReporter.kt
95.05% 422 / 444 70%
LintModelCreator.ktscripts/src/java/org/oppia/android/scripts/lint/LintModelCreator.kt
81.82% 180 / 220 70%

To learn more, visit the Oppia Android Code Coverage wiki page

@github-actions

Copy link
Copy Markdown
Contributor

Coverage Report

Results

Number of files assessed: 12
Overall Coverage: 88.53%
Coverage Analysis: PASS

Passing coverage

Files with passing code coverage
File Coverage Lines Hit Status Min Required
EdgeToEdgeHelper.ktapp/src/main/java/org/oppia/android/app/utility/edgetoedge/EdgeToEdgeHelper.kt
96.85% 246 / 254 70%
LintAnalysisReporter.ktscripts/src/java/org/oppia/android/scripts/lint/LintAnalysisReporter.kt
95.05% 422 / 444 70%
AndroidLintRunner.ktscripts/src/java/org/oppia/android/scripts/lint/AndroidLintRunner.kt
78.59% 279 / 355 70%
LintModelCreator.ktscripts/src/java/org/oppia/android/scripts/lint/LintModelCreator.kt
81.82% 180 / 220 70%

Exempted coverage

Files exempted from coverage
File Exemption Reason
SurveyWelcomeDialogFragmentPresenter.ktapp/src/main/java/org/oppia/android/app/survey/SurveyWelcomeDialogFragmentPresenter.kt
This file is exempted from having a test file; skipping coverage check.
SurveyOutroDialogFragment.ktapp/src/main/java/org/oppia/android/app/survey/SurveyOutroDialogFragment.kt
This file is exempted from having a test file; skipping coverage check.
SurveyWelcomeDialogFragment.ktapp/src/main/java/org/oppia/android/app/survey/SurveyWelcomeDialogFragment.kt
This file is exempted from having a test file; skipping coverage check.
SurveyOutroDialogFragmentPresenter.ktapp/src/main/java/org/oppia/android/app/survey/SurveyOutroDialogFragmentPresenter.kt
This file is exempted from having a test file; skipping coverage check.
HintsAndSolutionDialogFragmentPresenter.ktapp/src/main/java/org/oppia/android/app/hintsandsolution/HintsAndSolutionDialogFragmentPresenter.kt
This file is exempted from having a test file; skipping coverage check.
HintsAndSolutionDialogFragment.ktapp/src/main/java/org/oppia/android/app/hintsandsolution/HintsAndSolutionDialogFragment.kt
This file is exempted from having a test file; skipping coverage check.
ConceptCardFragmentPresenter.ktapp/src/main/java/org/oppia/android/app/topic/conceptcard/ConceptCardFragmentPresenter.kt
This file is exempted from having a test file; skipping coverage check.
ConceptCardFragment.ktapp/src/main/java/org/oppia/android/app/topic/conceptcard/ConceptCardFragment.kt
This file is incompatible with code coverage tooling; skipping coverage check.

Refer test_file_exemptions.textproto for the comprehensive list of file exemptions and their required coverage percentages.

To learn more, visit the Oppia Android Code Coverage wiki page

@adhiamboperes adhiamboperes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ShankhanilSaha, PTAL at the failing lint check.

@ShankhanilSaha

Copy link
Copy Markdown
Member Author

@adhiamboperes the tracking issue has been created. #6409

@github-actions

Copy link
Copy Markdown
Contributor

Coverage Report

Results

Number of files assessed: 19
Overall Coverage: 88.47%
Coverage Analysis: PASS

Passing coverage

Files with passing code coverage
File Coverage Lines Hit Status Min Required
EdgeToEdgeHelper.ktapp/src/main/java/org/oppia/android/app/utility/edgetoedge/EdgeToEdgeHelper.kt
96.85% 246 / 254 70%
GoogleGitHubCiClient.ktscripts/src/java/org/oppia/android/scripts/release/GoogleGitHubCiClient.kt
95.38% 62 / 65 70%
FindAlphaCandidate.ktscripts/src/java/org/oppia/android/scripts/release/FindAlphaCandidate.kt
78.46% 51 / 65 70%
FakeGitHubCiClient.ktscripts/src/java/org/oppia/android/scripts/release/FakeGitHubCiClient.kt
100.00% 11 / 11 70%
LintAnalysisReporter.ktscripts/src/java/org/oppia/android/scripts/lint/LintAnalysisReporter.kt
95.05% 422 / 444 70%
AndroidLintRunner.ktscripts/src/java/org/oppia/android/scripts/lint/AndroidLintRunner.kt
78.59% 279 / 355 70%
LintModelCreator.ktscripts/src/java/org/oppia/android/scripts/lint/LintModelCreator.kt
81.82% 180 / 220 70%

Exempted coverage

Files exempted from coverage
File Exemption Reason
SurveyWelcomeDialogFragmentPresenter.ktapp/src/main/java/org/oppia/android/app/survey/SurveyWelcomeDialogFragmentPresenter.kt
This file is exempted from having a test file; skipping coverage check.
SurveyOutroDialogFragment.ktapp/src/main/java/org/oppia/android/app/survey/SurveyOutroDialogFragment.kt
This file is exempted from having a test file; skipping coverage check.
SurveyWelcomeDialogFragment.ktapp/src/main/java/org/oppia/android/app/survey/SurveyWelcomeDialogFragment.kt
This file is exempted from having a test file; skipping coverage check.
SurveyOutroDialogFragmentPresenter.ktapp/src/main/java/org/oppia/android/app/survey/SurveyOutroDialogFragmentPresenter.kt
This file is exempted from having a test file; skipping coverage check.
HintsAndSolutionDialogFragmentPresenter.ktapp/src/main/java/org/oppia/android/app/hintsandsolution/HintsAndSolutionDialogFragmentPresenter.kt
This file is exempted from having a test file; skipping coverage check.
HintsAndSolutionDialogFragment.ktapp/src/main/java/org/oppia/android/app/hintsandsolution/HintsAndSolutionDialogFragment.kt
This file is exempted from having a test file; skipping coverage check.
ConceptCardFragmentPresenter.ktapp/src/main/java/org/oppia/android/app/topic/conceptcard/ConceptCardFragmentPresenter.kt
This file is exempted from having a test file; skipping coverage check.
ConceptCardFragment.ktapp/src/main/java/org/oppia/android/app/topic/conceptcard/ConceptCardFragment.kt
This file is incompatible with code coverage tooling; skipping coverage check.
GitHubCiService.ktscripts/src/java/org/oppia/android/scripts/release/remote/GitHubCiService.kt
This file is exempted from having a test file; skipping coverage check.
GitHubCiClient.ktscripts/src/java/org/oppia/android/scripts/release/GitHubCiClient.kt
This file is exempted from having a test file; skipping coverage check.
CommitListEntry.ktscripts/src/java/org/oppia/android/scripts/release/model/CommitListEntry.kt
This file is exempted from having a test file; skipping coverage check.
CheckRunsResponse.ktscripts/src/java/org/oppia/android/scripts/release/model/CheckRunsResponse.kt
This file is exempted from having a test file; skipping coverage check.

Refer test_file_exemptions.textproto for the comprehensive list of file exemptions and their required coverage percentages.

To learn more, visit the Oppia Android Code Coverage wiki page

@adhiamboperes adhiamboperes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @ShankhanilSaha!

@adhiamboperes adhiamboperes changed the title Fix #6258: Deprecated Lollipop- #6350 Fix #6258: Deprecated Lollipop Sep 4, 2026
@adhiamboperes adhiamboperes changed the title Fix #6258: Deprecated Lollipop Fix #6258: Deprecate Lollipop Sep 4, 2026
@adhiamboperes

Copy link
Copy Markdown
Contributor

PTAL for owners @seanlip

@oppiabot

oppiabot Bot commented Sep 4, 2026

Copy link
Copy Markdown

Assigning @manas-yu for code owner reviews. Thanks!

@seanlip seanlip left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for OWNERS. Thanks @ShankhanilSaha!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Deprecated Lollipop

4 participants