Miranda Kephart
c07f0a910f
Move screenshot receivers and add tests
...
Moves the various broadcast receivers out of GlobalScreenshot and
adds unit tests for them, along with some other changes to make
them more easily testable:
- ScreenshotSmartActions is now a stateless injectable class,
instead of a collection of static methods
- DeleteImageInBackgroundTask removed, in favor of just calling
a background executor directly
- remove the TargetChosenReceiver (used to remove notifications
after a share target is chosen) since we're not using
notifications anymore
Bug: 160325487
Test: atest SystemUITests, plus manually checked that screenshots
continue to function as expected
Change-Id: I1c054dddd76404f385e59f7ab7317beaafde1106
2020-07-21 16:48:12 -04:00
Wale Ogunwale
256cbd1b51
Merge "Prevent exception when surrounding text retrieval" into rvc-dev am: 309cfa3431 am: f4fb8c1457
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12167896
Change-Id: I1b7446f698daabf5eae3039fa91efeccd111f1a9
2020-07-21 01:42:02 +00:00
Wale Ogunwale
f4fb8c1457
Merge "Prevent exception when surrounding text retrieval" into rvc-dev am: 309cfa3431
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12167896
Change-Id: Idda9ab4bb5dddc617eb61e4b3355567627ca6fd3
2020-07-21 01:24:31 +00:00
Wale Ogunwale
309cfa3431
Merge "Prevent exception when surrounding text retrieval" into rvc-dev
2020-07-21 01:03:03 +00:00
Lucas Dupin
c8b62b40b6
Merge "Don't turn on prox when wirelessly charging." into rvc-d1-dev am: 7e387342d6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12193436
Change-Id: I618fa0be7b4534616b58ea1f79f10c281318018f
2020-07-21 00:48:06 +00:00
Lucas Dupin
7e387342d6
Merge "Don't turn on prox when wirelessly charging." into rvc-d1-dev
2020-07-21 00:25:17 +00:00
Dave Mankoff
6331de5051
Don't turn on prox when wirelessly charging.
...
Bug: 155373595
Fixes: 161699456
Test: atest SystemUITests && manual
Change-Id: If50ded7ca2836f49b40e71c5fb95c05b87e44213
2020-07-20 20:09:34 -04:00
TreeHugger Robot
2b80409306
Merge "Resume-on-Reboot: remove special string" into rvc-dev am: 4daab7b2d6 am: 5cb5825c09
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12181452
Change-Id: I7219e51a397b447929bd3d6d3de49244f1333616
2020-07-20 23:05:56 +00:00
TreeHugger Robot
5cb5825c09
Merge "Resume-on-Reboot: remove special string" into rvc-dev am: 4daab7b2d6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12181452
Change-Id: I965e66fc83d9fad8ce0eb7f36072cbbf3343f380
2020-07-20 22:51:57 +00:00
TreeHugger Robot
4daab7b2d6
Merge "Resume-on-Reboot: remove special string" into rvc-dev
2020-07-20 22:31:15 +00:00
Kevin Chyn
90c7090ebf
Merge "Clear identity when checking strongauth flags" into rvc-qpr-dev
2020-07-20 20:36:24 +00:00
Zhen Zhang
cfeb7627b7
Merge "Scroll the hiding page to top on tab changed in sharesheet" into rvc-qpr-dev
2020-07-20 19:29:20 +00:00
Kevin Chyn
c4bbfd14a1
Clear identity when checking strongauth flags
...
Fixes: 161557889
Fixes: 161566755
Test: atest FingerprintManagerTest
Test: AccessibilityFingerprintGestureTest#testGestureDetectionListener_whenAuthenticationStartsAndStops_calledBack
Merged-In: Icb273fc0cf2ce1891550130539c0b2e6e788b533
Change-Id: I9ebed8adc401fc745f581c8e0fe38c3790dd5fb6
2020-07-20 11:25:46 -07:00
TreeHugger Robot
a0315ad1a5
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-dev am: c294687770 -s ours am: fdd9fab0be -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12188942
Change-Id: If7d06b5949711f0ba00ccb3eb38e084e53fe9d7a
2020-07-19 19:14:35 +00:00
TreeHugger Robot
eeb6c5d78f
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-d1-dev am: b15b8399e4 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12188734
Change-Id: I781604e7e1bceb67902fcfa1163f301dd3078bfd
2020-07-19 19:14:29 +00:00
TreeHugger Robot
fdd9fab0be
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-dev am: c294687770 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12188942
Change-Id: Iaf9c22c9d05d16b653b32aa5fa48964709eeb250
2020-07-19 19:02:51 +00:00
TreeHugger Robot
b15b8399e4
Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-d1-dev
2020-07-19 19:01:00 +00:00
TreeHugger Robot
c294687770
Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-dev
2020-07-19 18:49:45 +00:00
Eric Laurent
daaf5ac3b9
Merge "AudioService: Add metrics for audio mode" into rvc-dev am: 148c8bc210 am: 8eae5a9c67
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12065323
Change-Id: I14dfbaf873c7a447837a9b275f905077eaf0603d
2020-07-19 17:21:43 +00:00
Eric Laurent
8eae5a9c67
Merge "AudioService: Add metrics for audio mode" into rvc-dev am: 148c8bc210
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12065323
Change-Id: I7ba806f49fc9cb3b61b4de8e9a265db2044f13a8
2020-07-19 17:08:28 +00:00
Eric Laurent
148c8bc210
Merge "AudioService: Add metrics for audio mode" into rvc-dev
2020-07-19 16:46:20 +00:00
Bill Yi
c759295063
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I626e20f4aa818a4ecb66a22b0438b4759a7512a4
2020-07-19 09:14:58 -07:00
Bill Yi
f797890c09
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ib6b5679f22901d2d9e7996e25b19318cc1916460
2020-07-19 08:54:49 -07:00
TreeHugger Robot
03c3e1af8c
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-dev am: d3f766ee0f -s ours am: b94d0f3187 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12187676
Change-Id: I86d999eb0d533d98c6696edf72b7fa33c6d87ead
2020-07-19 15:16:27 +00:00
TreeHugger Robot
5accf14709
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-dev am: f6d4adeef4 -s ours am: 94ef8f65e4 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12187283
Change-Id: Ib8341aed019e75efaa031a80204fac951a170dc9
2020-07-19 15:16:13 +00:00
TreeHugger Robot
b94d0f3187
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-dev am: d3f766ee0f -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12187676
Change-Id: Iab9f45716891250b329eb96b087e41764f70fe85
2020-07-19 15:00:08 +00:00
TreeHugger Robot
94ef8f65e4
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-dev am: f6d4adeef4 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12187283
Change-Id: Ic037154659ce6e23d2333d8d2837e14293e1c605
2020-07-19 14:59:55 +00:00
TreeHugger Robot
d3f766ee0f
Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-dev
2020-07-19 14:52:06 +00:00
TreeHugger Robot
f6d4adeef4
Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-dev
2020-07-19 14:48:47 +00:00
Bill Yi
4483224a7e
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I6925f9b46eea739365ccaa263e64d977e6aa9b25
2020-07-19 00:05:22 -07:00
Bill Yi
8c4c530422
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I18c501af0e75d2afd6b857b02a93e03dfc9bab56
2020-07-18 23:37:31 -07:00
Bill Yi
9caa07c236
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 8150894a31 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12187281
Change-Id: I67bec37827b97e11ca645fbb07744b8c51fedb19
2020-07-19 05:39:48 +00:00
Bill Yi
8150894a31
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I910d6f01e5308177c1e2c238d540a70b75d92bc7
2020-07-18 20:03:58 -07:00
TreeHugger Robot
8cb95a9224
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-dev am: 851960cdd1 -s ours am: cb2bff1f62 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12184423
Change-Id: I10c99b3c4038b598c46dc3a216193729abebb2ac
2020-07-18 07:29:32 +00:00
TreeHugger Robot
cb2bff1f62
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-dev am: 851960cdd1 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12184423
Change-Id: I28ca4cdf5cd00753d9b609d90e628b05d156f615
2020-07-18 07:17:28 +00:00
TreeHugger Robot
851960cdd1
Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-dev
2020-07-18 07:06:04 +00:00
Bill Yi
ac342cc50c
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 72d3135ecb -s ours am: 8a673b874f -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12184422
Change-Id: I70829d680743f468f2e89a1106a83d91dd21efd6
2020-07-18 06:30:44 +00:00
Bill Yi
8a673b874f
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 72d3135ecb -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12184422
Change-Id: Id8f473a8e4c9075d92c4ef90517c416aced87c0a
2020-07-18 06:07:18 +00:00
Bill Yi
3f5dd27b0b
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Iec90fad5c9d26c9d2345a5f390f8a714b9bac815
2020-07-17 21:18:53 -07:00
Bill Yi
72d3135ecb
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ia2cb81141a0d3530bb345c3e57b73fd04b7912cf
2020-07-17 19:37:54 -07:00
Sudheer Shanka
6c929d5523
Merge "Don't try to handle callbacks until mSystemReady is set." into rvc-dev am: 20f7d15884 am: e98160cd01
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12180378
Change-Id: I295564522c323fc7a96fb03c1e35669b652a8215
2020-07-18 00:02:02 +00:00
Wale Ogunwale
564f07abdb
Merge "Revert "Call preserveSurfaces when detaching children."" into rvc-dev am: 3affbe4d9f am: c3e5f8315a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12180365
Change-Id: I5ab3c5e3395688060c59c4eaff627a1a4c6a1e22
2020-07-18 00:01:26 +00:00
Wale Ogunwale
b8727157d4
Merge "Fix wrong candidate window when display immersive_mode_confirm." into rvc-dev am: 0bf88c5ad2 am: a56ba188c9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12166481
Change-Id: Ib3ceea0a429f3fc6bd7b78312478cad17822933e
2020-07-18 00:01:02 +00:00
Wale Ogunwale
978a3a6023
Merge "Allow status bar to be transparent, and clear LIGHT flags." into rvc-dev am: 25602430fd am: e9e55ae825
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12166023
Change-Id: Ibfb36faf1ec468ae6d59dcbf9a025f89b6fa89be
2020-07-18 00:00:41 +00:00
Sudheer Shanka
e98160cd01
Merge "Don't try to handle callbacks until mSystemReady is set." into rvc-dev am: 20f7d15884
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12180378
Change-Id: Ia02cc90e9804e75d46905751f18b78126f491359
2020-07-17 23:42:38 +00:00
Wale Ogunwale
c3e5f8315a
Merge "Revert "Call preserveSurfaces when detaching children."" into rvc-dev am: 3affbe4d9f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12180365
Change-Id: I6c17d0bdb697ac2c3b2586b870498f048f58c3de
2020-07-17 23:42:29 +00:00
Wale Ogunwale
a56ba188c9
Merge "Fix wrong candidate window when display immersive_mode_confirm." into rvc-dev am: 0bf88c5ad2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12166481
Change-Id: I57f9fdfb04aa016053496dda2dec0b6926e88c20
2020-07-17 23:42:15 +00:00
Wale Ogunwale
e9e55ae825
Merge "Allow status bar to be transparent, and clear LIGHT flags." into rvc-dev am: 25602430fd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12166023
Change-Id: Id6a0e2b559794a259f7a256f6d4ccee8961010ff
2020-07-17 23:41:39 +00:00
Sudheer Shanka
20f7d15884
Merge "Don't try to handle callbacks until mSystemReady is set." into rvc-dev
2020-07-17 23:34:32 +00:00
Wale Ogunwale
3affbe4d9f
Merge "Revert "Call preserveSurfaces when detaching children."" into rvc-dev
2020-07-17 23:28:44 +00:00