Merge "Suppress deprecation warnings in LegacyTypeTrackerTest." am: 8d55b55f60

Change-Id: If35be28eac763d01b99078f171da8ff56d90d93f
This commit is contained in:
Treehugger Robot 2020-05-21 08:11:05 +00:00 • committed by Automerger Merge Worker
commit 2911ce534e

View file

@ -14,6 +14,11 @@
* limitations under the License.
*/
// Don't warn about deprecated types anywhere in this test, because LegacyTypeTracker's very reason
// for existence is to power deprecated APIs. The annotation has to apply to the whole file because
// otherwise warnings will be generated by the imports of deprecated constants like TYPE_xxx.
@file:Suppress("DEPRECATION")
package com.android.server
import android.net.ConnectivityManager.TYPE_ETHERNET