title: Xamarin Android Forms.Context obsolete - How to fix it in a dependent method?
body: <p>I am getting a message saying FormsContext is obsolete.  I saw numerous suggestions on how to fix it but none apply to my case below:</p>
  
  <pre><code>[assembly: Xamarin.Forms.Dependency(typeof(SoundMethods))]
  namespace J.Droid
  {
      public class SoundMethods : ISoundMethods
      {
          public void IsDeviceSilent()
          {
              AudioManager am = (AudioManager)Forms.Context.GetSystemService(Context.AudioService);
          }
      }
  }
  </code></pre>
  
  <p>Can anyone suggest how I can fix this for my example?</p>