Commit Graph

251298 Commits

Author SHA1 Message Date
Winson Chung
36f3f0337d Revert "Fixing issue with old tasks being visible in Overview"
Bug: 28908500

This reverts commit b258f6a4bd.

Change-Id: I9b3c04358d6ca693ed3fdcd9220af13f81eb704e
2016-09-09 01:29:18 +00:00
Winson
b258f6a4bd Fixing issue with old tasks being visible in Overview
- This CL does two things, firstly, it ensures that all first & last
  active times are monotonically increasing and independent of the
  current system time.  This allows us to better keep track of which
  tasks are historical and should be hidden, and which are not.
  Secondly, this CL moves the tracking of the last visible active time
  into the system (per user) where it can be adjusted along with the
  task active times when they are loaded.
- Following this CL, all active times in the future will be adjusted on
  boot such that old tasks are made relative to the current boot time.
  It’s not important exactly what time they are, only that they are
  adjusted along with the last visible task active time so that we
  always keep track of what is visible.

Bug: 28908500
Change-Id: I4f789df3a6bd825517cf3a70e26fb60deff89d06
2016-08-30 15:01:49 -07:00
Pankaj Kanwar
8a4db04893 Merge "Allow getResponseCode to block if response hasn't been received from remote" into nyc-mr1-dev 2016-08-29 23:35:11 +00:00
TreeHugger Robot
23f6f13eab Merge "Hold no locks when calling RemotePrintSpooler" into nyc-mr1-dev 2016-08-29 23:14:26 +00:00
Yohei Yukawa
04e7bc8ea4 Merge "Make sure IME focus is synced to View focus" into nyc-dev am: b7efddfc41
am: 15946bd93c

Change-Id: I79f4308a0f41ce510b63b439772b882110440d0f
2016-08-29 23:00:05 +00:00
Yohei Yukawa
74e5244fde Make sure IME focus is synced to View focus am: 8eb07090a4 -s ours
am: ef53c0f5ec

Change-Id: I32ffddff7dd3b82c735911c1f4de6830c783e830
2016-08-29 23:00:02 +00:00
TreeHugger Robot
cd97d925c0 Merge "Push delete notification when Bug reports are deleted." into nyc-mr1-dev 2016-08-29 22:55:27 +00:00
Yohei Yukawa
15946bd93c Merge "Make sure IME focus is synced to View focus" into nyc-dev
am: b7efddfc41

Change-Id: I6a5c98b87dffb4cd3db5e434743b463142a50e1d
2016-08-29 22:49:24 +00:00
Yohei Yukawa
ef53c0f5ec Make sure IME focus is synced to View focus
am: 8eb07090a4  -s ours

Change-Id: I32b177a7ea77566ed7b2f1808398b70c64bb756d
2016-08-29 22:45:50 +00:00
Chet Haase
d987f227e1 Merge "ChooserActivity: Cannot start app that the icon overflows the layout" into nyc-dev am: 59fb472858
am: 6a8b5585aa

Change-Id: I0142ece58fb6e7029df4ef1345100d364a440022
2016-08-29 22:43:58 +00:00
Yuichi Biwa
d728854401 ChooserActivity: Cannot start app that the icon overflows the layout am: cb3e1237b5
am: 96ecd77dc8

Change-Id: Ic03480ad585a21c11b57090e1e1c81fc42e446d7
2016-08-29 22:43:56 +00:00
Chet Haase
20c29b0c9b Merge "Set up view state before attaching, jump drawables if needed" into nyc-dev am: 22e006214c
am: 26849eca9c

Change-Id: Ie35d0812808f9ffae24657ad54f4780f9a237f2f
2016-08-29 22:43:53 +00:00
Alan Viverette
257d8ea408 Set up view state before attaching, jump drawables if needed am: c328f042a6 -s ours
am: 54e7cbe563

Change-Id: Ic153d5df90cd74ba7b0fc8b1a3c3e7af06e7f7f9
2016-08-29 22:40:34 +00:00
Chet Haase
d89f74710c Merge "Force AlertDialogLayout to have gravity start|top" into nyc-dev am: a1bbb76806
am: 373f7c04fd

Change-Id: I031361a3be5aa73b9208cc93189013a68084ce53
2016-08-29 22:40:31 +00:00
Adam Powell
5d7e5ef0ef Force AlertDialogLayout to have gravity start|top am: 00c4f7ba65
am: 96bdf5ca7b

Change-Id: Ib0579121436fe955091704f62429e1ebfb2ef7bd
2016-08-29 22:40:28 +00:00
Chet Haase
73b9053643 Merge "FloatingActionMode: Fix screen coordinates." into nyc-dev am: c80a4d7ae3
am: 6ff5fafeca

Change-Id: Ibb300e7a0f86c3db1c9909d710c928daefcff519
2016-08-29 22:40:25 +00:00
Abodunrinwa Toki
7571fabd8a FloatingActionMode: Fix screen coordinates. am: 99c340cad9
am: cba50af05e

Change-Id: I6fd86900a22b3eac2750786a34782a0d39bd6d88
2016-08-29 22:40:22 +00:00
Ajay Panicker
c3ae4db069 Allow getResponseCode to block if response hasn't been received from remote
Bug: 30645605
Change-Id: I9854ccbe98ace6d5490cb99586ca36379f5a1db1
2016-08-29 22:36:15 +00:00
TreeHugger Robot
b7efddfc41 Merge "Make sure IME focus is synced to View focus" into nyc-dev 2016-08-29 22:35:23 +00:00
Chet Haase
6a8b5585aa Merge "ChooserActivity: Cannot start app that the icon overflows the layout" into nyc-dev
am: 59fb472858

Change-Id: I68cef7811c79e264c685fcaae30b501d29789af5
2016-08-29 22:31:37 +00:00
Yuichi Biwa
96ecd77dc8 ChooserActivity: Cannot start app that the icon overflows the layout
am: cb3e1237b5

Change-Id: I93bb2ff3a13f31f6ce6d2ab7161eba3f1be17999
2016-08-29 22:31:33 +00:00
Chet Haase
26849eca9c Merge "Set up view state before attaching, jump drawables if needed" into nyc-dev
am: 22e006214c

Change-Id: Ib19c9f7c09574796d8446f2195323d78aa6b8811
2016-08-29 22:31:28 +00:00
Alan Viverette
54e7cbe563 Set up view state before attaching, jump drawables if needed
am: c328f042a6  -s ours

Change-Id: If8eeea4957a19389c9fea47bd0b31dbcc5d51b21
2016-08-29 22:31:24 +00:00
Chet Haase
373f7c04fd Merge "Force AlertDialogLayout to have gravity start|top" into nyc-dev
am: a1bbb76806

Change-Id: I1f1d1efab0844204df403fdc7619b6c6d8b1fb77
2016-08-29 22:31:20 +00:00
Adam Powell
96bdf5ca7b Force AlertDialogLayout to have gravity start|top
am: 00c4f7ba65

Change-Id: If329f03f0475cb0b65ed62d97ee97285f8d24038
2016-08-29 22:31:16 +00:00
Chet Haase
6ff5fafeca Merge "FloatingActionMode: Fix screen coordinates." into nyc-dev
am: c80a4d7ae3

Change-Id: I39589f091b9f34581f20323e721a3d1ab2887c32
2016-08-29 22:31:09 +00:00
Abodunrinwa Toki
cba50af05e FloatingActionMode: Fix screen coordinates.
am: 99c340cad9

Change-Id: If69592a88c5296d1321a08d78231492efaac6645
2016-08-29 22:31:04 +00:00
Chet Haase
59fb472858 Merge "ChooserActivity: Cannot start app that the icon overflows the layout" into nyc-dev 2016-08-29 22:13:12 +00:00
Chet Haase
22e006214c Merge "Set up view state before attaching, jump drawables if needed" into nyc-dev 2016-08-29 22:12:09 +00:00
Chet Haase
a1bbb76806 Merge "Force AlertDialogLayout to have gravity start|top" into nyc-dev 2016-08-29 22:11:27 +00:00
Chet Haase
c80a4d7ae3 Merge "FloatingActionMode: Fix screen coordinates." into nyc-dev 2016-08-29 22:11:09 +00:00
Christopher Tate
69bac672b4 Merge "Eliminate next-alarm-clock broadcast flapping" into nyc-dev am: 2bbfe98062
am: e9ca3ec441

Change-Id: I1b378ebf26f1be3699a529b7bc301d9cc559f3f2
2016-08-29 22:02:29 +00:00
Christopher Tate
4da1432fe6 Eliminate next-alarm-clock broadcast flapping am: c60da1edc1
am: ef05b70110

Change-Id: Iafc27e38c3831edcfb048722d1b3a43b0cdca72e
2016-08-29 22:02:25 +00:00
TreeHugger Robot
47758a178a Merge "Size print destination to support font sizing" into nyc-mr1-dev 2016-08-29 21:57:17 +00:00
Christopher Tate
e9ca3ec441 Merge "Eliminate next-alarm-clock broadcast flapping" into nyc-dev
am: 2bbfe98062

Change-Id: I05c5b636f7edec76ab85c4e9b9d248c41acb4157
2016-08-29 21:55:38 +00:00
Christopher Tate
ef05b70110 Eliminate next-alarm-clock broadcast flapping
am: c60da1edc1

Change-Id: Id45dadd7ccebf91435e197f86f5fba71127c0986
2016-08-29 21:55:30 +00:00
TreeHugger Robot
2bbfe98062 Merge "Eliminate next-alarm-clock broadcast flapping" into nyc-dev 2016-08-29 21:47:04 +00:00
Pankaj Kanwar
30fc10364a Merge "Update InCallService#onConnectionEvent comments." into nyc-dr1-dev
am: d5b8c80b51

Change-Id: I0381077c87e1c42594c4cae902f479c891f56ede
2016-08-29 21:45:07 +00:00
Tyler Gunn
e3222569c2 Update InCallService#onConnectionEvent comments.
am: 06f3fa66b7

Change-Id: I954dd7bd3079f33e5966a1998c4f676c98cbe0de
2016-08-29 21:45:04 +00:00
Pankaj Kanwar
d5b8c80b51 Merge "Update InCallService#onConnectionEvent comments." into nyc-dr1-dev 2016-08-29 21:37:42 +00:00
Philip P. Moltmann
1d6e7cc536 Hold no locks when calling RemotePrintSpooler
The calls might be blocking and need the main thread of to be unblocked
to finish. Hence do not call while holding any monitors that might need
to be acquired the main thread.

The calls that have been moved out of the lock:
- Icon related calls: These are just caches. Hence we flush the cache we
  just request the icon again
- Prune call: This just removes not installed print service from some
  data structure. The order of two of these calls does not matter as
  the end result of both removals will be the same, regardless of order.

Testing done: Reinstalled a print service multiple times. Before the
first reinstallation locked up the userState, now not anymore

Change-Id: I4f4cdaba65132dc2ef054877cbb097b499a723f6
Fixes: 31043684
2016-08-29 21:29:34 +00:00
Andrii Kulian
6f200e6933 Merge "DO NOT MERGE -- Fix finishing activity in non-focused stack" into nyc-dev am: c8417676ed
am: 2f1662f524

Change-Id: I09187196f27c75e29de028cc7c344bffb5e0bd86
2016-08-29 21:25:08 +00:00
Andrii Kulian
6a4d45f796 DO NOT MERGE -- Fix finishing activity in non-focused stack am: 772c598f66
am: 35c3c8ee8d

Change-Id: I715699d15b312c5164d87827eb5a29e330f6f4d5
2016-08-29 21:25:05 +00:00
Andrii Kulian
2f1662f524 Merge "DO NOT MERGE -- Fix finishing activity in non-focused stack" into nyc-dev
am: c8417676ed

Change-Id: I74e1b45ce3eaf9edec6fb60394da3ad8a818d214
2016-08-29 21:17:02 +00:00
Andrii Kulian
35c3c8ee8d DO NOT MERGE -- Fix finishing activity in non-focused stack
am: 772c598f66

Change-Id: I890f3b460787682bbe0fdb4d8ce44364f1839dac
2016-08-29 21:16:59 +00:00
TreeHugger Robot
c8417676ed Merge "DO NOT MERGE -- Fix finishing activity in non-focused stack" into nyc-dev 2016-08-29 21:10:34 +00:00
Ben Lin
86805aa3af Push delete notification when Bug reports are deleted.
Bug: 28768706
Change-Id: I6d3e91fe7d12be44918f97cef12c99d936401270
2016-08-29 14:08:32 -07:00
TreeHugger Robot
02405fb349 Merge "Fix flicker while booting" into nyc-mr1-dev 2016-08-29 19:51:31 +00:00
Tao Bao
40d926f4d4 Bump up the uncrypt timeout to 30 min. am: 8abcfed8a4 am: c5a17fc39f
am: 18f9533910

Change-Id: Ia41c67b41b9b89ac113f01e783edcbccae5a1cdc
2016-08-29 19:48:29 +00:00
Christopher Tate
c60da1edc1 Eliminate next-alarm-clock broadcast flapping
When multiple alarm clocks are scheduled at the same time, we would
flap among the alternatives for considering them the 'next upcoming
alarm clock', which in turn would generate [many] spurious broadcasts
about changes to the upcoming alarm situation.  This is now fixed;
once we have found the soonest upcoming alarm clock, we stick with
that one until it becomes unavailable, eliminating the spurious
broadcast traffic.

Bug 29501073

Change-Id: Ice1892490bb339e05fa8bd9d324fa1c6718b4942
(cherry picked from commit 76389c00d3)
2016-08-29 19:44:55 +00:00