Commit Graph

8 Commits

Author SHA1 Message Date
Mark Renouf
1252d0bc3c Fix missing null check in collectRootScrollCaptureTargets
If no window-level handlers have been added, the list is null
(lazily init).

Test: atest com.android.systemui.screenshot.ScrollCaptureTest

Change-Id: I39d4295cebb091fa89f65c5917ba08bc2396ed37
2020-08-20 00:55:29 +00:00
Amin Shaikh
b9da8f0cfa Add test target to f/b/packages/overlays.
- Added IconPackOverlayTest to ensure that there icon pack overlays do not
get out of sync with the underlying drawables in each apk.
- Remove overlayable_icons_test.xml from each app since this test makes
them no longer necessary
- Add apcts target OverlayTests.apk - TODO add this to presubmit config
for settings and systemui

Bug: 134566901
Test: atest IconPackOverlayTest
Change-Id: I99243db4839ac41dad01abf9f83ebda757dbbb77
2019-07-11 13:56:00 -04:00
Amin Shaikh
10a8b519f3 Update themed icons.
Fixes: 132808864
Fixes: 131238809
Test: mp droid; manually check icons
Change-Id: Idffc547c971c90031f14dc0b2fa1b6337586e61f
2019-06-04 08:11:51 -04:00
Amin Shaikh
b7b4c25cad Update icon packs.
- Add back arrow for QS customizer
- Update work profile status bar / QS / corp badge icon to GM2
- Add Settings and Launcher overlay icons

Bug: 131346125
Test: visual
Change-Id: I61b56b04993ef19b5e66c9ad3d78eddcfce3aeb1
2019-05-03 14:29:54 -04:00
Amin Shaikh
0974b88769 Add icon packs for themepicker.
- Add 3 icon packs targetting the themepicker package
- Add support in systemui to enable packages in that category

Fixes: 130788873
Test: make; switch themes
Change-Id: I414c882410fc92c6320785ddf858bdf95f37053e
2019-04-29 15:11:39 -04:00
Amin Shaikh
8ff4cef559 Add overlayable_icons_test to framework/SystemUI
This ensures that developers do not accidentally delete/rename overlayed icons
without updating overlayable_icons_text.xml and renaming overlayed assets.

Bug: 130438597
Bug: 128571899
Test: make tests
Change-Id: I54411b3a587c4798a190f49071d5a8aa399cd824
2019-04-23 14:23:32 -04:00
Selim Cinek
245090f060 Fixed a regression where custom notification where unreadable
Because custom notifications don't have their background
Color reapplied, we need to ensure that the color is saved.

Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationCustomViewWrapperTest.java
Change-Id: I309097ef8abe18706479d64c6048521f941a26f5
Fixes: 34861088
2017-02-03 17:14:46 -08:00
Brett Chabot
caf30a18b5 Add functional test for screenshots.
Change-Id: Ice2cbc656f9814da7d0634644a250c1af9243ad1
2011-07-28 19:52:49 -07:00