Commit Graph

11212 Commits

Author SHA1 Message Date
Adrian Roos
05ffa85107 DozeService: Seperate double tap and pickup am: 7294c115fd
am: 9589dca308

Change-Id: Ia3c761aa1b93d7d5d525e59e5ac18c41d069ed44
2016-09-27 19:23:31 +00:00
Adrian Roos
9589dca308 DozeService: Seperate double tap and pickup
am: 7294c115fd

Change-Id: I47fd20b374a188d7e280d1c6867204ee06733d0e
2016-09-27 19:17:09 +00:00
Adrian Roos
7294c115fd DozeService: Seperate double tap and pickup
Adds handling for a separate double tap gesture
and allows enabling double tap and pickup
individually.

Test: Turn screen off, toggle gestures with `adb shell settings put secure doze_pulse_on_pick_up 0/1` and `adb shell settings put secure doze_pulse_on_double_tap 0/1`
Bug: 30595437
Change-Id: Id7b79f90b28429cf321544a3e425cf33c575d1c3
2016-09-27 19:07:36 +00:00
Adrian Roos
8249ef437c Show PLMN on CryptKeeper am: 316bf54484
am: 3b09d5028c

Change-Id: Ide966f8d1c3f9ebe639000aa007532514387ec54
2016-09-24 02:12:28 +00:00
Adrian Roos
3b09d5028c Show PLMN on CryptKeeper
am: 316bf54484

Change-Id: Ia1e078cca8e29aa0f36b46daf74ce91ec1a90f48
2016-09-24 02:07:38 +00:00
Adrian Roos
316bf54484 Show PLMN on CryptKeeper
Also shows the state only once radio is enabled.

Fixes: 30301831
Change-Id: Iaf3b96c3622e20d8ada6e1f6391d6065101fb281
2016-09-23 17:28:38 -07:00
Adrian Roos
4ffff73947 Fix wake lock logic during Dream startup am: 9ede1d2602
am: 042c2349c6

Change-Id: I6c8a9119fd841b071dfb9f0e54680eb3dd7a1ef1
2016-09-23 22:24:32 +00:00
Adrian Roos
042c2349c6 Fix wake lock logic during Dream startup
am: 9ede1d2602

Change-Id: If4bbf9e3242946a352eedbba3d8610964b505c29
2016-09-23 22:19:57 +00:00
Dong-wan Kim
a3ecfe6bdf Fix DismissView cannot be clicked sometimes after boot am: b926666a76
am: 2e61103c5e

Change-Id: Iba79909cfb5f2dc2770b6d7086c061d125ee0888
2016-09-23 22:18:29 +00:00
Selim Cinek
c04b945862 Fixed a bug where the dimmed background could be invisible am: 3334a182a6
am: 53d7b67290

Change-Id: I1acae36d41732e2b1df9d0c8b65a646e8f35f229
2016-09-23 22:14:13 +00:00
Selim Cinek
29f40afd9b Fixed an issue where the inline controls where not usable am: fc7086ef65
am: 8f88867ba1

Change-Id: Ida51f45dc0fa31ec4ceb7761ca313e46fc6b7836
2016-09-23 22:13:32 +00:00
Adrian Roos
9ede1d2602 Fix wake lock logic during Dream startup
Fixes a crash that would happen in all dreams
that did not have permission to acquire wake locks.
Instead moves the wake lock logic into the system
process. Also fixes a bug in DozeService where the
wake lock was not held until dozing was actually
properly initialized.

Fixes: 31612287
Bug: 31044352
Related-CL: I85955a2b7d6bad5171accbc336117a9660b1b198
Test: adb shell settings put secure screensaver_components com.android.dreams.basic/.Colors; adb shell service call dreams 1

Change-Id: Idb3f921ee71b6da6c2ab0c44c332ef91f93ddbc0
2016-09-23 15:11:15 -07:00
Dong-wan Kim
2e61103c5e Fix DismissView cannot be clicked sometimes after boot
am: b926666a76

Change-Id: I1f9a91b04dfc7b1bbaff3243e383c6b26dd4dcf4
2016-09-23 22:05:21 +00:00
Selim Cinek
53d7b67290 Fixed a bug where the dimmed background could be invisible
am: 3334a182a6

Change-Id: I30cfda47616d2b365113d9d05f7483e239b973e1
2016-09-23 22:02:16 +00:00
Selim Cinek
8f88867ba1 Fixed an issue where the inline controls where not usable
am: fc7086ef65

Change-Id: I802f032cbe63c19e28782ece7a7a9d6faa1665b6
2016-09-23 22:01:22 +00:00
Dong-wan Kim
b926666a76 Fix DismissView cannot be clicked sometimes after boot
mActivePointerId should be initialized to INVALID_POINTER.
Otherwise, the click event to DismissView can be intercepted by
onInterceptTouchEventScroll() due to wrong calculated value of yDiff
when mActivePointerId is not intialized.

This issue can be reproduced at the first click to DismissView while
user have not touched any notification views ever after boot.
And that click event must contains some MOVE events.

Test: manual - Check whether user always can click DismissView
               after boot.
Fixes: 31649735
Change-Id: If9baf6db1b891a58e17153806d52d395ddd661df
2016-09-23 13:07:25 -07:00
Jason Monk
7ad42670e1 QS: Don't show graph or warning text when not present am: a03c641c60
am: 3a25aaaef2

Change-Id: Ie5b3cf615ef73d5c96b8410573ae57a795d9e7d7
2016-09-23 20:06:23 +00:00
Jason Monk
a03c641c60 QS: Don't show graph or warning text when not present
Change-Id: Ic2cfcc0716a70a3d577d17e5af9c5d1f7f8fd4c6
Fixes: 30694497
Fixes: 30898011
2016-09-23 14:18:19 -04:00
Winson
ce5dc9236f Defer launching next task until after first layout. am: bd53a314f4
am: 6dcd21e5da

Change-Id: If5fe8dbe4dc0d71cc7b1c4bf19572576bdd8c978
2016-09-22 23:51:15 +00:00
Winson
3180d517bd Fixing index bounds exception when TaskViews are added while dismissing. am: ffaf07fed0
am: 0eb26d7e4b

Change-Id: Iffb6fc9ef928f0eb1b3b3bf99239cb6bee7997ab
2016-09-22 23:45:37 +00:00
Winson
14fa6c2847 Fixing RTL issues with transition and screen pinning. am: 96f78f5046
am: 9ae8d47697

Change-Id: Ie3c2cec6d8c7f3ff09ae12ae02fd1df5d7372a5f
2016-09-22 23:43:45 +00:00
Selim Cinek
3334a182a6 Fixed a bug where the dimmed background could be invisible
Test: Notification group with 2 children on shade locked. Swipe 1 away and go to lockscreen
Change-Id: If7c3a55e220579eb27036f31d59b222371d2bf8e
Fixes: 31524202
2016-09-22 16:19:42 -07:00
Winson
6dcd21e5da Defer launching next task until after first layout.
am: bd53a314f4

Change-Id: I73070b5bd4d5b6818dfe0a6c3ef0c6c73bef4cca
2016-09-22 22:53:16 +00:00
Winson
0eb26d7e4b Fixing index bounds exception when TaskViews are added while dismissing.
am: ffaf07fed0

Change-Id: Iaf42d020a561626040ca1c6a3bd75240c6146f40
2016-09-22 22:45:38 +00:00
TreeHugger Robot
a9375fef09 Merge "Defer launching next task until after first layout." into nyc-mr1-dev 2016-09-22 21:26:02 +00:00
TreeHugger Robot
48d24389cb Merge "Fixing index bounds exception when TaskViews are added while dismissing." into nyc-mr1-dev 2016-09-22 21:09:23 +00:00
Selim Cinek
fc7086ef65 Fixed an issue where the inline controls where not usable
Because the calculation whether a touch is on a view was incorrect
the inline controlls would always close on tablets when interacting
with them.

Change-Id: I68dcba411b34def32a044f5a4d73b396f74e9730
Fixes: 31502625
2016-09-22 14:03:41 -07:00
Winson
ffaf07fed0 Fixing index bounds exception when TaskViews are added while dismissing.
Bug: 31518216
Change-Id: I749aa45f54d80d524f069922ac09d2f781c87f86
2016-09-22 19:47:41 +00:00
Winson
96f78f5046 Fixing RTL issues with transition and screen pinning.
Bug: 31367531
Change-Id: Id790293cc5246535d6fb829ec57e4ee640fea1a2
2016-09-22 19:47:31 +00:00
Winson
bd53a314f4 Defer launching next task until after first layout.
Bug: 30192607
Change-Id: I04cd182a795ea9600c9782056dc0adbe9a288af6
2016-09-22 19:46:15 +00:00
Selim Cinek
7281617a19 Large icons now scale nicer when expanding bundles am: 8a71ad032f
am: d4b03c47b5

Change-Id: I1cd46ab1fe38ed7b85b94101360475e9247f2d31
2016-09-22 04:55:17 +00:00
Selim Cinek
d4b03c47b5 Large icons now scale nicer when expanding bundles
am: 8a71ad032f

Change-Id: I391f56cca21177179ea033d7be08f649e7b61664
2016-09-22 03:48:34 +00:00
Selim Cinek
4c1c7f3e18 Merge "Large icons now scale nicer when expanding bundles" into nyc-mr1-dev 2016-09-21 23:51:04 +00:00
Winson
dccfd4394e Removing private system ui flags from status bar flags logic. am: ab216609f1
am: b7a673ed95

Change-Id: I031135c21838f5737367f18e2b5ac247162ab455
2016-09-20 23:14:42 +00:00
Winson
b7a673ed95 Removing private system ui flags from status bar flags logic.
am: ab216609f1

Change-Id: Id7e0d308361acb7793c7b03e2ebe0114a956b380
2016-09-20 23:07:52 +00:00
TreeHugger Robot
07d798b902 Merge "Removing private system ui flags from status bar flags logic." into nyc-mr1-dev 2016-09-20 23:00:37 +00:00
Selim Cinek
8a71ad032f Large icons now scale nicer when expanding bundles
Fixes: 	27597173
Change-Id: I5df234d58903b87cbef5df8812e48992b435fca8
2016-09-20 15:04:31 -07:00
Jason Monk
6140dfe5b1 Protect against crash on user switch am: 6e6af2c7ee
am: b7218524bc

Change-Id: I53e6997e903c109e2584e8be5674d17515c86e0c
2016-09-20 21:06:02 +00:00
Jason Monk
6e6af2c7ee Protect against crash on user switch
Somehow one of the tiles doesn't have a view yet. Assume that this
is a transient part of the tiles getting recreated and that the skipped
tile will get picked up in the next layout.

Change-Id: Ia1370d66119bfcfa7b00bd087bcb0d72a072666a
Fixes: 31394359
2016-09-20 14:53:28 -04:00
Winson
346439473b Workaround for not showing previous tasks when time is set. am: a4fab41e8b
am: 71a61dce0e

Change-Id: Iac047dcfd7ea69236088713deb9d253b73598a4a
2016-09-20 05:51:51 +00:00
Winson
71a61dce0e Workaround for not showing previous tasks when time is set.
am: a4fab41e8b

Change-Id: I6c9e293218f649dd4ab860b061af020d97b042d2
2016-09-20 04:44:02 +00:00
Winson
ab216609f1 Removing private system ui flags from status bar flags logic.
- Prevent third party apps from inadvertently changing internal SystemUI
  flags through a call to setSystemUiVisibility().  These flags are only
  set in the individual SystemUI components and can be updated in WMS
  directly.

Bug: 29875297
Change-Id: I5ea238c8fb16a0eccd6e993d95a912acb359cee6
2016-09-19 18:39:25 -07:00
Winson Chung
65383622b7 Merge "Workaround for not showing previous tasks when time is set." into nyc-mr1-dev 2016-09-19 23:54:44 +00:00
Winson
a4fab41e8b Workaround for not showing previous tasks when time is set.
Bug: 28908500
Change-Id: I32201d4ce1af0bca1c73c2e0c7862771dac7a8d7
2016-09-15 17:18:40 -07:00
Julia Reynolds
7d829ad995 Non-blockable notification packages. am: 98a448633c
am: dbaa133807

Change-Id: I9aa7775e020e4be9d288ed4bf4d2907809a1eca3
2016-09-15 17:16:08 +00:00
Julia Reynolds
dbaa133807 Non-blockable notification packages.
am: 98a448633c

Change-Id: Ibcf81ce64bee3fc1399a22e682e6a1019d00e4d9
2016-09-15 17:09:54 +00:00
Julia Reynolds
7ca068feeb Merge "Non-blockable notification packages." into nyc-mr1-dev 2016-09-15 17:01:56 +00:00
Mady Mellor
0db0989118 Improve swiping to reveal gear for ongoing notifications with time check am: 5b3cc1158b
am: 24cdde893b

Change-Id: I44a80a3cb6d13a42db5e9f4090965f012ba8ba94
2016-09-14 19:48:34 +00:00
Mady Mellor
24cdde893b Improve swiping to reveal gear for ongoing notifications with time check
am: 5b3cc1158b

Change-Id: I3c9748d9262844b3dcc3d23a68cab251aa3fa469
2016-09-14 19:41:54 +00:00
Mady Mellor
be9d8e62c6 Merge "Improve swiping to reveal gear for ongoing notifications with time check" into nyc-mr1-dev 2016-09-14 19:34:34 +00:00