forcedotcom / SalesforceMobileSDK-Android

Android SDK for Salesforce
Other
339 stars 384 forks source link

Don't prompt for dev menu notification permission if disabled. #2566

Closed brandonpage closed 1 month ago

brandonpage commented 1 month ago

I also removed (now) unnecessary API level checks.

mobilesdk-bot commented 1 month ago
1 Warning
:warning: No Lint Results.

Tests results for SmartStore

Generated by :no_entry_sign: Danger

mobilesdk-bot commented 1 month ago
1 Error
:no_entry_sign: Tests have failed, see below for more information.

Tests:

Name Classname Time
testDoGet com.salesforce.androidsdk.auth.HttpAccessTest 0.966
testSendDelete com.salesforce.androidsdk.auth.HttpAccessTest 0.643
testSendPatch com.salesforce.androidsdk.auth.HttpAccessTest 0.601
testDoHead com.salesforce.androidsdk.auth.HttpAccessTest 0.983
testSendPut com.salesforce.androidsdk.auth.HttpAccessTest 0.771
testSendPost com.salesforce.androidsdk.auth.HttpAccessTest 0.665
testRefreshAuthToken com.salesforce.androidsdk.auth.OAuth2Test 0.83
testCallIdentityService com.salesforce.androidsdk.auth.OAuth2Test 0.704
testOtherAccessorsNotAvailableAfterResponseStreaming com.salesforce.androidsdk.rest.RestClientTest 0.738
testGetNotificationsStatus com.salesforce.androidsdk.rest.RestClientTest 1.155
testGetAuthToken com.salesforce.androidsdk.rest.RestClientTest 0.581
testGetResourcesAsync com.salesforce.androidsdk.rest.RestClientTest 0.704
testDoubleConsume com.salesforce.androidsdk.rest.RestClientTest 0.628
testUpdateWithIfUnmodifiedSince com.salesforce.androidsdk.rest.RestClientTest 0.684
testCompositeRequest com.salesforce.androidsdk.rest.RestClientTest 0.647
testQuery com.salesforce.androidsdk.rest.RestClientTest 0.673
testGetResources com.salesforce.androidsdk.rest.RestClientTest 0.624
testUpdateReadNotifications com.salesforce.androidsdk.rest.RestClientTest 0.617
testGetNotifications com.salesforce.androidsdk.rest.RestClientTest 0.638
testDescribeGlobal com.salesforce.androidsdk.rest.RestClientTest 0.666
testResponseStreamConsumedByReadingStream com.salesforce.androidsdk.rest.RestClientTest 0.637
testCollectionUpsertNewRecords com.salesforce.androidsdk.rest.RestClientTest 0.629
testQueryAll com.salesforce.androidsdk.rest.RestClientTest 0.652
testSObjectTreeRequest com.salesforce.androidsdk.rest.RestClientTest 0.604
testResponseStreamCannotBeReadTwice com.salesforce.androidsdk.rest.RestClientTest 0.572
testMetadata com.salesforce.androidsdk.rest.RestClientTest 0.679
testCollectionCreateWithBadRecordAndAllOrNoneFalse com.salesforce.androidsdk.rest.RestClientTest 0.602
testCollectionUpsertExistingRecords com.salesforce.androidsdk.rest.RestClientTest 0.577
testCallWithBadTokenAndTokenProvider com.salesforce.androidsdk.rest.RestClientTest 0.663
testRetrieve com.salesforce.androidsdk.rest.RestClientTest 0.574
testCollectionRetrieve com.salesforce.androidsdk.rest.RestClientTest 0.646
testGetPrimingRecordsWithChangedAfterTimestampParameter com.salesforce.androidsdk.rest.RestClientTest 0.636
testDescribeGlobalAsync com.salesforce.androidsdk.rest.RestClientTest 0.59
testQueryWithBatchSize com.salesforce.androidsdk.rest.RestClientTest 0.729
testCollectionCreate com.salesforce.androidsdk.rest.RestClientTest 0.66
testCollectionDelete com.salesforce.androidsdk.rest.RestClientTest 0.803
testResponseStreamIsReadable com.salesforce.androidsdk.rest.RestClientTest 0.615
testCreate com.salesforce.androidsdk.rest.RestClientTest 0.627
testDelete com.salesforce.androidsdk.rest.RestClientTest 0.616
testGetPrimingRecords com.salesforce.androidsdk.rest.RestClientTest 0.571
testUpdateSeenNotifications com.salesforce.androidsdk.rest.RestClientTest 0.621
testCollectionUpdate com.salesforce.androidsdk.rest.RestClientTest 0.644
testLimits com.salesforce.androidsdk.rest.RestClientTest 0.637
testParsePrimingRecordsResponse com.salesforce.androidsdk.rest.RestClientTest 0.642
testCallWithBadInstanceUrl com.salesforce.androidsdk.rest.RestClientTest 0.673
testSearch com.salesforce.androidsdk.rest.RestClientTest 0.527
testDescribe com.salesforce.androidsdk.rest.RestClientTest 0.583
testAccessorMethodsPreventResponseStreaming com.salesforce.androidsdk.rest.RestClientTest 0.569
testUpdate com.salesforce.androidsdk.rest.RestClientTest 0.435
testUpsert com.salesforce.androidsdk.rest.RestClientTest 0.453
testCollectionCreateWithBadRecordAndAllOrNoneTrue com.salesforce.androidsdk.rest.RestClientTest 0.456
testRestClientUnauthenticatedlientInfo com.salesforce.androidsdk.rest.RestClientTest 0.434
testBatchRequest com.salesforce.androidsdk.rest.RestClientTest 0.426
testClientInfoResolveRequestWithLoginEndpoint com.salesforce.androidsdk.rest.RestClientTest 0.417
testCallWithBadAuthToken com.salesforce.androidsdk.rest.RestClientTest 0.436

Tests results for SalesforceSDK

Generated by :no_entry_sign: Danger