Commit Graph

65136 Commits

Author SHA1 Message Date
Tobias Thierer
ef773e84c6 frameworks/base: Avoid Long object allocations in Long.valueOf() am: 28532d0026
am: 9031ab18fd

* commit '9031ab18fdb0187016998d0e192df12160265b9c':
  frameworks/base: Avoid Long object allocations in Long.valueOf()

Change-Id: I87089a855f76ccbdb086185000f13e803023e67a
2016-04-22 12:58:47 +00:00
Tobias Thierer
28532d0026 frameworks/base: Avoid Long object allocations in Long.valueOf()
Replace usages where the Long is immediately unboxed or thrown
away with Long.parseLong().
In TaskRecord.java, I also fixed up similar uses of
{Boolean,Integer}.valueOf()

Tested: built frameworks/base successfully.

Bug: 28289401
(cherry picked from commit 4bd017d6a5)

Change-Id: Icfa4708946e774f4a1bacf185c3fd11a7087017e
2016-04-22 13:36:53 +01:00
Hugo Benichi
02a28abfd5 Merge "Split network monitoring and portal probe events" into nyc-dev am: 784c93e372 am: cbb0d77bcd
am: 03c0efa3a4

* commit '03c0efa3a4256b19871d6f8d08c4bff5e89aa8bd':
  Split network monitoring and portal probe events

Change-Id: I4cd3eeb25f63fe3731883ec2cc4fbfc3602bfba8
2016-04-22 09:55:38 +00:00
Rubin Xu
7b2d5714bb Merge "Remove MANAGED_PROFILE_AVAILABILITY_CHANGED broadcast" into nyc-dev am: b40667eccd am: 67c7ac2890
am: dfb47299f8

* commit 'dfb47299f8dfffe4d9c8c57af2d83a64e5ed347c':
  Remove MANAGED_PROFILE_AVAILABILITY_CHANGED broadcast

Change-Id: I9154ccdf9b9b7676cd880fa9d956bb246a2cac3c
2016-04-22 09:55:35 +00:00
Hugo Benichi
03c0efa3a4 Merge "Split network monitoring and portal probe events" into nyc-dev am: 784c93e372
am: cbb0d77bcd

* commit 'cbb0d77bcdacc50f130eeb93f9ef2285c6dfcaf9':
  Split network monitoring and portal probe events

Change-Id: I8c1169d61ca526449beb4509005ceae4b3dca51e
2016-04-22 09:53:19 +00:00
Rubin Xu
dfb47299f8 Merge "Remove MANAGED_PROFILE_AVAILABILITY_CHANGED broadcast" into nyc-dev am: b40667eccd
am: 67c7ac2890

* commit '67c7ac289033ac0ba6f55d15e87898aec66175f3':
  Remove MANAGED_PROFILE_AVAILABILITY_CHANGED broadcast

Change-Id: I93c570a6b97910eb759429013393a5b5c50a41b5
2016-04-22 09:53:15 +00:00
Hugo Benichi
06de560179 Merge "Split network monitoring and portal probe events" into nyc-dev
am: 784c93e372

* commit '784c93e372ff8ba8ca59499a8e35d83e5bd71c1a':
  Split network monitoring and portal probe events

Change-Id: I1e9208a9c8cd178ec31edf1755cc82db980b9071
2016-04-22 09:51:01 +00:00
Rubin Xu
66bbd99c66 Merge "Remove MANAGED_PROFILE_AVAILABILITY_CHANGED broadcast" into nyc-dev
am: b40667eccd

* commit 'b40667eccdd797d08560c33e696625509f90d52b':
  Remove MANAGED_PROFILE_AVAILABILITY_CHANGED broadcast

Change-Id: I3113934145e7bdf044e731e75295782d1c535f14
2016-04-22 09:50:58 +00:00
TreeHugger Robot
784c93e372 Merge "Split network monitoring and portal probe events" into nyc-dev 2016-04-22 09:41:06 +00:00
Rubin Xu
b40667eccd Merge "Remove MANAGED_PROFILE_AVAILABILITY_CHANGED broadcast" into nyc-dev 2016-04-22 09:25:03 +00:00
Hugo Benichi
cc92c6e877 Split network monitoring and portal probe events
This patches changes how captive portal tests and network lifecycle
events are logged as connectivity events:
  - it splits NetworkMonitorEvent into two event classes:
      - ValidationProbeEvent for logging individual probe events.
      - NetworkEvent for logging network connection, validation,
        lingering, and disconnection.
  - it removes the redundant CaptivePortalCheckResultEvent class.
    The information logged in CaptivePortalCheckResultEvent was already
    logged by NetworkMonitorEvent, but missing the evaluation durations.
    It is now logged by ValidationProbeEvent.
  - it removes the CaptivePortalStateChangeEvent class, which is now
    redundant with NetworkEvent, but missing evaluation durations.

In addition, it adds event logging when ConnectivityService puts a
network into lingering or removes a network from lingering.

Bug: 28204408
Change-Id: I8f9752e4d36175ecfcbd1545a01a41bad6e06ea4
2016-04-22 17:08:56 +09:00
Selim Cinek
b0f63057fc Merge "Fixed a bug where notification header could become empty" into nyc-dev am: 57e4a67be1 am: 0aef73a252
am: c93f4b6707

* commit 'c93f4b67076b683c463ab949d6087b41303bc06c':
  Fixed a bug where notification header could become empty

Change-Id: Ifb5e38f663973c62211249edcccdd0d72c754f1c
2016-04-22 05:46:40 +00:00
Selim Cinek
0aef73a252 Merge "Fixed a bug where notification header could become empty" into nyc-dev
am: 57e4a67be1

* commit '57e4a67be13eede636608f789d1b88d0889683ec':
  Fixed a bug where notification header could become empty

Change-Id: I5c22f22e67ed60ae441adccf852fc3850c400ad5
2016-04-22 05:42:07 +00:00
Selim Cinek
57e4a67be1 Merge "Fixed a bug where notification header could become empty" into nyc-dev 2016-04-22 05:33:33 +00:00
Selim Cinek
65080a64df Merge "Changed the name of chronometer countdown" into nyc-dev am: 8f32cd4306 am: ba26bf8a47
am: 5e2a3e5872

* commit '5e2a3e5872e8439ad836b5b281e6393ecefb50f4':
  Changed the name of chronometer countdown

Change-Id: Ibce68e45c56e90ee66b7a7d2fbfc0350178885fa
2016-04-22 03:47:25 +00:00
Selim Cinek
5e2a3e5872 Merge "Changed the name of chronometer countdown" into nyc-dev am: 8f32cd4306
am: ba26bf8a47

* commit 'ba26bf8a471275520c8a6d97dccd19e6e6993388':
  Changed the name of chronometer countdown

Change-Id: I8c4970cfd2f0f2c8c56647737e1993de65dc1ec7
2016-04-22 03:45:09 +00:00
Selim Cinek
540aa3c8a0 Merge "Changed the name of chronometer countdown" into nyc-dev
am: 8f32cd4306

* commit '8f32cd4306a201c2167c20fc636fe613f1fabd4c':
  Changed the name of chronometer countdown

Change-Id: I2e7040b43c2f46dfc8159d98862e865343df221d
2016-04-22 03:40:33 +00:00
Selim Cinek
8f32cd4306 Merge "Changed the name of chronometer countdown" into nyc-dev 2016-04-22 03:21:52 +00:00
Christopher Tate
055e661706 Merge "Don\'t worry about an extra weak indirection with callback alarms" into nyc-dev am: 0a7ec886c3 am: 3e9f59e862
am: 1fb59e587f

* commit '1fb59e587f95e0235ec7c0827a1d2e163bc8bd44':
  Don't worry about an extra weak indirection with callback alarms

Change-Id: I0e0d4b03f2a15b12e9bcfc6906e949137e3a380c
2016-04-22 00:55:48 +00:00
Christopher Tate
3e9f59e862 Merge "Don\'t worry about an extra weak indirection with callback alarms" into nyc-dev
am: 0a7ec886c3

* commit '0a7ec886c35107c1f8d2d1ff3977ac5dd91fddd1':
  Don't worry about an extra weak indirection with callback alarms

Change-Id: Ifd44a119263b68ff6b67679931c579dcef622d0e
2016-04-22 00:50:56 +00:00
Chris Tate
0a7ec886c3 Merge "Don't worry about an extra weak indirection with callback alarms" into nyc-dev 2016-04-22 00:40:44 +00:00
Selim Cinek
2490b38795 Merge "Switched the notification time to relative time" into nyc-dev am: 037235d83e am: 832775b7f3
am: 22ac656218

* commit '22ac65621885412c1e90594644b98281f36b64e7':
  Switched the notification time to relative time

Change-Id: Ib4a88c9e7b47bc5f9c586cc49a6eb97ad98fe642
2016-04-22 00:23:54 +00:00
Selim Cinek
832775b7f3 Merge "Switched the notification time to relative time" into nyc-dev
am: 037235d83e

* commit '037235d83edcc78aab8798a0b221b6f14d9e15f3':
  Switched the notification time to relative time

Change-Id: I599b7e0c7e4576e04f9409b464fc7b9a3b96c72c
2016-04-22 00:12:16 +00:00
TreeHugger Robot
037235d83e Merge "Switched the notification time to relative time" into nyc-dev 2016-04-21 23:47:23 +00:00
Adam Powell
3cddcd63d0 Merge "Merge "Move child FragmentManager shutdown for retained fragments" into nyc-dev am: ee4ee262c6 am: e362a65921" into nyc-mr1-dev-plus-aosp
am: 47074ca3ce

* commit '47074ca3cee75fa176055f884faf51b29301d191':
  Move child FragmentManager shutdown for retained fragments

Change-Id: I723dbab01c5fbb93d4d08382e5cdfbb31b4ac86e
2016-04-21 23:35:06 +00:00
John Reck
be31f33405 Merge "Fix flag value collision" into nyc-dev am: e5cebf7aaa am: bf4e2f742c
am: eaec808ac5

* commit 'eaec808ac5a3cfc82b3d954f00949760b85986ac':
  Fix flag value collision

Change-Id: Ia999f06d58d128e3ab01109ba9a7237957ce4321
2016-04-21 23:34:58 +00:00
Adam Powell
92145a1669 Merge "Move child FragmentManager shutdown for retained fragments" into nyc-dev am: ee4ee262c6
am: e362a65921

* commit 'e362a6592134c5684381028f3fdccee6c8b3418a':
  Move child FragmentManager shutdown for retained fragments

Change-Id: I49d915efafe438c62ae3d29c4826799494d7e4cc
2016-04-21 23:32:35 +00:00
Tim Murray
eaec808ac5 Merge "Fix flag value collision" into nyc-dev am: e5cebf7aaa
am: bf4e2f742c

* commit 'bf4e2f742c81c136e4f4a7019026a09dce8a3d98':
  Fix flag value collision

Change-Id: I45d049b899c2171957f8c005267928c07422a411
2016-04-21 23:32:32 +00:00
Adam Powell
bc27c869b1 Merge "Move child FragmentManager shutdown for retained fragments" into nyc-dev
am: ee4ee262c6

* commit 'ee4ee262c674cf0a20cf294ecfe4b8736cf6c983':
  Move child FragmentManager shutdown for retained fragments

Change-Id: I4e946a45c375c6af680679fc1415f9ff0ff0f5d1
2016-04-21 23:30:14 +00:00
John Reck
59311fb7c9 Merge "Fix flag value collision" into nyc-dev
am: e5cebf7aaa

* commit 'e5cebf7aaa1a1eaa16bbb8b039a572e19e0a5542':
  Fix flag value collision

Change-Id: I7efb08917bbab1c3594b23fd256ba6fa2e68ba6e
2016-04-21 23:30:10 +00:00
Adam Powell
ee4ee262c6 Merge "Move child FragmentManager shutdown for retained fragments" into nyc-dev 2016-04-21 23:05:03 +00:00
Tim Murray
e5cebf7aaa Merge "Fix flag value collision" into nyc-dev 2016-04-21 22:59:42 +00:00
John Reck
60e885f672 Fix flag value collision
Bug: 28314544
Change-Id: If73c1e8fd0e7b313bccbeffa172bdc3ab9496a43
2016-04-21 15:40:45 -07:00
Selim Cinek
b85f36fd48 Fixed a bug where notification header could become empty
Also fixed a few more issues with the header util that could
lead to wrong states.

Change-Id: I95c3479f5d9e5221ee9e91120271e7957b887607
Fixes: 28295743
2016-04-21 15:07:10 -07:00
Selim Cinek
c3b752e712 Changed the name of chronometer countdown
Change-Id: Ie0339205b26f2dff40e0c19760750a0ce6aaf7da
Fixes: 28295825
2016-04-21 15:07:08 -07:00
Selim Cinek
36d570863a Switched the notification time to relative time
The time is now displayed in a relative manner instead
of absolute.

Change-Id: Idcc4411ed07991b6e176c4890a0d804394d8598a
Fixes: 27435284
2016-04-21 15:07:06 -07:00
Christopher Tate
d0cca79f3c Don't worry about an extra weak indirection with callback alarms
Bug 27995384

Change-Id: Ie9cf3e05dca4af7085b479fb65d4cf45ee0239ba
2016-04-21 15:05:34 -07:00
Vladislav Kaznacheev
4465add3e1 Merge "Rename DropPermissions to DragAndDropPermissions" into nyc-dev am: 729c640cc8 am: 45b1e14468
am: 0ee7fecd43

* commit '0ee7fecd437b4ba4676985e072c940a819d46114':
  Rename DropPermissions to DragAndDropPermissions

Change-Id: Id978e6f65b915955d1caff4825d89373f248d168
2016-04-21 21:48:10 +00:00
Hyunyoung Song
18956a3d6f Merge "Fix broken build due to @RemotableViewMethod" into nyc-dev am: 44157a4abf am: 84e85f2e56
am: 035b1d1c27

* commit '035b1d1c27a85ccb83c425e0e76458ee5c9db42c':
  Fix broken build due to @RemotableViewMethod

Change-Id: If70a4a63991756b7d8bec8236be09caa7705882e
2016-04-21 21:48:07 +00:00
Vladislav Kaznacheev
45b1e14468 Merge "Rename DropPermissions to DragAndDropPermissions" into nyc-dev
am: 729c640cc8

* commit '729c640cc887da9fe7a1b57121167a7bf83fee97':
  Rename DropPermissions to DragAndDropPermissions

Change-Id: I4a43cc10586d548befffa182d89382071ba412e7
2016-04-21 21:43:08 +00:00
Hyunyoung Song
84e85f2e56 Merge "Fix broken build due to @RemotableViewMethod" into nyc-dev
am: 44157a4abf

* commit '44157a4abf36250f259eca4cdaa346be15d47738':
  Fix broken build due to @RemotableViewMethod

Change-Id: Iad3e7a73952046d00e533ddb0ccabe28d3d646c6
2016-04-21 21:43:04 +00:00
Vladislav Kaznacheev
729c640cc8 Merge "Rename DropPermissions to DragAndDropPermissions" into nyc-dev 2016-04-21 21:34:26 +00:00
Hyunyoung Song
44157a4abf Merge "Fix broken build due to @RemotableViewMethod" into nyc-dev 2016-04-21 21:32:38 +00:00
Alan Viverette
ed276c145c Merge "API review feedback for ProgressBar" into nyc-dev am: 5500bb1d6d am: c1a3af4546
am: 06f931e8ea

* commit '06f931e8eae92cbfb24983502d9cdf41f1284dad':
  API review feedback for ProgressBar

Change-Id: I8a38db908a3b01b33787d4f9e2c6483b3c325ef6
2016-04-21 21:31:35 +00:00
Alan Viverette
af16330e37 Merge "Don\'t overwrite vertical and horizontal offsets unless explicit" into nyc-dev am: e84393674d am: d1fb914324
am: 0a80cd5cc0

* commit '0a80cd5cc075e4b4bbd8a3557234414b08bf21a7':
  Don't overwrite vertical and horizontal offsets unless explicit

Change-Id: Icc50140af2be266f86586b3b78f1c08a5793030d
2016-04-21 21:31:31 +00:00
Alan Viverette
06f931e8ea Merge "API review feedback for ProgressBar" into nyc-dev am: 5500bb1d6d
am: c1a3af4546

* commit 'c1a3af4546782846ef94e4ffd960133107707a88':
  API review feedback for ProgressBar

Change-Id: I0bdf04c9e8a276479976d8647d208a7d95a4f506
2016-04-21 21:29:22 +00:00
Alan Viverette
0a80cd5cc0 Merge "Don\'t overwrite vertical and horizontal offsets unless explicit" into nyc-dev am: e84393674d
am: d1fb914324

* commit 'd1fb9143244dcb46b28a0edbae88f8f5815d31bf':
  Don't overwrite vertical and horizontal offsets unless explicit

Change-Id: I0eca2b999be91c6c38df392ef62a4177ce20069f
2016-04-21 21:29:18 +00:00
Alan Viverette
c27d18d681 Merge "API review feedback for ProgressBar" into nyc-dev
am: 5500bb1d6d

* commit '5500bb1d6d5d5c49f7bb5d81b48a707f1ade75ab':
  API review feedback for ProgressBar

Change-Id: If6e1d8d9211b86030d8a678b6030df4cc50c9e77
2016-04-21 21:27:06 +00:00
Alan Viverette
37ab66ab37 Merge "Don\'t overwrite vertical and horizontal offsets unless explicit" into nyc-dev
am: e84393674d

* commit 'e84393674da0f5ecce2ee1074fc79c856f549623':
  Don't overwrite vertical and horizontal offsets unless explicit

Change-Id: I9cd87f63c07748ba4d53b1e8326900c1efeb04ee
2016-04-21 21:27:03 +00:00
Hyunyoung Song
3a93f0ff37 Fix broken build due to @RemotableViewMethod
Change-Id: I63c6cb4fa68df114220efb2f263115e773e25f5d
2016-04-21 14:26:54 -07:00