History log of /frameworks/base/services/core/java/com/android/server/wm/AlertWindowNotification.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4cd3f5c519d55ab9631d67576db1dc8989ff5651 09-Jun-2017 Wale Ogunwale <ogunwale@google.com> Fix deadlock when create alert window notification

Don't hold WM lock when calling into notification manager which
can call into activity manager.

Test: Make sure alert window notification is displayed
Change-Id: Id8831878093f8079f815a830ff8acdfad99d48cb
Fixes: 62458061
/frameworks/base/services/core/java/com/android/server/wm/AlertWindowNotification.java
face3bba70d8aa9dad4cd8e04c1923a05495ab65 01-Jun-2017 Wale Ogunwale <ogunwale@google.com> Add channel group for alert windows notifications

Bug: 62256269
Test: manual
Change-Id: If4253cb8303124c5c6d974e9680486d77f314059
/frameworks/base/services/core/java/com/android/server/wm/AlertWindowNotification.java
f732159cf8d6a4e1cd17542a3a2cf020ad6919a3 24-May-2017 Julia Reynolds <juliacr@google.com> Allow some system notifications to be blocked.

- Happens at a channel level, and system services have to opt in

Bug: 38428796
Test: runtest systemui-notification, manual
Change-Id: I5592b4e32c177844583aee25379390199eef0a58
/frameworks/base/services/core/java/com/android/server/wm/AlertWindowNotification.java
af38fd7b0f4de5d4f2b0f750e9d2775c06c66b38 23-May-2017 Wale Ogunwale <ogunwale@google.com> Revert "Changed alert window notifications to use single channel"

This reverts commit 8f7bebca3656f4993edef290e62c960f245ff373.

We now want multiple channels so the user can disable which ever ones they like.

Change-Id: I6015cd5f1e3f37a8a01e1db42b57a94087780304
Fixes: 38428796
Bug: 37422870
/frameworks/base/services/core/java/com/android/server/wm/AlertWindowNotification.java
8f7bebca3656f4993edef290e62c960f245ff373 15-May-2017 Wale Ogunwale <ogunwale@google.com> Changed alert window notifications to use single channel

Per UX request.

Change-Id: Iefe1be52743519af5ee1481b59613c87f16bdf7d
Fixes: 37422870
Test: Verify alert window notification channel.
/frameworks/base/services/core/java/com/android/server/wm/AlertWindowNotification.java
a10fc7e294771dc97536a3fdae6f2d105bb3ed55 06-Apr-2017 Wale Ogunwale <ogunwale@google.com> Don't show alert window notifications when in Vr mode.

Change-Id: I6ef60682197f6581fb101598290b2390ea676091
Fixes: 35854095
Test: manual
/frameworks/base/services/core/java/com/android/server/wm/AlertWindowNotification.java
d76881e002cf1e266b5080b05d1aee80fc760770 10-Mar-2017 Wale Ogunwale <ogunwale@google.com> Updated alert window notification to new UX spec.

- Updated strings
- Removed action button
- Clicking on notification takes user to alert window permissions
activity

Bug: 36069437
Test: Manual
Change-Id: I32e59ed3faa7fba1641660095d59f5ebf9acec43
/frameworks/base/services/core/java/com/android/server/wm/AlertWindowNotification.java
5aa8683bb78dc1c637a715efde7880d9010c6870 28-Feb-2017 Wale Ogunwale <ogunwale@google.com> Fixed some issues with alert window notifications

- Don't hold window manager lock while calling into notification
manager since it can end up calling into activity manager.
- Fixed issue with using checkCallingPermission() to check if the
system has the internal system window permission. This call fails
if it isn't a binder call. Change to use checkCallingorSelfPermission()
instead.
- Fixed class cast exception while getting app icon by using
IconUtilities class to the the drawable to bitmap convertion.

Change-Id: I4ef380618f558a8aac5b152d97536a614040397f
Fixes: 35780846
Fixes: 35846667
Fixes: 35854470
Bug: 35657567
Test: cts/hostsidetests/.../run-test CtsWindowManagerHostTestCases android.server.cts.AlertWindowsTests
/frameworks/base/services/core/java/com/android/server/wm/AlertWindowNotification.java
387e4c61338ddf7aee89d10c8aac329e9562b831 13-Feb-2017 Wale Ogunwale <ogunwale@google.com> Display on-going notification for apps using alert windows.

Allows the user to associate alert windows with specific apps
and revoke the permission if they want.

Test: manual
Bug: 33256752
Change-Id: Ie28325b6bb799b3df253770ebe655f97ebbadd90
/frameworks/base/services/core/java/com/android/server/wm/AlertWindowNotification.java