Merge "Expose bugreporting API as system API."
am: 6ac57c669a
Change-Id: I98b7d492e8b800670a3127224d152b8fe75e758f
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user