// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Platform; using osu.Framework.Platform.SDL3; namespace osu.Framework.Android { internal class AndroidGameWindow : SDL3MobileWindow { public override IntPtr SurfaceHandle => AndroidGameActivity.Surface.Holder?.Surface?.Handle ?? IntPtr.Zero; public AndroidGameWindow(GraphicsSurfaceType surfaceType, string appName) : base(surfaceType, appName) { } public override void Create() { base.Create(); SafeAreaPadding.BindTo(AndroidGameActivity.Surface.SafeAreaPadding); } } }