Skip to content

Commit

Permalink
2.4.0, Target SDK 33
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-saplin committed Mar 23, 2023
1 parent 6da8d29 commit ed6abe4
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 20 deletions.
Binary file modified References/CPDT.Extra.Android.dll
Binary file not shown.
Binary file modified References/CPDT.Extra.Android.pdb
Binary file not shown.
Binary file modified References/CPDT.Extra.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion Saplin.CPDT.Android/CachePurger/PurgeService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class PurgeService : Service
public override void OnCreate()
{
base.OnCreate();
messenger = new Messenger(new PurheServiceHandler(this));
messenger = new Messenger(new PurgeServiceHandler(this));
Log.Debug(TAG, "OnCreate");
//Toast.MakeText(Android.App.Application.Context, "PurgeService.OnCreate", ToastLength.Short).Show();
}
Expand Down
4 changes: 2 additions & 2 deletions Saplin.CPDT.Android/CachePurger/PurgeServiceHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

namespace Saplin.CPDT.Droid.CachePurger
{
public class PurheServiceHandler : Android.OS.Handler
public class PurgeServiceHandler : Android.OS.Handler
{
WeakReference<PurgeService> serviceRef;

public PurheServiceHandler(PurgeService service)
public PurgeServiceHandler(PurgeService service) : base(Looper.MainLooper)
{
serviceRef = new WeakReference<PurgeService>(service);
}
Expand Down
6 changes: 1 addition & 5 deletions Saplin.CPDT.Android/MainActivity.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
using System;
using System.Threading.Tasks;
using Android.App;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.Content.Res;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Saplin.CPDT.Droid.CachePurger;
using static Android.App.ActivityManager;

namespace Saplin.CPDT.Droid
Expand Down
4 changes: 2 additions & 2 deletions Saplin.CPDT.Android/Properties/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="500035" android:versionName="2.3.9" package="com.Saplin.CPDT" android:installLocation="auto">
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="32" />
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="500036" android:versionName="2.4.0" package="com.Saplin.CPDT" android:installLocation="auto">
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="33" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application android:label="Cross Platform Disk Test" android:icon="@mipmap/ic_launcher" android:largeHeap="true">
<provider android:name="androidx.core.content.FileProvider" android:authorities="com.Saplin.CPDT.provider" android:exported="false" android:grantUriPermissions="true">
Expand Down
2 changes: 1 addition & 1 deletion Saplin.CPDT.Android/Resources/Resource.designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions Saplin.CPDT.Android/Saplin.CPDT.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
<TargetFrameworkVersion>v12.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v13.0</TargetFrameworkVersion>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<SynchReleaseVersion>false</SynchReleaseVersion>
Expand All @@ -36,7 +36,6 @@
<AndroidLinkMode>None</AndroidLinkMode>
<AndroidTlsProvider>legacy</AndroidTlsProvider>
<AndroidUseSharedRuntime>true</AndroidUseSharedRuntime>
<AndroidHttpClientHandlerType>System.Net.Http.HttpClientHandler</AndroidHttpClientHandlerType>
<LangVersion>latestmajor</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
Expand All @@ -58,7 +57,6 @@
<AndroidLinkSkip>Saplin.CPDT.UICore;Saplin.CPDT.UICore.resources;Saplin.StorageSpeedMeter;CPDT.Extra.Android;Saplin.CPDT.Android;</AndroidLinkSkip>
<AndroidTlsProvider>legacy</AndroidTlsProvider>
<AndroidAotAdditionalArguments>no-write-symbols,nodebug</AndroidAotAdditionalArguments>
<AndroidHttpClientHandlerType>System.Net.Http.HttpClientHandler</AndroidHttpClientHandlerType>
<AndroidLinkTool>r8</AndroidLinkTool>
<AndroidR8ExtraArguments>--no-tree-shaking</AndroidR8ExtraArguments>
<!-- Out of process cache purging service crashes with R8 default settings as there's some Mono class which can't be found, possible the result of R8 -->
Expand All @@ -83,7 +81,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Forms">
<Version>5.0.0.2478</Version>
<Version>5.0.0.2578</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
Expand Down
10 changes: 5 additions & 5 deletions Saplin.CPDT.UICore/Saplin.CPDT.UICore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
</UpgradeBackupLocation>
<OldToolsVersion>2.0</OldToolsVersion>
<DebugType>pdbonly</DebugType>
<ReleaseVersion>2.3.9</ReleaseVersion>
<Version>2.3.8</Version>
<AssemblyVersion>2.3.9.0</AssemblyVersion>
<FileVersion>2.3.9.0</FileVersion>
<ReleaseVersion>2.4.0</ReleaseVersion>
<Version>2.4.0</Version>
<AssemblyVersion>2.4.0.0</AssemblyVersion>
<FileVersion>2.4.0.0</FileVersion>
<SynchReleaseVersion>false</SynchReleaseVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down Expand Up @@ -202,7 +202,7 @@
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2478" />
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2578" />
<PackageReference Include="SkiaSharp.Views.Forms" Version="2.88.0" />
</ItemGroup>
</Project>

0 comments on commit ed6abe4

Please sign in to comment.