Merge "Expose bugreporting API as system API."

This commit is contained in:
Nandana Dutt
2019-01-28 14:21:57 +00:00
committed by Android (Google) Code Review
3 changed files with 34 additions and 4 deletions

View File

@@ -21,6 +21,7 @@ import android.annotation.IntDef;
import android.annotation.NonNull;
import android.annotation.Nullable;
import android.annotation.RequiresPermission;
import android.annotation.SystemApi;
import android.annotation.SystemService;
import android.content.Context;
import android.os.IBinder.DeathRecipient;
@@ -35,8 +36,7 @@ import java.util.concurrent.Executor;
*
* @hide
*/
// TODO: Expose API when the implementation is more complete.
//@SystemApi
@SystemApi
@SystemService(Context.BUGREPORT_SERVICE)
public class BugreportManager {
private final Context mContext;

View File

@@ -17,6 +17,7 @@
package android.os;
import android.annotation.IntDef;
import android.annotation.SystemApi;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@@ -26,8 +27,7 @@ import java.lang.annotation.RetentionPolicy;
*
* @hide
*/
// TODO: Expose API when the implementation is more complete.
// @SystemApi
@SystemApi
public final class BugreportParams {
private final int mMode;