Xiaohui Chen
0a804ff49c
Merge "ReolverActivity: try auto launching single choice" into nyc-mr2-dev
...
am: daacf547ac
Change-Id: I06ca33714f6227f8cf86ecce29e1b87df80add6b
2017-02-16 19:29:18 +00:00
TreeHugger Robot
daacf547ac
Merge "ReolverActivity: try auto launching single choice" into nyc-mr2-dev
2017-02-16 19:22:02 +00:00
Xiaohui Chen
393c8018a1
ReolverActivity: try auto launching single choice
...
We already does this on start. Now we also do the same when
the list of options changes.
Test: locally on device
Bug: 34470067
Change-Id: Ib184d67b532c5afd584fb9cd52daac69a7c50d0a
2017-02-15 09:48:38 -08:00
Michael Kwan
e7c91f721c
Merge "Fix incorrect values for VelocityTracker in SwipeDismissLayout." into cw-f-dev am: c61cd1a635
...
am: 83b072c48c
Change-Id: I77b0a0a30e60658dbcf3ab0806bd0227939b8ba8
2017-02-14 22:57:48 +00:00
Michael Kwan
83b072c48c
Merge "Fix incorrect values for VelocityTracker in SwipeDismissLayout." into cw-f-dev
...
am: c61cd1a635
Change-Id: Ib1cff2ace082862c2a1c250170453b989f6697df
2017-02-14 22:53:41 +00:00
TreeHugger Robot
c61cd1a635
Merge "Fix incorrect values for VelocityTracker in SwipeDismissLayout." into cw-f-dev
2017-02-14 22:47:00 +00:00
Michael Kwan
390120b925
Fix incorrect values for VelocityTracker in SwipeDismissLayout.
...
The offset used to adjust MotionEvents for swipe velocity tracking
was incorrect, and caused issues when touch points where close
together. Fixed the offset used, which resolved swiping issues.
Bug: 34673753
Change-Id: Ide6060b511510bcf299e3db778e6ffc6afda5e19
2017-02-14 12:04:38 -08:00
Michael Kwan
49fa0405b1
Merge "Only modify window layout params when necessary." into cw-f-dev am: 9fbd981f23
...
am: a26e371c9b
Change-Id: I72bf9b5fa5dfaaa7573115ed5b6cca23a0be05f4
2017-02-14 01:00:23 +00:00
Michael Kwan
a26e371c9b
Merge "Only modify window layout params when necessary." into cw-f-dev
...
am: 9fbd981f23
Change-Id: I36aa427a3023dcba2a29eccfc0b7aac43748e534
2017-02-14 00:55:32 +00:00
Michael Kwan
d56887f8fa
Merge "Only modify window layout params when necessary." into cw-f-dev
...
am: 9fbd981f23
Change-Id: I14316841b80bdb25755e174528ef4bb271d3e005
2017-02-14 00:55:29 +00:00
Michael Kwan
9fbd981f23
Merge "Only modify window layout params when necessary." into cw-f-dev
2017-02-14 00:48:12 +00:00
Hakan Seyalioglu
aeb1f1241e
DO NOT MERGE - Check exported status in chooser
...
am: 7bae18232e
Change-Id: Id29e65bd455c704738618f1dacfcad53b8d0b773
2017-02-14 00:41:55 +00:00
Hakan Seyalioglu
7bae18232e
DO NOT MERGE - Check exported status in chooser
...
Relevant change in master is ag/1844170
bug: 34147053
Change-Id: Ic9d9d65c66325904c95ab3966bdcc16e7668278b
(cherry picked from commit e3286c3145 )
2017-02-13 23:12:28 +00:00
Michael Kwan
134ad6ef3f
Only modify window layout params when necessary.
...
Cancelling swipe-to-dismiss will trigger a check to ensure the window
is reset to its original state. Ensure that the reset is actually
required before setting the new layout attributes.
Bug: 34816397
Change-Id: Idf26ce7c8b63dc44a76effefcb32eb8d8665f605
2017-02-13 13:20:09 -08:00
Michael Kwan
6853de9729
Add tweaks to smooth out swipe to dismiss. am: 5758a9a94c
...
am: 2155f773db
Change-Id: Iab07b13f24b7ca32b6bbb6faf788a71fccb969ec
2017-02-13 19:38:32 +00:00
Michael Kwan
2155f773db
Add tweaks to smooth out swipe to dismiss.
...
am: 5758a9a94c
Change-Id: I64b9e88a7efb164b0e0160f8b25f770fb986efd6
2017-02-13 19:32:35 +00:00
Michael Kwan
ddc6e0b7ae
Add tweaks to smooth out swipe to dismiss.
...
am: 5758a9a94c
Change-Id: Id10a31504aa5a579e8670e7a23d2d99a990ed6e5
2017-02-13 19:32:29 +00:00
Michael Kwan
5758a9a94c
Add tweaks to smooth out swipe to dismiss.
...
Bug: 34673753
Change-Id: I5a9d420c70d124fc764803d505291e66818b1aa2
(cherry picked from commit 2e11adaac3 )
2017-02-13 06:17:06 +00:00
Jesse Hall
516274249f
resolve merge conflicts of b3a1417663 to nyc-mr2-dev-plus-aosp
...
Test: mmma frameworks/base
Change-Id: I2e1e04f55d05fd8aa33da304bdb951713b37793c
2017-02-10 17:15:15 -08:00
Jesse Hall
b3a1417663
Zygote: Restore GL preload
...
Preloading GLES drivers in Zygote was removed previously since it is
incompatible with updatable drivers. That caused some app startup
latency and system memory use regressions. This change re-adds GLES
driver preloading, but only on devices that don't support driver
updates.
Bug: 34611670
Bug: 35052548
Test: boot angler, systrace of Calculator app startup
Change-Id: Ibdc6b3c0ba4473574722641d4bfad4b375f908a3
(cherry picked from commit ba0370eef3 )
2017-02-10 12:59:10 -08:00
Andreas Gampe
c28592da33
Merge "Framework: Clean up RuntimeInit/ZygoteInit/WrapperInit" am: 851afe56b8 am: 0e01cae667
...
am: 74acde1bc5
Change-Id: I40d67fcde4d9263d5c75d5c3f782a860dcff93f8
2017-02-10 01:03:15 +00:00
Andreas Gampe
74acde1bc5
Merge "Framework: Clean up RuntimeInit/ZygoteInit/WrapperInit" am: 851afe56b8
...
am: 0e01cae667
Change-Id: Ifaa7595efaef554a47e05e030ccaf16a53a3bfce
2017-02-10 00:58:42 +00:00
Treehugger Robot
851afe56b8
Merge "Framework: Clean up RuntimeInit/ZygoteInit/WrapperInit"
2017-02-10 00:45:56 +00:00
Andreas Gampe
4e66db8d0c
Framework: Clean up RuntimeInit/ZygoteInit/WrapperInit
...
Move methods where they belong.
Test: m
Test: Device boots
Merged-In: I805c6493078e960ff5b70d84dd93d2da6c7aa797
Change-Id: I805c6493078e960ff5b70d84dd93d2da6c7aa797
2017-02-09 13:16:17 -08:00
Paul Duffin
8faed45024
Merge "Partial Revert "Replace com.android.internal.util.Predicate with java.util.function.Predicate"" am: 621ebe692f am: a2c92b0b88
...
am: c1a93884dc
Change-Id: Icce543cd86f83bff8c2e80bf7ef492d22c9cf2dc
2017-02-09 19:37:26 +00:00
Paul Duffin
c1a93884dc
Merge "Partial Revert "Replace com.android.internal.util.Predicate with java.util.function.Predicate"" am: 621ebe692f
...
am: a2c92b0b88
Change-Id: I605588603280ff0b4ebc1088c6c1f1c933c1e657
2017-02-09 19:32:58 +00:00
Paul Duffin
57e490cf8c
Partial Revert "Replace com.android.internal.util.Predicate with java.util.function.Predicate"
...
This partially reverts commit 3e5fbca0c5 .
Bug: 35187548
Bug: 30188076
Bug: 35089332
Test: make checkbuild
Change-Id: I7ab4279aab604e3d56003b0a59867948aebabd28
2017-02-09 14:52:43 +00:00
Paul Duffin
c02f6bb64b
Merge "Replace com.android.internal.util.Predicate with java.util.function.Predicate" am: 78a20be77a am: 9e99b9ee45
...
am: 9250814fd2
Change-Id: Ifd924bdb62102657bf0c6d4b07ab919cf0f96c0c
2017-02-08 20:18:34 +00:00
Paul Duffin
9250814fd2
Merge "Replace com.android.internal.util.Predicate with java.util.function.Predicate" am: 78a20be77a
...
am: 9e99b9ee45
Change-Id: I289950cff0cdc6b5ad301936c7b55eadee5fd0f8
2017-02-08 18:30:17 +00:00
Paul Duffin
78a20be77a
Merge "Replace com.android.internal.util.Predicate with java.util.function.Predicate"
2017-02-08 18:06:08 +00:00
Paul Duffin
d0a937e84b
Merge "Fix problem with JavaDoc" am: 8f33fcdc4b am: 4929aafc1d
...
am: 290274df0d
Change-Id: I4e9ef88d6aa6c69a35b6b995ebf0b90214aef79d
2017-02-08 11:39:15 +00:00
Paul Duffin
290274df0d
Merge "Fix problem with JavaDoc" am: 8f33fcdc4b
...
am: 4929aafc1d
Change-Id: I08c9f20c34a2952105854d107b442884dba220b1
2017-02-08 11:35:19 +00:00
Paul Duffin
b5c09b5487
Fix problem with JavaDoc
...
Test: make checkbuild
Change-Id: Ia321e0a57ff63aa62adee16d611c063a22807176
2017-02-08 09:16:18 +00:00
Paul Duffin
3e5fbca0c5
Replace com.android.internal.util.Predicate with java.util.function.Predicate
...
Bug: 35089332
Bug: 30188076
Test: make checkbuild
Merged-In: I0a5b4bf520fc39b59d8d790b01e9cff0d54e6d21
Change-Id: I58e4e35e7b7315033d893748f7c79e1ba6732f39
2017-02-07 16:57:54 +00:00
Ying Wai (Daniel) Fan
df6a737108
Prevent division-by-zero error when calculating battery capacity. am: 415f8b32e8
...
am: 63f3dbae3c
Change-Id: I1c97aa2e4c0bbc84c547e4ce3ff98b77c5bba3f4
2017-02-06 23:02:08 +00:00
Ying Wai (Daniel) Fan
b87f8900ce
Prevent division-by-zero error when calculating battery capacity.
...
am: 415f8b32e8
Change-Id: Ie58c329fa0814111291922b9a669ca181d4a487f
2017-02-06 23:00:35 +00:00
Ying Wai (Daniel) Fan
63f3dbae3c
Prevent division-by-zero error when calculating battery capacity.
...
am: 415f8b32e8
Change-Id: I1337db6391a9511df52560e8edb8a09260e27c5f
2017-02-06 22:57:23 +00:00
Ying Wai (Daniel) Fan
415f8b32e8
Prevent division-by-zero error when calculating battery capacity.
...
Bug: 34255953
Change-Id: Ie072cd5dc26faf17e8ab46ea0795750396f087c2
Fixes: 34255953
Test: formula change CL. No existing unit tests found.
2017-02-06 18:20:40 +00:00
Hakan Seyalioglu
531def93f0
DO NOT MERGE - Check exported status in chooser
...
am: e3286c3145
Change-Id: I55a6e9ed942a4542dcdf497e297654b666d88fb0
2017-02-02 20:16:23 +00:00
TreeHugger Robot
a5a296e661
Merge "DO NOT MERGE - Check exported status in chooser" into nyc-mr2-dev
2017-02-02 20:10:52 +00:00
Paul Lawrence
fde0a41065
Install seccomp into zygote not init am: ef85477470 am: 521d25294b
...
am: e6e8c7a1dd
Change-Id: I97d2843a2c2940b558f216cf550891a80963be54
2017-02-02 18:37:22 +00:00
Paul Lawrence
e6e8c7a1dd
Install seccomp into zygote not init am: ef85477470
...
am: 521d25294b
Change-Id: I7c2c84a5bd67490070777d11d7f930c5dba90cbe
2017-02-02 18:30:49 +00:00
Hakan Seyalioglu
e3286c3145
DO NOT MERGE - Check exported status in chooser
...
Relevant change in master is ag/1844170
bug: 34147053
Change-Id: Ic9d9d65c66325904c95ab3966bdcc16e7668278b
2017-02-02 10:28:33 -08:00
Paul Lawrence
ef85477470
Install seccomp into zygote not init
...
Bug: 34710876
Test: Boots, correct size filter installed, blocks unallowed calls
Change-Id: I3e66e8724ace37f7d30451b98a5e574766252ea0
2017-02-02 17:45:11 +00:00
Ying Wai (Daniel) Fan
c95ecb5ed8
Correct the formula of battery capacity estimation. am: c800ddc824
...
am: ac655b5a7c
Change-Id: Ifa298b57e62e4238740b177a7e4a346671d56987
2017-01-31 20:57:29 +00:00
Ying Wai (Daniel) Fan
d4d476943f
Correct the formula of battery capacity estimation.
...
am: c800ddc824
Change-Id: Idf0396fdac7e0cedbac39da98b2fe97e26dce64e
2017-01-31 20:53:27 +00:00
Ying Wai (Daniel) Fan
ac655b5a7c
Correct the formula of battery capacity estimation.
...
am: c800ddc824
Change-Id: Ia0a16cd15fc71f6ff2af89d7ecbb7a319b5ece92
2017-01-31 20:53:26 +00:00
Ying Wai (Daniel) Fan
c800ddc824
Correct the formula of battery capacity estimation.
...
Instead of
(current charge) * (current battery level percentage)
the formula should be
(current charge) / (current battery level percentage)
to estimate the charge at 100% battery level.
Bug: 34255953
Fixes: 34255953
Test: formula change CL. No existing unit tests found.
Change-Id: I56ef7af3fb097a3082e0ef24329f522d2a0229cc
(cherry picked from commit 9238b6124c )
2017-01-30 19:24:43 +00:00
Nicolas Geoffray
96ea5ccef6
Merge "Introduce DEBUG_JAVA_DEBUGGABLE." am: 4df43ad959 am: 27ffe754a4
...
am: 1852c380e0
Change-Id: I8fcc8b0329269a0b21057f973b3a7dc5d8d80284
2017-01-30 15:26:29 +00:00
Nicolas Geoffray
1852c380e0
Merge "Introduce DEBUG_JAVA_DEBUGGABLE." am: 4df43ad959
...
am: 27ffe754a4
Change-Id: I24d3eed3d6172fdff79a74945ecadea7b0d76590
2017-01-30 15:21:17 +00:00