OSDN Git Service

Allow themeing of icon in SuspendedAppActivity
authorBryan Mawhinney <bryanmawhinney@google.com>
Fri, 5 Apr 2019 16:25:47 +0000 (17:25 +0100)
committerSuprabh Shukla <suprabh@google.com>
Mon, 8 Apr 2019 20:17:01 +0000 (20:17 +0000)
commitcf1eee71f0f911e2da3c625e68bf4223630fc008
tree48b3bb7b0b4b8d895014ef5acadf36c37e4a5a77
parent462864489ac66bcaa9875afc5c2c2123f7d3b074
Allow themeing of icon in SuspendedAppActivity

By passing the current theme to getDrawable, we allow the suspending app
to provide, e.g., a vector drawable tinted according to the system theme
(note, *not* the suspending app theme).

Test: manual
Bug: 129995419
Change-Id: Id9d4e3292baa324856dd817fe9ac979c07339fb0
core/java/com/android/internal/app/SuspendedAppActivity.java