Suppress deprecation warning in CallFragment.

The old signature of this method has been deprecated. However, the new
signature is only support API level 23+, so we can't really use it yet.

BUG=webrtc:6558

Review-Url: https://codereview.webrtc.org/2437593004
Cr-Commit-Position: refs/heads/master@{#14695}
This commit is contained in:
sakal 2016-10-20 02:32:47 -07:00 committed by Commit bot
parent aff9ff0259
commit be4aff76a6

View File

@ -129,6 +129,8 @@ public class CallFragment extends Fragment {
}
}
// TODO(sakal): Replace with onAttach(Context) once we only support API level 23+.
@SuppressWarnings("deprecation")
@Override
public void onAttach(Activity activity) {
super.onAttach(activity);