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

Commit 83f6e448 authored by Sukesh Ram's avatar Sukesh Ram
Browse files

Revert "Improve StatusBarManager disable*() apis"

This reverts commit c49cc7d1.

Reason for revert: The following bugs cite the changes to disable() api as the root issue: b/332752827 , b/325856557 , and b/332647161

Change-Id: If556f6fd1c256d1e126b9edc05fdc9bb147a2280
parent 3d85c9da
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