Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1233f72f authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Suppress deprecation warnings in LegacyTypeTrackerTest." am: 6e830b85 am: 5b3e7d90

Change-Id: I77fdf03484bd0da36ebffd025a33ab4859a0a5a2
parents 323a1079 5b3e7d90
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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