Commit graph

246 commits

Author SHA1 Message Date
Andreas Schildbach
8324e10ec0 OeffiMainActivity: Append version code and version flavor to HTTP request for messages. 2019-11-30 19:15:36 +01:00
Andreas Schildbach
d3edbb7add Update slf4j to 1.7.29. 2019-11-30 19:15:36 +01:00
Andreas Schildbach
ad2a0d6891 Application: On Android 4.4 (KitKat) with Google Play Services installed, manually enable TLS 1.2.
This has two steps:

- Use SafetyNet ProviderInstaller.insertProvider() to load a recent version of Conscrypt.
- Enable TLS 1.2 in the socket factory by wrapping it.
2019-11-30 19:10:57 +01:00
Andreas Schildbach
2ffe808276 Application: Build OkHttpClient in onCreate(), rather than in static code. 2019-11-30 19:10:49 +01:00
Andreas Schildbach
798d501be3 MyActionBar: If titles are clickable make them focusable too. 2019-11-30 19:07:27 +01:00
Andreas Schildbach
2c4433bb96 NetworkProviderFactory: Update user agent. 2019-11-30 19:07:21 +01:00
Andreas Schildbach
ea82d8df60 StationsActivity: Remove an unnecessary semicolon. 2019-11-30 19:06:58 +01:00
Andreas Schildbach
2d1e01357d NetworkProviderFactory: Don't use HTTPS for OEBB on old devices. 2019-11-30 19:06:41 +01:00
Andreas Schildbach
9783bdd17e NetworkProviderFactory: Migrate custom API base for VVS to HTTPS. 2019-11-30 19:06:17 +01:00
Andreas Schildbach
722e86bc99 Update osmdroid to 6.1.2. 2019-11-30 19:05:12 +01:00
Andreas Schildbach
4a3c1e8d5e directions_map_pin.xml: Add layout_width and layout_height attributes to top-level element.
It's not really needed in this case, but Lint was complaining.
2019-11-30 19:04:49 +01:00
Andreas Schildbach
b1a09c6358 network_picker_content.xml: Remove unused FrameLayouts. 2019-11-30 19:04:38 +01:00
Andreas Schildbach
2433c548b8 directions_trip_details_content.xml: Remove unused FrameLayout. 2019-11-30 19:04:35 +01:00
Andreas Schildbach
0138c069ca plans_picker_content.xml: Remove unused FrameLayout. 2019-11-30 19:04:32 +01:00
Andreas Schildbach
19b968b0d5 Use SharedPreferences.apply() rather than commit(), as the latter blocks on I/O. 2019-11-30 15:43:15 +01:00
Andreas Schildbach
c6ede83b08 product_call_*.xml: Make sure vector path data always uses a leading digit rather than a leading dot. 2019-11-30 15:43:03 +01:00
Andreas Schildbach
735faf86d1 TripDetailsActivity: Use typeface constant rather than just '0'. 2019-11-30 15:42:51 +01:00
Andreas Schildbach
9a3a5632d1 OeffiMapView: Fix parameter order when invoking MeasureSpec.makeMeasureSpec(). 2019-11-30 15:42:39 +01:00
Andreas Schildbach
ddbe40fad0 Fix implied default locale when invoking String.format(). 2019-11-30 15:42:25 +01:00
Andreas Schildbach
ef48b9877f navigation_drawer.xml: Remove 'clickable' from top-level drawer. 2019-11-30 15:42:10 +01:00
Andreas Schildbach
af17aff400 project.properties: Remove, as it is unused. 2019-11-30 15:41:45 +01:00
Andreas Schildbach
b87e62c228 Fix NULL 'constraints'. For SQLite they're implicit if no NOT NULL is given. 2019-11-30 15:41:07 +01:00
Andreas Schildbach
8fcf69abec settings.gradle: Replace invocation of compareTo() with operator. 2019-11-30 15:40:55 +01:00
Andreas Schildbach
d0012512e2 Replace listeners and runnables with lambdas. 2019-11-30 15:33:58 +01:00
Andreas Schildbach
327552d95e Use try-with-resources where possible. 2019-11-30 15:31:31 +01:00
Andreas Schildbach
50f3b21490 Objects: Collapse catch branches. 2019-11-30 15:31:23 +01:00
Andreas Schildbach
297e2d8712 AboutFragment: Fix BadTokenException when trying to view the changelog. 2019-11-30 15:29:44 +01:00
Andreas Schildbach
6e846c1d0b New region: San Francisco. 2019-11-30 15:29:11 +01:00
Andreas Schildbach
c5c9953754 New region: Prague. 2019-11-30 15:29:08 +01:00
Andreas Schildbach
5d818c9938 proguard.cfg: Fix a dontnote for androidx. 2019-11-30 15:27:00 +01:00
Andreas Schildbach
2f364b441c Enable Java 8 language features. 2019-11-30 15:18:36 +01:00
Andreas Schildbach
98ea156498 Downloader: Use Headers.getDate() rather than parsing the date manually. 2019-11-30 15:18:23 +01:00
Andreas Schildbach
fd7e90ab39 Update OkHttp to 3.12.6. 2019-11-30 15:17:31 +01:00
Andreas Schildbach
145d13dcea build.gradle: Migrate dependency configurations from 'compile' to 'implementation'. 2019-11-30 15:17:25 +01:00
Andreas Schildbach
a0245929c3 Update Android Gradle plugin to 3.1.0. 2019-11-30 15:17:12 +01:00
Andreas Schildbach
45159f2c07 build.gradle: Declare flavor dimension. 2019-11-30 15:16:20 +01:00
Andreas Schildbach
5253e1dcf8 Use 'aosp' and 'google' flavors to separate the two variants.
This is a replacement for the constantly rebased 'google' git branch.
2019-11-30 15:15:58 +01:00
Andreas Schildbach
890532ec34 Update SDK Build Tools to 29.0.2. 2019-11-30 15:14:54 +01:00
Andreas Schildbach
0b42007770 Update AndroidX Core to 1.1.0. 2019-09-17 17:06:25 +02:00
Andreas Schildbach
9a28f3f94d 10.5.9 2019-09-17 14:48:01 +02:00
Andreas Schildbach
d06373c608 PreferencesActivity: Migrate to usage of PreferenceFragment for all settings. 2019-09-07 10:35:18 +02:00
Andreas Schildbach
924de06cb1 strings.xml: Change wording of 'Settings'. 2019-09-07 01:48:51 +02:00
Andreas Schildbach
05bec6201c about.xml: Declare link to Twitter in XML. 2019-09-07 01:30:18 +02:00
Andreas Schildbach
b2c3743525 strings.xml: Reorganize category 'feedback' into 'participate'. 2019-09-07 01:30:00 +02:00
Andreas Schildbach
1a0e025655 styles.xml: Fix transparency of translucent activities. 2019-09-06 19:23:49 +02:00
Andreas Schildbach
e379320c71 Fix weird typo in resource keys. 2019-09-06 17:41:53 +02:00
Andreas Schildbach
b8778255ba Remove Flattr from donation options. 2019-09-06 16:53:13 +02:00
Andreas Schildbach
5de2df19ac Installer: Add Aurora store. 2019-09-06 16:01:46 +02:00
Andreas Schildbach
12e9f64437 10.5.8 2019-09-05 14:20:11 +02:00
Andreas Schildbach
1608288e29 Make list_entry background a drawable.
Color state lists don't seem to work any more on Android 10.
2019-09-05 12:07:47 +02:00