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

Commit 00f8b536 authored by Artur Satayev's avatar Artur Satayev
Browse files

Use new UnsupportedAppUsage annotation.

Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library.

Bug: 145132366
Test: m && diff unsupportedappusage_index.csv
Change-Id: I8ffa1da1bcd43c25f4ff817575db77a33c0f3d31
parent e11493cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

package com.android.internal.util;

import android.annotation.UnsupportedAppUsage;
import android.compat.annotation.UnsupportedAppUsage;

/**
 * A helper class that aims to provide comparable growth performance to ArrayList, but on primitive
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
package com.android.internal.util;

import android.annotation.Nullable;
import android.annotation.UnsupportedAppUsage;
import android.compat.annotation.UnsupportedAppUsage;

public class HexDump
{
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

package com.android.internal.util;

import android.annotation.UnsupportedAppUsage;
import android.compat.annotation.UnsupportedAppUsage;
import android.os.Message;

/**
+2 −1
Original line number Diff line number Diff line
@@ -16,7 +16,8 @@

package com.android.internal.util;

import android.annotation.UnsupportedAppUsage;
import android.compat.annotation.UnsupportedAppUsage;

import java.io.PrintWriter;
import java.io.Writer;
import java.util.Arrays;
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

package com.android.internal.util;

import android.annotation.UnsupportedAppUsage;
import android.compat.annotation.UnsupportedAppUsage;
import android.os.Build;

import java.io.File;
Loading