This CL attempts to annotate accesses on >16 API levels using as small scopes as possible. The TargetApi notations mean "yes, I know I'm accessing a higher API and I take responsibility for gating the call on Android API level". The Encoder/Decoder classes are annotated on the whole class, but they're only accessed through JNI; we should annotate on method level otherwise and preferably on private methods. This patch also fixes some compiler-level deprecation warnings (i.e. -Xlint:deprecation), but probably not all of them. BUG=webrtc:5063 R=henrika@webrtc.org, kjellander@webrtc.org, magjed@webrtc.org Review URL: https://codereview.webrtc.org/1412673008 . Cr-Commit-Position: refs/heads/master@{#10624}
15 lines
495 B
XML
15 lines
495 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
This is a dummy manifest which is required by:
|
|
1. aapt when generating R.java in java.gypi:
|
|
Nothing in the manifest is used, but it is still required by aapt.
|
|
2. lint: [min|target]SdkVersion are required by lint and should
|
|
be kept up-to-date.
|
|
-->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="dummy.package">
|
|
|
|
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="23" />
|
|
|
|
</manifest>
|