Commit f9b9d5b
committed
refactor: extract LoginServerManager.isPoolServer() helper (W-23406836)
Consolidates the repeated three-way pool-server check
(PRODUCTION / SANDBOX / WELCOME) into a single static method on
LoginServerManager, and updates all three call sites:
- LoginViewModel.addDpopJktIfNeeded
- SalesforceSDKManager.fetchAndUpdateAuthConfigIfNeeded
- SalesforceDroidGapActivity.fetchAuthConfig1 parent a62f5b3 commit f9b9d5b
4 files changed
Lines changed: 12 additions & 14 deletions
File tree
- libs
- SalesforceHybrid/src/com/salesforce/androidsdk/phonegap/ui
- SalesforceSDK/src/com/salesforce/androidsdk
- app
- config
- ui
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 44 | + | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
| |||
574 | 572 | | |
575 | 573 | | |
576 | 574 | | |
577 | | - | |
| 575 | + | |
578 | 576 | | |
579 | 577 | | |
580 | 578 | | |
| |||
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
109 | 107 | | |
110 | 108 | | |
111 | 109 | | |
| |||
2177 | 2175 | | |
2178 | 2176 | | |
2179 | 2177 | | |
2180 | | - | |
2181 | 2178 | | |
2182 | 2179 | | |
2183 | 2180 | | |
| |||
2191 | 2188 | | |
2192 | 2189 | | |
2193 | 2190 | | |
2194 | | - | |
| 2191 | + | |
2195 | 2192 | | |
2196 | 2193 | | |
2197 | 2194 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
76 | 83 | | |
77 | 84 | | |
78 | 85 | | |
| |||
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
| |||
733 | 731 | | |
734 | 732 | | |
735 | 733 | | |
736 | | - | |
737 | | - | |
738 | | - | |
| 734 | + | |
739 | 735 | | |
740 | 736 | | |
741 | 737 | | |
| |||
0 commit comments