Commit graph

271 commits

Author SHA1 Message Date
Andreas Schildbach
23b1afa6ac Update Android Gradle plugin to 3.1.4. 2019-11-30 12:20:29 +01:00
Andreas Schildbach
1e7f748bc4 11.1.7 2019-11-28 16:36:27 +01:00
Andreas Schildbach
18d45fe36d station_widget_content.xml: Replace background PNGs wuth XML drawable. 2019-11-25 00:58:02 +01:00
Andreas Schildbach
6b32f3e1d9 Update osmdroid to 6.1.4. 2019-11-25 00:44:32 +01:00
Andreas Schildbach
920a0cc76e OeffiMainActivity: Append version code and version flavor to HTTP request for messages. 2019-11-23 14:48:21 +01:00
Andreas Schildbach
061ce9b348 11.1.6 2019-11-22 22:50:54 +01:00
Andreas Schildbach
9a5be1ed70 Update slf4j to 1.7.29. 2019-11-22 22:50:54 +01:00
Andreas Schildbach
b5b45765a7 Update AndroidX RecyclerView to 1.1.0. 2019-11-22 22:50:54 +01:00
Andreas Schildbach
fb7125f787 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-22 21:52:33 +01:00
Andreas Schildbach
6bb38b08e4 Application: Build OkHttpClient in onCreate(), rather than in static code. 2019-11-22 21:49:56 +01:00
Andreas Schildbach
b5d827b495 MyActionBar: If titles are clickable make them focusable too. 2019-11-22 21:49:56 +01:00
Andreas Schildbach
c9876ff635 NetworkProviderFactory: Update user agent. 2019-11-22 21:34:41 +01:00
Andreas Schildbach
5c9f4a0e33 build.gradle: Use new plugins DSL. 2019-11-05 15:33:17 +01:00
Andreas Schildbach
1c889dd60f 11.1.5 2019-11-04 16:50:58 +01:00
Andreas Schildbach
66222dee09 AndroidManifest.xml: Clear 'attribute unused' lint warning because of networkSecurityConfig attribute. 2019-11-04 16:42:15 +01:00
Andreas Schildbach
9c1ed53bf8 Replace custom shadows by elevation attributes.
This only works on Lollipop and above. KitKat users will not see shadows any more.
2019-11-04 16:33:49 +01:00
Andreas Schildbach
99477d496b 11.1.4 2019-10-29 11:02:52 +01:00
Andreas Schildbach
08ebd09eeb StationsActivity: Remove an unnecessary semicolon. 2019-10-29 11:02:02 +01:00
Andreas Schildbach
14c73ee7c9 11.1.3 2019-10-28 13:56:21 +01:00
Andreas Schildbach
3b9c07e186 NetworkProviderFactory: Don't use HTTPS for OEBB on old devices. 2019-10-28 12:00:57 +01:00
Andreas Schildbach
6222597ef0 network_security_config.xml: Convert to a whitelist of domains that still cannot use HTTPS. 2019-10-28 10:17:10 +01:00
Andreas Schildbach
46af1ac343 NetworkProviderFactory: Migrate custom API base for VVS to HTTPS. 2019-10-28 10:15:24 +01:00
Andreas Schildbach
4c7d71e40e 11.1.2 2019-10-26 22:52:15 +02:00
Andreas Schildbach
64f3aab2ae Update osmdroid to 6.1.2. 2019-10-26 22:51:01 +02:00
Andreas Schildbach
b3ef02c5bc build.gradle: Move 'lintOptions' further down. 2019-10-26 22:51:01 +02:00
Andreas Schildbach
7a338bd849 AndroidManifest.xml: Reformat. 2019-10-26 22:18:39 +02:00
Andreas Schildbach
4a95ab8bee 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-10-26 21:52:36 +02:00
Andreas Schildbach
d202c8f628 network_picker_content.xml: Remove unused FrameLayouts. 2019-10-26 21:40:46 +02:00
Andreas Schildbach
95153a4583 directions_trip_details_content.xml: Remove unused FrameLayout. 2019-10-26 21:34:45 +02:00
Andreas Schildbach
b490df540f plans_picker_content.xml: Remove unused FrameLayout. 2019-10-26 21:28:52 +02:00
Andreas Schildbach
cd346b6005 Use SharedPreferences.apply() rather than commit(), as the latter blocks on I/O. 2019-10-26 21:09:21 +02:00
Andreas Schildbach
c0eabf93b1 product_call_*.xml: Make sure vector path data always uses a leading digit rather than a leading dot. 2019-10-26 21:03:02 +02:00
Andreas Schildbach
4239a8888c TripDetailsActivity: Use typeface constant rather than just '0'. 2019-10-26 21:01:06 +02:00
Andreas Schildbach
b028cbba38 OeffiMapView: Fix parameter order when invoking MeasureSpec.makeMeasureSpec(). 2019-10-26 20:58:48 +02:00
Andreas Schildbach
0514ca2cc1 Fix implied default locale when invoking String.format(). 2019-10-26 20:46:12 +02:00
Andreas Schildbach
3c7d5a21a9 navigation_drawer.xml: Remove 'clickable' from top-level drawer. 2019-10-26 20:18:51 +02:00
Andreas Schildbach
b31b356f04 project.properties: Remove, as it is unused. 2019-10-26 13:40:18 +02:00
Andreas Schildbach
94d56c6d35 Fix NULL 'constraints'. For SQLite they're implicit if no NOT NULL is given. 2019-10-26 13:16:49 +02:00
Andreas Schildbach
170eb8827d settings.gradle: Replace invocation of compareTo() with operator. 2019-10-26 11:52:48 +02:00
Andreas Schildbach
34b1104020 Replace listeners and runnables with lambdas. 2019-10-26 11:14:18 +02:00
Andreas Schildbach
d08464cb7f Use try-with-resources where possible. 2019-10-26 10:49:02 +02:00
Andreas Schildbach
4c8114497a Objects: Collapse catch branches. 2019-10-26 10:26:59 +02:00
Andreas Schildbach
2beddb8807 AboutFragment: Fix BadTokenException when trying to view the changelog. 2019-10-26 01:29:23 +02:00
Andreas Schildbach
1fd42fcfb5 11.1.1 2019-10-25 22:21:33 +02:00
Andreas Schildbach
4ac29dd5e0 AndroidManifest.xml: Request ACCESS_BACKGROUND_LOCATION permission.
It's required for the App-Widget on Android 10 and later.
2019-10-25 22:10:28 +02:00
Andreas Schildbach
451ae8f8e3 11.1 2019-10-18 12:20:52 +02:00
Andreas Schildbach
7dfb4bed04 New region: San Francisco. 2019-10-17 22:19:28 +02:00
Andreas Schildbach
2c5b5c5ba6 New region: Prague. 2019-10-17 20:51:59 +02:00
Andreas Schildbach
ab1933e702 proguard.cfg: Fix a dontnote for androidx. 2019-10-17 20:41:00 +02:00
Andreas Schildbach
5ca14adbfc build.gradle: Exclude unwanted Kotlin metadata from APK. 2019-10-14 18:42:51 +02:00