This repository has been archived by the owner on Oct 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Add the Finder shutdown message to AOSP"
Revert submission 26334207-finder_shutdown Reason for revert: Revert in 24d1 Bug: 336916273 Reverted changes: /q/submissionid:26334207-finder_shutdown (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:88da6b2e2f24432069116d46e70dd63c4d08a93a) Merged-In: I20b3d485a00109060a6ed206503aa3c12c812969 Change-Id: I20b3d485a00109060a6ed206503aa3c12c812969
- Loading branch information
Fabian Kozynski
authored and
Android Build Coastguard Worker
committed
May 2, 2024
1 parent
5a7d46a
commit 01bc321
Showing
9 changed files
with
38 additions
and
192 deletions.
There are no files selected for viewing
5 changes: 0 additions & 5 deletions
5
packages/SystemUI/res/drawable/bg_shutdown_finder_message.xml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
72 changes: 0 additions & 72 deletions
72
packages/SystemUI/res/layout/shutdown_dialog_finder_active.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
packages/SystemUI/src/com/android/systemui/globalactions/ShutdownUiModule.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* Copyright (C) 2023 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 com.android.systemui.globalactions | ||
|
||
import android.content.Context | ||
import com.android.systemui.statusbar.BlurUtils | ||
import dagger.Module | ||
import dagger.Provides | ||
|
||
/** Provides the UI shown during system shutdown. */ | ||
@Module | ||
class ShutdownUiModule { | ||
/** Shutdown UI provider. */ | ||
@Provides | ||
fun provideShutdownUi(context: Context?, blurUtils: BlurUtils?): ShutdownUi { | ||
return ShutdownUi(context, blurUtils) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters