Commit Graph

11313 Commits

Author SHA1 Message Date
Manu Cornet
b1d7726419 DO NOT MERGE - Slightly better encapsulation for the set of recent activities
am: 6abecd2c2a

Change-Id: Iee98c0be053fbd8a83bb9a7c9cd464034ef86e56
2016-11-08 19:22:04 +00:00
Manu Cornet
6abecd2c2a DO NOT MERGE - Slightly better encapsulation for the set of recent activities
Manual cherrypick from master since automated cherrypick had merge
conflicts.

Bug: 32101881
Test: Behavior is 100% covered by existing automated tests
Merged-In: Ibf2f5af268ec00abc8caa6232fb517b60545ad46
Change-Id: I04516c299ca00b2bfea731979af4aa918a056041
2016-11-08 11:11:04 -08:00
Jason Monk
7eef409c52 Fix vpn branded string usage am: 59474a40af
am: ec421cd433

Change-Id: I2dade8df4b700b244308e66d2d546b6d866a7260
2016-10-22 02:36:16 +00:00
Jason Monk
ec421cd433 Fix vpn branded string usage
am: 59474a40af

Change-Id: Ie6945d5978394024ae2f06edb29c38a18459e504
2016-10-22 02:30:51 +00:00
Jason Monk
59474a40af Fix vpn branded string usage
Change-Id: I42fdca60536425c757759414ac812b20e0b42823
Fixes: 32071681
2016-10-21 19:27:34 -04:00
Selim Cinek
2cf7a75410 Fixed a grey flash when swiping away the last notification am: 54680901ed
am: 73595daf43

Change-Id: I2491c5104376715ccbe027e0da89262435732d4a
2016-10-20 02:41:48 +00:00
Selim Cinek
54680901ed Fixed a grey flash when swiping away the last notification
Change-Id: I12edf673f29abad66fa6704004886124eee9978b
Fixes: 32289359
Test: have 1 notification, swipe it a way, observe no flashing in statusbar
2016-10-20 00:07:26 +00:00
Winson
a0e36bafad Skip getting transforms for ignored tasks. am: 448c0adb78
am: cfdbd7b2e2

Change-Id: I19181f3c3ffff3da30b864290a0ba45571bbb47f
2016-10-19 19:35:25 +00:00
Winson
cfdbd7b2e2 Skip getting transforms for ignored tasks.
am: 448c0adb78

Change-Id: Ie929c699ee466b1298acab07eefa68006a92cdb1
2016-10-19 19:18:26 +00:00
TreeHugger Robot
5f4169b5ea Merge "Skip getting transforms for ignored tasks." into nyc-mr1-dev 2016-10-19 18:45:26 +00:00
Winson
448c0adb78 Skip getting transforms for ignored tasks.
- If the stack does not contain the existing ignored task view on
  relayout, then we should not try and get the transform for it
  since it will be skipped.

Bug: 32001762
Change-Id: I23182c76ac41b036c25edf92374622191e9d4ce3
2016-10-19 09:53:59 -07:00
Jason Monk
9dce7cdf13 Merge "Hide QS customizer correctly" am: 03e4eb32fe
am: fb56958223

Change-Id: I62095e8b8c5bea7627e59cf166abce1cfa4ce2f1
2016-10-19 15:23:40 +00:00
Jason Monk
fb56958223 Merge "Hide QS customizer correctly"
am: 03e4eb32fe

Change-Id: I8c1998de76beee26b703781a6f883e9efd24bde3
2016-10-19 15:15:43 +00:00
Adrian Roos
102aa8b6f1 Separate ambient display triggers am: b7e4e10618
am: 59116440e7

Change-Id: I588f5541c73ae356b255ffa6b1e23c1fbcd1693e
2016-10-18 22:19:43 +00:00
Adrian Roos
59116440e7 Separate ambient display triggers
am: b7e4e10618

Change-Id: I575f96338cffa0f6e8adb1b9ff300dbd322398dc
2016-10-18 22:07:03 +00:00
Adrian Roos
52af7e0759 Merge "Separate ambient display triggers" into nyc-mr1-dev 2016-10-18 22:00:06 +00:00
Adrian Roos
b7e4e10618 Separate ambient display triggers
Allows configuring notification and sensor triggers
separately. Introduces a helper class that hosts the
logic for determining what kinds of triggers a device
supports.

Bug: 32073185
Change-Id: Ie7e8eb6b895dcc54e6f972e70642c7248b9e223a
Test: disable "ambient display", sensor triggers should still work
2016-10-18 10:43:44 -07:00
Adrian Roos
4c4e0de5d5 DirectReply: fix lockscreen crash am: b22665db0c
am: dd8b2c943d

Change-Id: I30dd96b6b332fcd327fcaf81c8e082d7081781b2
2016-10-18 17:37:45 +00:00
Yoshinori Hirano
1dd7d07460 Hide QS customizer correctly
When users open and close QS customizer quickly, QSCustomizer#hide()
is not called because QSCustomizer#isCustomizing() returns false.
The isCustomizing() becomes true when the expand animation ends.
The hide() should be called even though the animation is ongoing.

Bug: 30545089
Test: manual - open and close QS customizer quickly

Change-Id: Ic483addfb6ae9da31c997fec7778e5acd718c353
2016-10-18 04:31:47 +00:00
Adrian Roos
b22665db0c DirectReply: fix lockscreen crash
Fixes a crash that happens when direct reply is triggered and
the view is detached between clicking and unlocking.

Change-Id: I647560a24f9a26a28e86df436b45d5f496454eb8
Fixes: 32171748
2016-10-17 15:08:15 -07:00
Yoshinori Hirano
9531933797 Merge "Avoid automatically mirroring Drawable of CustomTile"
am: 9a904d68c7

Change-Id: I337620f4a2514a00a6b49275cadde6087e11dddf
2016-10-17 17:00:44 +00:00
Yoshinori Hirano
eb09362c72 Avoid automatically mirroring Drawable of CustomTile
Developers of custom tiles should decide whether
the Drawable of their own tiles should be automatically mirrored.
So State#autoMirrorDrawable should be false by default.

Bug: 30930145
Test: manual - change to RTL language and open Quick Settings

Change-Id: Ia3fd8c2aeddb4a27b9ecfaaf52edbcce01fd7f48
2016-10-17 20:04:16 +09:00
Jason Monk
4843210683 Fix launching alarm pending intent am: d0408f0028 am: 9042736ff1 am: 6aa197116e
am: 2abab0248f

Change-Id: Ife7911f26ebcf96802e2a9ac3f2f179d0d486d2c
2016-10-14 19:07:48 +00:00
Jason Monk
6aa197116e Fix launching alarm pending intent am: d0408f0028
am: 9042736ff1

Change-Id: Id2c2ccf79c62c5e0e498259a2b88e44cb98a70b3
2016-10-14 18:54:00 +00:00
Jason Monk
9042736ff1 Fix launching alarm pending intent
am: d0408f0028

Change-Id: I01f3963617638bf8c1cb8efccf027dd8a9084517
2016-10-14 18:46:44 +00:00
Jason Monk
d0408f0028 Fix launching alarm pending intent
Launch it as a pending intent.

Change-Id: I2adf9347facb9c6fb58cbf8549233c34fcc87350
Fixes: 23909438
2016-10-14 15:34:26 +00:00
Yuta Yamada
dd1bd9875f Merge "Fix memory leak of Dnd tile" am: 6057a8360a am: 465397e28e
am: be3b53beca

Change-Id: I12dae89a0b577379e7a868182b535f5dcda09d36
2016-10-14 14:29:58 +00:00
Jorim Jaggi
3f23c9f36e Merge "Fix split-screen flash issue" am: 6738617652 am: f1fed4de21
am: 4e7407a80e

Change-Id: Ibfef3bd01a54cca64a2f0de197bd9480a7539cd0
2016-10-14 14:24:48 +00:00
Yuta Yamada
be3b53beca Merge "Fix memory leak of Dnd tile" am: 6057a8360a
am: 465397e28e

Change-Id: I66d6f38d6f53251c0bc58d9ea49b4458d8b000f9
2016-10-13 14:30:09 +00:00
Jorim Jaggi
4e7407a80e Merge "Fix split-screen flash issue" am: 6738617652
am: f1fed4de21

Change-Id: I67953f2bda3222ec53f0f6d2423df8287439ffe1
2016-10-13 14:25:15 +00:00
Treehugger Robot
6057a8360a Merge "Fix memory leak of Dnd tile" 2016-10-13 13:00:45 +00:00
Selim Cinek
5a0845841d Fixed a bug where the system could crash when expanding am: 3e77984434
am: c19b510454

Change-Id: I9a08497e8c49fe916f42cac3a1d56ea5ec4fc8c3
2016-10-13 00:57:38 +00:00
dooyoung.hwang
9b1500b1dd Fix crashes after notifying bad notification am: 78c4114101
am: 08011cdf33

Change-Id: I679181fb5f23c48825c21d9a210e70eaca3835f2
2016-10-13 00:55:49 +00:00
Selim Cinek
c19b510454 Fixed a bug where the system could crash when expanding
am: 3e77984434

Change-Id: Icf8c8743f57a5e402275adfc645f08a10cf94a3b
2016-10-13 00:44:16 +00:00
dooyoung.hwang
08011cdf33 Fix crashes after notifying bad notification
am: 78c4114101

Change-Id: I4d72feb9a40b99c5b40307ad01d708b3a66d1f54
2016-10-13 00:42:44 +00:00
Selim Cinek
0bdfc7be66 Merge "Fixed a bug where the system could crash when expanding" into nyc-mr1-dev 2016-10-13 00:37:29 +00:00
Selim Cinek
d517c3c16b Merge "Fix crashes after notifying bad notification" into nyc-mr1-dev 2016-10-13 00:36:29 +00:00
Selim Cinek
3e77984434 Fixed a bug where the system could crash when expanding
When expanding a notification it could disappear and the
system would crash.

Test: Manual, expand notification group and have it removed while
doing so.
Change-Id: I421ab0cf7a9292e6894529c80784ba0989071fb0
Fixes: 31941185
2016-10-12 12:08:57 -07:00
Dan Sandler
15994be698 Essential packages' notifications can no longer be silenced. am: 028a60f003
am: b50c46a64e

Change-Id: I12e95285baabe5356c3f04e17587afecd3caf292
2016-10-12 13:55:17 +00:00
Yuta Yamada
99fd277a47 Fix memory leak of Dnd tile
The instance of Dnd tile leaks when user taps the edit button
of Quick Settings. To fix this issue, QSTile#destroy should be
called when the tile is no longer needed.

Bug: 32103239
Test: manual - go to Quick Settings -> Edit repeatedly

Change-Id: I9bc9ee836be5c8e46eb1ccd202bd5cc50070ef47
2016-10-12 08:45:11 +00:00
dooyoung.hwang
78c4114101 Fix crashes after notifying bad notification
If applications whose targetSDK is below N build notification
without contentView, contentView is created at inside of build()
function in Notification.Builder. If application apply
removeAllViews to this contentView, Notification View can have
id 'status_bar_latest_event_content' without standard layout of
notification. When inflating this notification, SystemUI try to wrap
it with NotificationTemplateViewWrapper(its id is
'status_bar_latest_event_content'), and crash, because it does not
have expected views.

Test: Install & launch attached apk in below BUG url to N devices,
and try to make notification by clicking 'do it' button.

https://code.google.com/p/android/issues/detail?id=223479

Bug:31948446
Change-Id: Ifcdc79a117613e8afd2e8ed098afd211cceabf88
2016-10-11 17:37:23 -07:00
Dan Sandler
028a60f003 Essential packages' notifications can no longer be silenced.
Particularly useful for Dialer, whose incoming call
notifications are basically useless if you accidentally mute
them.

Test: manual. With config_nonBlockableNotificationPackages
      set to include com.android.dialer, receive or miss a
      call and longpress the notification. No radio buttons
      should be available.
Bug: 31360343
Change-Id: I6b8fa374fb8e811ec6922acbf222f23f18775a61
2016-10-11 22:21:18 +00:00
Selim Cinek
cd8c71a8d1 Fixed a bug where the header would flicker weirdly when replying am: 5f2ca6b1a1
am: b92a21d688

Change-Id: I7de88401225d49be9298ff42eb6ccabd6418fca5
2016-10-11 19:14:29 +00:00
Selim Cinek
7f6d085e8d Fixed an issue where HUNS could have a background am: 1791f50134
am: 3109ba4140

Change-Id: Ic5164a9b74b97b8d516ab594df0c41c357cbfe10
2016-10-11 19:12:41 +00:00
Selim Cinek
b92a21d688 Fixed a bug where the header would flicker weirdly when replying
am: 5f2ca6b1a1

Change-Id: Ie4e28561f91a6f3bdc84d9475660c7e72fd9a6ff
2016-10-11 19:07:53 +00:00
Selim Cinek
3109ba4140 Fixed an issue where HUNS could have a background
am: 1791f50134

Change-Id: Ia48513df95a24d69d755684c50c6730e56b6b100
2016-10-11 19:06:38 +00:00
Selim Cinek
46d1ecbc8f Merge "Fixed a bug where the header would flicker weirdly when replying" into nyc-mr1-dev 2016-10-11 18:53:20 +00:00
Selim Cinek
b43494a1dc Merge "Fixed an issue where HUNS could have a background" into nyc-mr1-dev 2016-10-11 18:52:51 +00:00
Nick Kralevich
34547a8dc2 Delete "Show CPU usage" am: fc4a5c2d85
am: f0c0188a8a

Change-Id: If33e6687d3ec83904ab6ddbeb008c7b9c8130e7a
2016-10-11 18:15:23 +00:00
Nick Kralevich
fc4a5c2d85 Delete "Show CPU usage"
This functionality hasn't worked since Lollipop.

Bug: 21388590
Change-Id: Ie4388d88f6e06f3e2d2e84e9c4515b3ebc6a0ea5
2016-10-11 09:01:38 -07:00