Loading api/current.txt +0 −1 Original line number Diff line number Diff line Loading @@ -3611,7 +3611,6 @@ package android.app { method public android.net.Uri getReferrer(); method public int getRequestedOrientation(); method public final android.view.SearchEvent getSearchEvent(); method public long getStartInitiatedTime(); method public int getTaskId(); method public final java.lang.CharSequence getTitle(); method public final int getTitleColor(); api/system-current.txt +0 −1 Original line number Diff line number Diff line Loading @@ -3737,7 +3737,6 @@ package android.app { method public android.net.Uri getReferrer(); method public int getRequestedOrientation(); method public final android.view.SearchEvent getSearchEvent(); method public long getStartInitiatedTime(); method public int getTaskId(); method public final java.lang.CharSequence getTitle(); method public final int getTitleColor(); api/test-current.txt +0 −1 Original line number Diff line number Diff line Loading @@ -3613,7 +3613,6 @@ package android.app { method public android.net.Uri getReferrer(); method public int getRequestedOrientation(); method public final android.view.SearchEvent getSearchEvent(); method public long getStartInitiatedTime(); method public int getTaskId(); method public final java.lang.CharSequence getTitle(); method public final int getTitleColor(); core/java/android/app/Activity.java +0 −20 Original line number Diff line number Diff line Loading @@ -18,7 +18,6 @@ package android.app; import android.metrics.LogMaker; import android.graphics.Rect; import android.os.SystemClock; import android.view.ViewRootImpl.ActivityConfigCallback; import android.view.autofill.AutofillId; import android.view.autofill.AutofillManager; Loading Loading @@ -7417,25 +7416,6 @@ public class Activity extends ContextThemeWrapper } } /** * Return the timestamp at which this activity start was last initiated by the system in the * {@link SystemClock#uptimeMillis()} time base. * * This can be used to understand how much time is taken for an activity to be started and * displayed to the user. * * @return timestamp at which this activity start was initiated by the system * or {@code 0} if for any reason the timestamp could not be retrieved. */ public long getStartInitiatedTime() { try { return ActivityManager.getService().getActivityStartInitiatedTime(mToken); } catch (RemoteException e) { Log.e(TAG, "Failed to call getActivityStartTime", e); return 0; } } class HostCallbacks extends FragmentHostCallback<Activity> { public HostCallbacks() { super(Activity.this /*activity*/); Loading core/java/android/app/IActivityManager.aidl +0 −2 Original line number Diff line number Diff line Loading @@ -640,8 +640,6 @@ interface IActivityManager { */ void backgroundWhitelistUid(int uid); long getActivityStartInitiatedTime(IBinder token); // WARNING: when these transactions are updated, check if they are any callers on the native // side. If so, make sure they are using the correct transaction ids and arguments. // If a transaction which will also be used on the native side is being inserted, add it Loading Loading
api/current.txt +0 −1 Original line number Diff line number Diff line Loading @@ -3611,7 +3611,6 @@ package android.app { method public android.net.Uri getReferrer(); method public int getRequestedOrientation(); method public final android.view.SearchEvent getSearchEvent(); method public long getStartInitiatedTime(); method public int getTaskId(); method public final java.lang.CharSequence getTitle(); method public final int getTitleColor();
api/system-current.txt +0 −1 Original line number Diff line number Diff line Loading @@ -3737,7 +3737,6 @@ package android.app { method public android.net.Uri getReferrer(); method public int getRequestedOrientation(); method public final android.view.SearchEvent getSearchEvent(); method public long getStartInitiatedTime(); method public int getTaskId(); method public final java.lang.CharSequence getTitle(); method public final int getTitleColor();
api/test-current.txt +0 −1 Original line number Diff line number Diff line Loading @@ -3613,7 +3613,6 @@ package android.app { method public android.net.Uri getReferrer(); method public int getRequestedOrientation(); method public final android.view.SearchEvent getSearchEvent(); method public long getStartInitiatedTime(); method public int getTaskId(); method public final java.lang.CharSequence getTitle(); method public final int getTitleColor();
core/java/android/app/Activity.java +0 −20 Original line number Diff line number Diff line Loading @@ -18,7 +18,6 @@ package android.app; import android.metrics.LogMaker; import android.graphics.Rect; import android.os.SystemClock; import android.view.ViewRootImpl.ActivityConfigCallback; import android.view.autofill.AutofillId; import android.view.autofill.AutofillManager; Loading Loading @@ -7417,25 +7416,6 @@ public class Activity extends ContextThemeWrapper } } /** * Return the timestamp at which this activity start was last initiated by the system in the * {@link SystemClock#uptimeMillis()} time base. * * This can be used to understand how much time is taken for an activity to be started and * displayed to the user. * * @return timestamp at which this activity start was initiated by the system * or {@code 0} if for any reason the timestamp could not be retrieved. */ public long getStartInitiatedTime() { try { return ActivityManager.getService().getActivityStartInitiatedTime(mToken); } catch (RemoteException e) { Log.e(TAG, "Failed to call getActivityStartTime", e); return 0; } } class HostCallbacks extends FragmentHostCallback<Activity> { public HostCallbacks() { super(Activity.this /*activity*/); Loading
core/java/android/app/IActivityManager.aidl +0 −2 Original line number Diff line number Diff line Loading @@ -640,8 +640,6 @@ interface IActivityManager { */ void backgroundWhitelistUid(int uid); long getActivityStartInitiatedTime(IBinder token); // WARNING: when these transactions are updated, check if they are any callers on the native // side. If so, make sure they are using the correct transaction ids and arguments. // If a transaction which will also be used on the native side is being inserted, add it Loading