Jake Wharton
fe16dfe76d
Avoid internal method call and its branching.
...
This is a simple check that can be done locally.
Test: TextUtilsTest.java
Change-Id: I00f2a4fd087aa98ece2c3aa032e106496663b13f
2018-04-23 15:34:57 -04:00
Jorim Jaggi
99ae19d125
Merge "Remove prolonged animations" into pi-dev am: 5bdf9530a0
...
am: 92cb00c2e4
Change-Id: Ibab85ea0385f09ac332553e51b13c4638c6d6d98
2018-04-23 06:44:11 -07:00
Jorim Jaggi
92cb00c2e4
Merge "Remove prolonged animations" into pi-dev
...
am: 5bdf9530a0
Change-Id: Ie769ceea49d0e1cd877fb3fcb8d78ef08a9b635d
2018-04-23 06:18:02 -07:00
Jorim Jaggi
5bdf9530a0
Merge "Remove prolonged animations" into pi-dev
2018-04-23 12:17:37 +00:00
Jeff Sharkey
c50d08a807
Merge "Extend adoptable override to force on or off." into pi-dev am: 130a2503d8
...
am: 64a615eefe
Change-Id: Ic80dd00d179adac426daed862236b03936b60bd7
2018-04-20 17:39:45 -07:00
Andrii Kulian
98fdc42d9a
Merge "Don't require post-execution state for onActivityResult" into pi-dev am: 5007c67a70
...
am: 33fd905c37
Change-Id: Ia05f8c33ce038d76c3c1753ac58b6b82a3b6a679
2018-04-20 17:25:23 -07:00
Jeff Sharkey
64a615eefe
Merge "Extend adoptable override to force on or off." into pi-dev
...
am: 130a2503d8
Change-Id: Ic5bb21ec16f4603d87b5b659f041ee0a08b8d039
2018-04-20 17:20:16 -07:00
Andrii Kulian
33fd905c37
Merge "Don't require post-execution state for onActivityResult" into pi-dev
...
am: 5007c67a70
Change-Id: I6ea56c0e6e68afd354426194bd0d4536129abe86
2018-04-20 17:10:42 -07:00
Jeff Sharkey
130a2503d8
Merge "Extend adoptable override to force on or off." into pi-dev
2018-04-20 23:24:28 +00:00
Andrii Kulian
5007c67a70
Merge "Don't require post-execution state for onActivityResult" into pi-dev
2018-04-20 23:21:25 +00:00
Jeff Sharkey
4cdf6e58ed
Merge "Give CTS a way to force-poll network stats." into pi-dev am: 46e58e1b40
...
am: 77c7b732c4
Change-Id: I93be7a46fc345efc31e98975c65a287f2d344220
2018-04-20 14:07:19 -07:00
Julia Reynolds
4c6bb14007
Merge "GetActiveNotifications should never return null" into pi-dev am: 66dfd01292
...
am: a643f89ce1
Change-Id: I6ab090f262e819babc334a9c1a41bc1cb4920c2e
2018-04-20 13:54:52 -07:00
Jeff Sharkey
77c7b732c4
Merge "Give CTS a way to force-poll network stats." into pi-dev
...
am: 46e58e1b40
Change-Id: Id2252b803a33ddadfef71618b3b9106c93c5be2a
2018-04-20 13:51:02 -07:00
Julia Reynolds
a643f89ce1
Merge "GetActiveNotifications should never return null" into pi-dev
...
am: 66dfd01292
Change-Id: Iba293f70adda8e225d8b8c2f84465d95acbb18cf
2018-04-20 13:44:49 -07:00
TreeHugger Robot
46e58e1b40
Merge "Give CTS a way to force-poll network stats." into pi-dev
2018-04-20 20:40:32 +00:00
Julia Reynolds
66dfd01292
Merge "GetActiveNotifications should never return null" into pi-dev
2018-04-20 20:21:41 +00:00
Andrii Kulian
e55b009a3d
Don't require post-execution state for onActivityResult
...
According to the documentation, onActivityResult() should be called
immediately before onResume(). This, however, was not always the case
in previous releases and fixing this caused some app compatibility
issues.
This CL removes required post execution state for ActivityResultItem.
Bug: 77695691
Test: ActivityLifecycleTests
Change-Id: Id8c02e9b49f9758aac616e37948570722d802de8
2018-04-20 12:58:49 -07:00
Abodunrinwa Toki
85767df8cf
Merge "SmartLinkify - handle keyboard clicks" into pi-dev am: 686fab1464
...
am: f8a770a515
Change-Id: I534794c28c13fc44829427a1d4dd567fe683c6b9
2018-04-20 12:25:43 -07:00
Jeff Sharkey
901c04270f
Extend adoptable override to force on or off.
...
Virtual disks are adoptable by default, but for debugging purposes
we want to treat them as unadoptable in some cases. Add the ability
for the "sm" shell command to force on/off, or return to default.
Bug: 77849654, 74132243
Test: manual
Change-Id: Ieda317396624ca081e5dd9568795483f684f9297
2018-04-20 13:11:23 -06:00
Abodunrinwa Toki
f8a770a515
Merge "SmartLinkify - handle keyboard clicks" into pi-dev
...
am: 686fab1464
Change-Id: I90f3d9ca20c9bb5a5f3c62da061e74d8517b5864
2018-04-20 12:05:24 -07:00
Julia Reynolds
94a38b35e9
GetActiveNotifications should never return null
...
Test: runtest systemui-notification
Change-Id: I53e7a4a2a9f05318dd97ffb096658a4f8bcebc8a
Fixes: 70396956
2018-04-20 14:46:43 -04:00
TreeHugger Robot
686fab1464
Merge "SmartLinkify - handle keyboard clicks" into pi-dev
2018-04-20 18:44:02 +00:00
Jeff Sharkey
c3c8d16380
Give CTS a way to force-poll network stats.
...
Collecting network statistics is pretty heavy, which is why we're
throttling callers. However, to keep CTS running fast, we provide a
way for tests to force a poll event, instead of making them wait for
the throttle timeout.
Bug: 77908520
Test: atest cts/tests/tests/app.usage/src/android/app/usage/cts/NetworkUsageStatsTest.java
Change-Id: Ia792f0cd495023366ff8c4839df54e7da2ae8331
2018-04-20 12:18:23 -06:00
Adrian Roos
4a3d9ff120
Merge "Defer resizing invisible stacks while drag resizing" into pi-dev am: 5e12ebfffd
...
am: 03d4aeda37
Change-Id: Ic4e21bcd38e09cd237fcf149ba308bfdbf77240d
2018-04-20 08:07:53 -07:00
Adrian Roos
03d4aeda37
Merge "Defer resizing invisible stacks while drag resizing" into pi-dev
...
am: 5e12ebfffd
Change-Id: I9252974e456740921a5778bd167e115d25e0d7bc
2018-04-20 08:00:08 -07:00
Jorim Jaggi
66b48dfb9e
Remove prolonged animations
...
Didn't work anymore since the animation refactoring. Doesn't look
like we still need it, and only causing issues with stuck
animations.
Test: go/wm-smoke
Test: Dock task from recents
Change-Id: Ibb3543d15f42fc7689c3ad705aee693eba93e8b7
Fixes: 77993227
2018-04-20 16:50:25 +02:00
TreeHugger Robot
5e12ebfffd
Merge "Defer resizing invisible stacks while drag resizing" into pi-dev
2018-04-20 14:43:38 +00:00
Tomasz Wasilczyk
9c37eae3b0
Merge "Don't check program selector's type for equality." into pi-dev am: a2015451a7
...
am: 74a2955d35
Change-Id: I2bcfc30020e0ee9bdee8e38dc124c9ea49df5ceb
2018-04-20 07:11:25 -07:00
Tomasz Wasilczyk
74a2955d35
Merge "Don't check program selector's type for equality." into pi-dev
...
am: a2015451a7
Change-Id: Id2bf66e26c54a2a8cc86b408b240d6984fb5b97b
2018-04-20 07:02:48 -07:00
Tomasz Wasilczyk
a2015451a7
Merge "Don't check program selector's type for equality." into pi-dev
2018-04-20 13:49:39 +00:00
Abodunrinwa Toki
33fa382b8f
SmartLinkify - handle keyboard clicks
...
Bug: 77998709
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Change-Id: Ibb95a736248643949a7b521368374084f9f133ca
2018-04-20 14:37:23 +01:00
Adrian Roos
a6d6aab0e0
Defer resizing invisible stacks while drag resizing
...
Works around a source of jank when drag resizing in split
screen mode: instead of immediately resizing the (potentially
numerous) invisible secondary stacks, we defer that until
the user lets go of the handle.
Change-Id: I3b9faa83005fa86185d4e51b2849e3a826b7f6a9
Fixes: 78214347
Test: Open a gazillion (resizeable) tasks. Enter split screen. Drag handle, verify there is no jank
Test: atest RectTest
2018-04-20 15:09:02 +02:00
Chalard Jean
1df73dd267
Merge "Add the list of private DNS addresses to LinkProperties" into pi-dev am: f12a2130a4
...
am: 1bb54ae872
Change-Id: I6bdbef78d078d68534c8e07e9af031ce374560ef
2018-04-20 04:59:52 -07:00
Chalard Jean
1bb54ae872
Merge "Add the list of private DNS addresses to LinkProperties" into pi-dev
...
am: f12a2130a4
Change-Id: I4b739c56e658690532ae9deb0b9a3bc9b2adf8b0
2018-04-20 04:49:43 -07:00
TreeHugger Robot
f12a2130a4
Merge "Add the list of private DNS addresses to LinkProperties" into pi-dev
2018-04-20 11:23:56 +00:00
Peter Visontay
c4523fcd78
Merge "Add unit test for AppOps logic where a different op is used to control an app op."
2018-04-20 10:55:09 +00:00
Mathew Inwood
427d1cbb24
Merge "StrictMode: fix non-SDK API usage detection." into pi-dev am: c72ee1a4f2
...
am: 9e2b236462
Change-Id: I2def7ae679f683c22093349ffdab33d9009f20da
2018-04-20 01:30:42 -07:00
Mathew Inwood
9e2b236462
Merge "StrictMode: fix non-SDK API usage detection." into pi-dev
...
am: c72ee1a4f2
Change-Id: If0db894c3cb9660eb187280cda21423866387799
2018-04-20 01:20:19 -07:00
Mathew Inwood
c72ee1a4f2
Merge "StrictMode: fix non-SDK API usage detection." into pi-dev
2018-04-20 08:04:07 +00:00
Chalard Jean
9419b11458
Add the list of private DNS addresses to LinkProperties
...
Test: atest android.net.LinkPropertiesTest, also new tests pass
Bug: 73641539
Change-Id: If33a35b1354a67db09411ff098f20064797296ad
2018-04-20 16:48:43 +09:00
Jeff Sharkey
3b25e5306c
Merge "Protect usage data with OP_GET_USAGE_STATS." into pi-dev am: ddb15c471c
...
am: 37bbe98e86
Change-Id: If8cfddaf96d28b3815dd6dca6aa52a7b9bd15da6
2018-04-19 20:08:03 -07:00
Jeff Sharkey
37bbe98e86
Merge "Protect usage data with OP_GET_USAGE_STATS." into pi-dev
...
am: ddb15c471c
Change-Id: Ieccbac3a53b14f196a3ceb7924f7bb6880660c97
2018-04-19 19:55:24 -07:00
Winson Chung
c1f6a578e1
Merge "Workaround to ensure we cancel the recents animation prior to starting home" into pi-dev am: 1c0d00fac4
...
am: c39572a1bf
Change-Id: Ic2e3c3230b8e17f502b23a20053169b39b76c032
2018-04-19 19:42:10 -07:00
Jeff Sharkey
ddb15c471c
Merge "Protect usage data with OP_GET_USAGE_STATS." into pi-dev
2018-04-20 02:38:01 +00:00
TreeHugger Robot
1c75189a0a
Merge "Fix the implementation of BluetoothCodecStatus.equals()" into pi-dev
2018-04-20 02:12:09 +00:00
Winson Chung
c39572a1bf
Merge "Workaround to ensure we cancel the recents animation prior to starting home" into pi-dev
...
am: 1c0d00fac4
Change-Id: Iaf7247b5134efe7334edfa0d16a56fb8b31af392
2018-04-19 19:07:23 -07:00
Winson Chung
1c0d00fac4
Merge "Workaround to ensure we cancel the recents animation prior to starting home" into pi-dev
2018-04-20 01:54:09 +00:00
Pavlin Radoslavov
abc9b723aa
Merge "Merge "Fix the implementation of BluetoothCodecStatus.equals()" am: 3a1ca762c9 am: 493dbf789f" into pi-dev-plus-aosp
...
am: f6cd5882fa
Change-Id: Ibcd642fd8a56d6f62a1eda298c4b18db48953ab0
2018-04-19 18:53:01 -07:00
Pavlin Radoslavov
cc7c09a8bb
Merge "Fix the implementation of BluetoothCodecStatus.equals()" am: 3a1ca762c9
...
am: 493dbf789f
Change-Id: I5e10a7e35a7befe7d88cd875d7dbcc9b6a7bbb8f
2018-04-19 18:08:38 -07:00
Pavlin Radoslavov
493dbf789f
Merge "Fix the implementation of BluetoothCodecStatus.equals()"
...
am: 3a1ca762c9
Change-Id: I159c2128068021b5ca5e0a7bf3eae218de0bdf1b
2018-04-19 17:59:36 -07:00