Commit Graph

67186 Commits

Author SHA1 Message Date
Adrian Roos
8bfaf5fbff Merge "MessagingStyle: Generate EXTRA_TITLE and EXTRA_TEXT" into nyc-dev am: ff39d3ec2f am: 72bc1299f2
am: 86a0e3befe

* commit '86a0e3befe175ebfed8a701ab9be192f909345c3':
  MessagingStyle: Generate EXTRA_TITLE and EXTRA_TEXT

Change-Id: I53c30dbef2ebcd9f85a753dffd93ddafbd000508
2016-06-01 21:12:10 +00:00
Benjamin Franz
042dd1cee6 Merge "Add an intent extra to force master clear" into nyc-mr1-dev am: 3c826b160c
am: 8f79bc6c77

* commit '8f79bc6c7799e2edf3bc13cb82c0972ceeb5edab':
  Add an intent extra to force master clear

Change-Id: I4af0022ec5834d2669321d5c9c76956539c8ead7
2016-06-01 21:08:13 +00:00
fionaxu
8882cf98b9 Merge "trim and strip html tags for load safe label name" into nyc-dev am: c16bc88fc9 am: 36befb2dbc
am: d97994962d

* commit 'd97994962d0d5e691d4f1df51623685c2af1341a':
  trim and strip html tags for load safe label name

Change-Id: I569bea23e9b867fa84c456accb7d24fd03853970
2016-06-01 21:02:33 +00:00
Dianne Hackborn
5101b95710 resolve merge conflicts of e174476 to master
Change-Id: I4005cf91b8a6bf3faa2301d8ce97ab1ad5eed94f
2016-06-01 12:01:38 -07:00
Adrian Roos
86a0e3befe Merge "MessagingStyle: Generate EXTRA_TITLE and EXTRA_TEXT" into nyc-dev am: ff39d3ec2f
am: 72bc1299f2

* commit '72bc1299f2020c4acd51defed6da430d61edc5fa':
  MessagingStyle: Generate EXTRA_TITLE and EXTRA_TEXT

Change-Id: Ifcba6fe03700c39b9777c3c08ffa1c4bf4873dd7
2016-06-01 17:34:05 +00:00
Benjamin Franz
8f79bc6c77 Merge "Add an intent extra to force master clear" into nyc-mr1-dev
am: 3c826b160c

* commit '3c826b160c724d38f49bb479aa13ab8cf685e2d2':
  Add an intent extra to force master clear

Change-Id: I5789ac49b040ba6b1330e9680c1a595f24e82af9
2016-06-01 17:20:43 +00:00
Adrian Roos
72bc1299f2 Merge "MessagingStyle: Generate EXTRA_TITLE and EXTRA_TEXT" into nyc-dev
am: ff39d3ec2f

* commit 'ff39d3ec2fa773a50bbd069a40570767c80fd404':
  MessagingStyle: Generate EXTRA_TITLE and EXTRA_TEXT

Change-Id: I96b1992f69d94f24a63784c1c2d954b91ab9570d
2016-06-01 17:14:47 +00:00
Benjamin Franz
3c826b160c Merge "Add an intent extra to force master clear" into nyc-mr1-dev 2016-06-01 17:13:15 +00:00
Chen Xu
d97994962d Merge "trim and strip html tags for load safe label name" into nyc-dev am: c16bc88fc9
am: 36befb2dbc

* commit '36befb2dbce9b05ce1cf26ee9aef5c268d6c7266':
  trim and strip html tags for load safe label name

Change-Id: I630902aad16a71485506628625bb3b9c09b992f6
2016-06-01 17:06:41 +00:00
TreeHugger Robot
ff39d3ec2f Merge "MessagingStyle: Generate EXTRA_TITLE and EXTRA_TEXT" into nyc-dev 2016-06-01 17:02:00 +00:00
fionaxu
36befb2dbc Merge "trim and strip html tags for load safe label name" into nyc-dev
am: c16bc88fc9

* commit 'c16bc88fc99a6446c77d0b075f242c042bb31ded':
  trim and strip html tags for load safe label name

Change-Id: Ic79f077813fcf2124fe1cbf031cb4e0770a02a51
2016-06-01 16:55:51 +00:00
Chen Xu
c16bc88fc9 Merge "trim and strip html tags for load safe label name" into nyc-dev 2016-06-01 16:47:19 +00:00
Dianne Hackborn
e174476b70 Merge "Work on issue #28942589: Tune job scheduler" into nyc-dev am: 438693dd6c
am: 576430f36a

* commit '576430f36ac04843fed5697ecae1716489c164bb':
  Work on issue #28942589: Tune job scheduler

Change-Id: I101010ff1d7d88c2ccac14d095df7722569cf549
2016-06-01 16:45:40 +00:00
Dianne Hackborn
576430f36a Merge "Work on issue #28942589: Tune job scheduler" into nyc-dev
am: 438693dd6c

* commit '438693dd6cc4e3fe2ffb336d551c0d69e9546102':
  Work on issue #28942589: Tune job scheduler

Change-Id: I9e4ddcc64d84a8d943128d8bd8ebf158743c5549
2016-06-01 16:38:18 +00:00
Dianne Hackborn
0e443c1320 Merge "Work on issue #28942589: Tune job scheduler" into nyc-dev
am: 438693dd6c

* commit '438693dd6cc4e3fe2ffb336d551c0d69e9546102':
  Work on issue #28942589: Tune job scheduler

Change-Id: I8264ce4204762358ccbf893e7846434eed258a22
2016-06-01 16:38:12 +00:00
Dianne Hackborn
438693dd6c Merge "Work on issue #28942589: Tune job scheduler" into nyc-dev 2016-06-01 16:27:06 +00:00
Benjamin Franz
f9d5e6a3db Add an intent extra to force master clear
Currently, if a priv-app sends ACTION_MASTER_CLEAR, whilst
DISALLOW_FACTORY_RESET is set, the factory reset is blocked. This CL
introduces a new extra for master clear that let's the priv-app bypass
the user restriction.

Bug: 28689894
Change-Id: I4bf979a3826454e977f1abff4562f85c8d0eec4a
2016-06-01 15:45:59 +01:00
Chris Banes
9d2f3d885f Fix action mode animation on recreations - framework edition am: e65b3fbb63 am: b4acd653e6
am: 63aa97a5b6

* commit '63aa97a5b6470634b939d6d6e481b6b2554049d7':
  Fix action mode animation on recreations - framework edition

Change-Id: I6ee5eef6630e1cd73cec8e8dd0f75898131632af
2016-06-01 14:06:11 +00:00
Chris Banes
63aa97a5b6 Fix action mode animation on recreations - framework edition am: e65b3fbb63
am: b4acd653e6

* commit 'b4acd653e6f554d33b838b3dd1de643d7997956d':
  Fix action mode animation on recreations - framework edition

Change-Id: I90681c1028df89dc10f7e79068b5936685bdf83c
2016-06-01 13:58:25 +00:00
Chris Banes
9269e2272b Fix action mode animation on recreations - framework edition
am: e65b3fbb63

* commit 'e65b3fbb63b4b6937fede2e4b889c0a51a881358':
  Fix action mode animation on recreations - framework edition

Change-Id: Ic990cf5fdb98e86083ccfe54f8f3e6905aa3e375
2016-06-01 13:54:01 +00:00
Chris Banes
b4acd653e6 Fix action mode animation on recreations - framework edition
am: e65b3fbb63

* commit 'e65b3fbb63b4b6937fede2e4b889c0a51a881358':
  Fix action mode animation on recreations - framework edition

Change-Id: I19274b7ede1fae09deb915807c35a478caf939ee
2016-06-01 13:53:58 +00:00
Chris Banes
e65b3fbb63 Fix action mode animation on recreations - framework edition
Currently if an action mode is started in onCreate()
it will fade in. This isn't ideal though, especially
since Activities are recreated routinely with
multi-window and resizable Activities. In that instance
we fade it in on every recreate.

This CL fixes this in both the decor and toolbar action
modes to only fade in if the decor has been laid out.

BUG: 29036694

Change-Id: Iae985efcced170a0a4229124c1c132355c2aa71e
2016-06-01 14:38:17 +01:00
Wei Wang
ac02eee133 Merge "Trigger power hints for activity launch" into nyc-mr1-dev am: 2ab4ac3835
am: 3f1fa8f432

* commit '3f1fa8f43219634c1deb8420d962b0f43c35ccb5':
  Trigger power hints for activity launch

Change-Id: I57075b28d232b61f67e89a16f48c5ac7efeea05d
2016-06-01 03:21:56 +00:00
Wei Wang
3f1fa8f432 Merge "Trigger power hints for activity launch" into nyc-mr1-dev
am: 2ab4ac3835

* commit '2ab4ac38350b51c239fe564bc89727b201036205':
  Trigger power hints for activity launch

Change-Id: I2c16d792bfa2617bb8120529f204d50fc817bab0
2016-06-01 03:14:27 +00:00
Wei Wang
2ab4ac3835 Merge "Trigger power hints for activity launch" into nyc-mr1-dev 2016-06-01 03:06:38 +00:00
fionaxu
e630f35322 trim and strip html tags for load safe label name
Bug: 28557603
Change-Id: I30b6c1d32e97c1fb71ba83c2845c310fe3b7f579
2016-05-31 18:42:18 -07:00
Andrii Kulian
d30ac73d31 Merge "Update override config to include some changes from global config" into nyc-dev am: 88be465ce5 am: ae01e27755
am: cd99c37bc2

* commit 'cd99c37bc2b742043be79c8d4e85876a1f7a15b4':
  Update override config to include some changes from global config

Change-Id: I95b69f5e21c573aa081752c914ff1f5797ad8aad
2016-06-01 01:34:52 +00:00
Wei Wang
98f03f98ac Trigger power hints for activity launch
BUG: 28220567
Change-Id: Id2a0397efd1dd02ee50d5626edaed9e60ea6de8a
2016-05-31 18:34:01 -07:00
Andrii Kulian
cd99c37bc2 Merge "Update override config to include some changes from global config" into nyc-dev am: 88be465ce5
am: ae01e27755

* commit 'ae01e27755107d437bc92b1f994932c860453453':
  Update override config to include some changes from global config

Change-Id: Ie6459b34e31ea7a5a7aff40b71db0157e2fe014f
2016-06-01 01:27:28 +00:00
Andrii Kulian
ae01e27755 Merge "Update override config to include some changes from global config" into nyc-dev
am: 88be465ce5

* commit '88be465ce572f84649e01744a7ec96b6346b3686':
  Update override config to include some changes from global config

Change-Id: I2b15d9856f87e66ae9eb1ab6c9b84f7ac3add2ce
2016-06-01 01:20:50 +00:00
Andrii Kulian
a0668c7442 Merge "Update override config to include some changes from global config" into nyc-dev
am: 88be465ce5

* commit '88be465ce572f84649e01744a7ec96b6346b3686':
  Update override config to include some changes from global config

Change-Id: I0f1f9f64bcd81321f44c48cd01537749ac4727ea
2016-06-01 01:20:39 +00:00
Dianne Hackborn
e9a988caca Work on issue #28942589: Tune job scheduler
We now have a new settings key that provides all of the existing
tuning parameters, plus some newly redone ones for dealing with
different memory levels.

Changed the minimum batching for overall jobs from 2 to 1, so
we will never get in the way of immediately scheduling jobs
when the developer asks for this.  We should now be able to rely
on the doze modes to do better batching of jobs for us when it
is really important.

Also work on issue #28981330: Excessive JobScheduler wakeup alarms.
Use a work source with scheduled alarms to blame them on the app
whose job they are being scheduled for, and add a check for whether
a job's timing constraint has been satisfied before considering it
a possible candidate for the next alarm.  (If it is satisified,
the time is in the past, so we should not schedule an alarm for it.)

Finally clean up a bunch of the dumpsys output to make it easier
to understand.

Change-Id: I06cf2c1310448f47cf386f393e9b267335fabaeb
2016-05-31 18:16:19 -07:00
Andrii Kulian
88be465ce5 Merge "Update override config to include some changes from global config" into nyc-dev 2016-06-01 01:08:37 +00:00
Roshan Pius
7bc7be2381 Merge "XmlUtils: Add missing readThisByteArrayXml method" 2016-06-01 00:14:23 +00:00
Christopher Tate
21aafa2b29 Merge "Enforce background fallback to be non-translucent" into nyc-dev am: a35724f666 am: 494529318a
am: 09c17150f9

* commit '09c17150f95dfdde2d737049dcecb3b04a160db5':
  Don't bother with WeakHashMap for direct alarm bookkeeping

Change-Id: I77e998c444e5cd92422b9e176f5c9aea8526e6ce
2016-05-31 23:25:01 +00:00
Jorim Jaggi
88958c599d Merge "Enforce background fallback to be non-translucent" into nyc-dev am: a35724f666 am: b5952d22f0
am: ecc9e7981a

* commit 'ecc9e7981a81332ad180ab08c47c97d451adf523':
  Enforce background fallback to be non-translucent

Change-Id: I6938706512c50333b2d16be7bdec4d6807227e26
2016-05-31 23:17:54 +00:00
Jorim Jaggi
09c17150f9 Merge "Enforce background fallback to be non-translucent" into nyc-dev am: a35724f666
am: 494529318a

* commit '494529318a0a8952ed5dc7bc00786f74f39b2612':
  Don't bother with WeakHashMap for direct alarm bookkeeping

Change-Id: I23fef9e69fb5aa0ec57d32e19d1fc513611018fd
2016-05-31 23:17:32 +00:00
Christopher Tate
494529318a Merge "Don\'t bother with WeakHashMap for direct alarm bookkeeping" into nyc-dev
am: cd0aa9cda8

* commit 'cd0aa9cda8e57c224b473198a345fb008fe30b5a':
  Don't bother with WeakHashMap for direct alarm bookkeeping

Change-Id: Ia86b5f27d511bb8da2bd8982ffe35d4d2906da54
2016-05-31 23:13:31 +00:00
Christopher Tate
7d45e0231e Merge "Don\'t bother with WeakHashMap for direct alarm bookkeeping" into nyc-dev
am: cd0aa9cda8

* commit 'cd0aa9cda8e57c224b473198a345fb008fe30b5a':
  Don't bother with WeakHashMap for direct alarm bookkeeping

Change-Id: I3b28a8c03cee7fe6f85540f1f679de10de09923c
2016-05-31 23:13:20 +00:00
Jorim Jaggi
ecc9e7981a Merge "Enforce background fallback to be non-translucent" into nyc-dev am: a35724f666
am: b5952d22f0

* commit 'b5952d22f098e43f97be2c6cbb3b45dddc58b81f':
  Enforce background fallback to be non-translucent

Change-Id: I6945d24fefb2ba3cec1cff21ef9226668f707536
2016-05-31 23:12:24 +00:00
Jorim Jaggi
cc8707ca9a Merge "Enforce background fallback to be non-translucent" into nyc-dev
am: a35724f666

* commit 'a35724f6667e80abc5e6b45e75d7000d3fb17267':
  Enforce background fallback to be non-translucent

Change-Id: I692f30718453e03570e1512adb3b6e9fbe787197
2016-05-31 23:02:53 +00:00
Jorim Jaggi
b5952d22f0 Merge "Enforce background fallback to be non-translucent" into nyc-dev
am: a35724f666

* commit 'a35724f6667e80abc5e6b45e75d7000d3fb17267':
  Enforce background fallback to be non-translucent

Change-Id: If68ead500309566e66230b079f71667e0d555be0
2016-05-31 23:02:23 +00:00
Chris Tate
cd0aa9cda8 Merge "Don't bother with WeakHashMap for direct alarm bookkeeping" into nyc-dev 2016-05-31 22:59:26 +00:00
Jorim Jaggi
a35724f666 Merge "Enforce background fallback to be non-translucent" into nyc-dev 2016-05-31 22:50:09 +00:00
Christopher Tate
09d7d8f674 Don't bother with WeakHashMap for direct alarm bookkeeping
Call cancel() explicitly before dropping local references to your
callback objects; they won't just quietly go away.

Bug 28987260

Change-Id: Id9da66ed86a46b4fb38127e2ddd7a7d84fd2313a
2016-05-31 15:19:47 -07:00
George Mount
51e79e4452 Merge "Better handling of confused finish transition." into nyc-dev am: 2fd9cd7cbb am: 27a0e5a632
am: cf653fa891

* commit 'cf653fa891078fe95af515a0cc8aba4e785919f0':
  Better handling of confused finish transition.

Change-Id: Iec8aa21cd416b69399e60de43e11029dcfb7f272
2016-05-31 21:46:06 +00:00
George Mount
cf653fa891 Merge "Better handling of confused finish transition." into nyc-dev am: 2fd9cd7cbb
am: 27a0e5a632

* commit '27a0e5a6323cd8712c34f6da9bacbecd6f6b51f8':
  Better handling of confused finish transition.

Change-Id: I0da6175da030570bd26117f1cd1e33a7ddf2c51d
2016-05-31 21:42:16 +00:00
George Mount
eb18c0fa69 Merge "Better handling of confused finish transition." into nyc-dev
am: 2fd9cd7cbb

* commit '2fd9cd7cbb7a792d041d0e0780b11b12b4591a90':
  Better handling of confused finish transition.

Change-Id: I0b43e01df97b98a7b646999999611c7aafbea33a
2016-05-31 21:38:07 +00:00
George Mount
27a0e5a632 Merge "Better handling of confused finish transition." into nyc-dev
am: 2fd9cd7cbb

* commit '2fd9cd7cbb7a792d041d0e0780b11b12b4591a90':
  Better handling of confused finish transition.

Change-Id: I27914d6161ab68ce236b9d15e5d07c71889edb4e
2016-05-31 21:37:51 +00:00
TreeHugger Robot
2fd9cd7cbb Merge "Better handling of confused finish transition." into nyc-dev 2016-05-31 21:31:31 +00:00