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

Commit 7b9a5758 authored by Sukesh Ram's avatar Sukesh Ram Committed by Android Build Coastguard Worker
Browse files

Revert StatusBarManager disable logging

This reverts commit f14fd636. ("Make isBackDisabled() not SystemAPI")
This reverts commit c49cc7d1. ("Revert "Improve StatusBarManager disable*() apis")

Reason for revert: The following bugs cite this CL as the cause of the bugs: b/332752827 , b/325856557 , and b/332647161.

Bug: 325856557
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:46dae741eee51a1dc504baee930dbbb708fb496f)
Merged-In: I16daf2373e557ba0d67edb1cdf6ac529b18ae850
Change-Id: I16daf2373e557ba0d67edb1cdf6ac529b18ae850
parent ea00dc0f
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -1142,16 +1142,13 @@ package android.app {
    field public static final int NAV_BAR_MODE_KIDS = 1; // 0x1
  }
  public static final class StatusBarManager.DisableInfo implements android.os.Parcelable {
  public static final class StatusBarManager.DisableInfo {
    method public boolean areAllComponentsEnabled();
    method public int describeContents();
    method public boolean isNavigateToHomeDisabled();
    method public boolean isNotificationPeekingDisabled();
    method public boolean isRecentsDisabled();
    method public boolean isSearchDisabled();
    method public boolean isStatusBarExpansionDisabled();
    method public void writeToParcel(@NonNull android.os.Parcel, int);
    field @NonNull public static final android.os.Parcelable.Creator<android.app.StatusBarManager.DisableInfo> CREATOR;
  }
  public final class SystemServiceRegistry {
+0 −4
Original line number Diff line number Diff line
@@ -1941,10 +1941,6 @@ UnflaggedApi: android.app.ActivityManager#getExternalHistoricalProcessStartReaso
    New API must be flagged with @FlaggedApi: method android.app.ActivityManager.getExternalHistoricalProcessStartReasons(String,int)
UnflaggedApi: android.app.AppOpsManager#OPSTR_RECEIVE_SANDBOX_TRIGGER_AUDIO:
    New API must be flagged with @FlaggedApi: field android.app.AppOpsManager.OPSTR_RECEIVE_SANDBOX_TRIGGER_AUDIO
UnflaggedApi: android.app.StatusBarManager.DisableInfo#CREATOR:
    New API must be flagged with @FlaggedApi: field android.app.StatusBarManager.DisableInfo.CREATOR
UnflaggedApi: android.app.StatusBarManager.DisableInfo#isBackDisabled():
    New API must be flagged with @FlaggedApi: method android.app.StatusBarManager.DisableInfo.isBackDisabled()
UnflaggedApi: android.companion.virtual.VirtualDeviceManager.VirtualDevice#getPersistentDeviceId():
    New API must be flagged with @FlaggedApi: method android.companion.virtual.VirtualDeviceManager.VirtualDevice.getPersistentDeviceId()
UnflaggedApi: android.content.Context#THREAD_NETWORK_SERVICE:
+1 −1
Original line number Diff line number Diff line
@@ -461,7 +461,7 @@ package android.app {
    method @RequiresPermission(android.Manifest.permission.STATUS_BAR) public void togglePanel();
  }

  public static final class StatusBarManager.DisableInfo implements android.os.Parcelable {
  public static final class StatusBarManager.DisableInfo {
    method public boolean isRotationSuggestionDisabled();
  }

+0 −19
Original line number Diff line number Diff line
/**
 * Copyright (c) 2024, The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package android.app;

parcelable StatusBarManager.DisableInfo;
 No newline at end of file
+48 −392

File changed.

Preview size limit exceeded, changes collapsed.

Loading