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

Commit 45b20706 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Added a deprecation warning to AM.requestBugReport()"

parents 2bb0099b 10bb9b56
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -319,7 +319,12 @@ interface IActivityManager {
    void registerUserSwitchObserver(in IUserSwitchObserver observer, in String name);
    void unregisterUserSwitchObserver(in IUserSwitchObserver observer);
    int[] getRunningUserIds();

    // Deprecated - This method is only used by a few internal components and it will soon be
    // replaced by a proper bug report API (which will be restricted to a few, pre-defined apps).
    // No new code should be calling it.
    void requestBugReport(int bugreportType);

    long inputDispatchingTimedOut(int pid, boolean aboveSystem, in String reason);
    void clearPendingBackup();
    Intent getIntentForIntentSender(in IIntentSender sender);
+6 −0
Original line number Diff line number Diff line
@@ -12058,6 +12058,12 @@ public class ActivityManagerService extends IActivityManager.Stub
        }
    }
    /**
     * @deprecated This method is only used by a few internal components and it will soon be
     * replaced by a proper bug report API (which will be restricted to a few, pre-defined apps).
     * No new code should be calling it.
     */
    @Deprecated
    public void requestBugReport(int bugreportType) {
        String extraOptions = null;
        switch (bugreportType) {