Skip to content

Conversation

@tobiasKaminsky
Copy link
Member

Signed-off-by: tobiasKaminsky tobias@kaminsky.me

if (view instanceof ViewGroup && Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
findSwitch((ViewGroup) view);
}
findSwitch((ViewGroup) view);
Copy link
Member

@AndyScherzinger AndyScherzinger Dec 3, 2019

Choose a reason for hiding this comment

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

if (view instanceof ViewGroup) would still be valid, no?

}

@Test
fun `battery charging status on API 14-16`() {
Copy link
Member

Choose a reason for hiding this comment

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

We are targeting >= 16 so the tests are still valid, since we still support 16 (!)

@AndyScherzinger
Copy link
Member

@tobiasKaminsky just 2 minor comments (which need fixing imho)

@nextcloud-android-bot
Copy link
Collaborator

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
@tobiasKaminsky
Copy link
Member Author

@AndyScherzinger I changed both, thanks for finding them :-)

@nextcloud-android-bot
Copy link
Collaborator

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/11837.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@nextcloud-android-bot
Copy link
Collaborator

Codacy

332

Lint

TypemasterPR
Warnings5959
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings26
Correctness Warnings70
Internationalization Warnings13
Malicious code vulnerability Warnings5
Multithreaded correctness Warnings9
Performance Warnings104
Security Warnings44
Dodgy code Warnings136
Total407

SpotBugs (master)

Warning TypeNumber
Bad practice Warnings26
Correctness Warnings70
Internationalization Warnings13
Malicious code vulnerability Warnings5
Multithreaded correctness Warnings9
Performance Warnings104
Security Warnings44
Dodgy code Warnings136
Total407

@codecov
Copy link

codecov bot commented Dec 4, 2019

Codecov Report

Merging #4926 into master will increase coverage by 0.01%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #4926      +/-   ##
============================================
+ Coverage     17.73%   17.74%   +0.01%     
  Complexity        3        3              
============================================
  Files           384      384              
  Lines         32650    32640      -10     
  Branches       4597     4589       -8     
============================================
+ Hits           5789     5793       +4     
+ Misses        25938    25926      -12     
+ Partials        923      921       -2
Impacted Files Coverage Δ Complexity Δ
...i/fragment/contactsbackup/ContactListFragment.java 0% <0%> (ø) 0 <0> (ø) ⬇️
...ncloud/android/ui/preview/PreviewTextFragment.java 0% <0%> (ø) 0 <0> (ø) ⬇️
...in/java/com/owncloud/android/utils/ThemeUtils.java 51.77% <0%> (+0.2%) 0 <0> (ø) ⬇️
.../nextcloud/client/onboarding/WhatsNewActivity.java 0% <0%> (ø) 0 <0> (ø) ⬇️
...owncloud/android/ui/ThemeableSwitchPreference.java 78.57% <0%> (ø) 0 <0> (ø) ⬇️
...cloud/android/ui/activity/FileDisplayActivity.java 20.12% <0%> (+0.03%) 0 <0> (ø) ⬇️
...oud/android/ui/activity/SyncedFoldersActivity.java 26.31% <0%> (ø) 0% <0%> (ø) ⬇️
...ncloud/android/ui/fragment/OCFileListFragment.java 26.26% <0%> (+0.41%) 0% <0%> (ø) ⬇️
.../third_parties/daveKoeller/AlphanumComparator.java 83.33% <0%> (+1.19%) 0% <0%> (ø) ⬇️

@nextcloud-android-bot
Copy link
Collaborator

Codacy Here is an overview of what got changed by this pull request:

Complexity decreasing per file
==============================
+ src/main/java/com/nextcloud/client/onboarding/WhatsNewActivity.java  -1
         

See the complete overview on Codacy

@AndyScherzinger AndyScherzinger added this to the Nextcloud App 3.10.0 milestone Dec 4, 2019
@AndyScherzinger AndyScherzinger merged commit cb00677 into master Dec 4, 2019
@delete-merged-branch delete-merged-branch bot deleted the deleteChecksFor16 branch December 4, 2019 05:59
tobiasKaminsky added a commit that referenced this pull request Dec 5, 2019
adbc1f2 Merge pull request #4940 from nextcloud/changelog-master-stable-3.9.1
e0ec1c1 Add changelog for 3.9.1
9dcb915 [tx-robot] updated from transifex
92510cb Merge pull request #4938 from nextcloud/disableMissingDefaultResource
a894814 disable MissingDefaultResource
dda56de Merge pull request #4933 from nextcloud/appLocking
cb00677 Merge pull request #4926 from nextcloud/deleteChecksFor16
fd48163 Merge pull request #4922 from nextcloud/themeFollowOS
5e687f2 Dark mode: light, dark, follow system
fb69c1b remove all checks for <= JELLY_BEAN as we have this as our new minimum.
683faab [tx-robot] updated from transifex
c3eec47 daily dev 20191204
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants