Skip to content

Commit

Permalink
Call bases
Browse files Browse the repository at this point in the history
  • Loading branch information
m-sadegh-sh committed Sep 3, 2024
1 parent e4c9a8c commit 32b9b12
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Zebble/Android/BaseActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ public override void OnWindowFocusChanged(bool hasFocus)

public override void OnRequestPermissionsResult(int requestCode, string[] permissions, [GeneratedEnum] Permission[] grantResults)
{
base.OnRequestPermissionsResult(requestCode, permissions, grantResults);

Device.Permissions.OnRequestPermissionsResult(requestCode, permissions, grantResults);
}

Expand All @@ -127,6 +129,8 @@ protected override void OnNewIntent(Intent intent)

protected override void OnActivityResult(int requestCode, [GeneratedEnum] Result resultCode, Intent data)
{
base.OnActivityResult(requestCode, resultCode, data);

UIRuntime.OnActivityResult.Raise(new Tuple<int, Result, Intent>(requestCode, resultCode, data));
}
}
Expand Down

0 comments on commit 32b9b12

Please sign in to comment.