am: 57b8a73d0e -s ours
* commit '57b8a73d0eb554eff12f6f6bc8d85cbc81897f0c':
ZygoteInit: remove extra copy of method DO NOT MERGE ANYWHERE
Change-Id: Ibb39e97681e808220d723c0b14aa24ac9f53c90c
The underlying implementation needs to be completely rethought. If a
process crashed while you were in pointer capture mode, you were
pretty much stuck in it. If the mouse happened to move outside of
your bounds right before you called the API, you'd never actually get
an event (whatever it was hovering over would). There's no easy way
for the system to tell you when you enter or exit this mode because
it doesn't actually track who the current request is from.
These are all solvable, but not in the N time frame. Maybe next time.
Bug: 26830970
Change-Id: I03efd63c499b86dc278491ca3284566c1965581f
The method warmUpJcaProviders arrived here from both nyc-dev
and aosp/master, removing duplication.
Change-Id: I2d91ee38fe93f600bec89651416e84ab83ef9d4a
- Regerssion introduced ag/1039265. We still need to resume the
starting activity in a task with an overlay activity is the starting
activity is the overlay activity. Otherwise the activity below it
might not be moved to the paused state.
- Also, we don't want to clear starting window for activities that
aren't behind fullscreen activities as we need to display their
starting window until they are done initializing.
Bug: 28808506
Bug: 28751186
Change-Id: I9a1a5feecea2ed3592a4064fca80e240a3bce387
Netd now provides an option to flush all uids for a given firewall
chain. Using this option is particularly useful when setting the
fw_standby chain, since over time the device will have dozens of idle
apps.
For example, in a Nexus 5X with 45 idle apps, setFirewallUidRules() at
boot was taking 1044ms, and after this change it dropped to just 32ms.
BUG: 26675191
Change-Id: I7016ba646b872f80d0b27a56b867c0b6080d2516
am: fc66ec971c
* commit 'fc66ec971cf67773bc99553881c480db26221165':
Introduce system API to get source of user restriction
Change-Id: Ie80d7671efcb1c7d00ab32d4762dd795c43b9281
am: 07e232371f
* commit '07e232371f5249de1c8fe4d8ac277b22b646576c':
Introduce system API to get source of user restriction
Change-Id: Iaec13f6b56a138b67a066c9eb1c234a7a653c4bd
am: 690c2ea117
* commit '690c2ea117f90b7759ac280a1c84f5966b1e7938':
Introduce system API to get source of user restriction
Change-Id: Iec3a08471bc56a3aec1aff43b3c7361931c13539
am: 690c2ea117
* commit '690c2ea117f90b7759ac280a1c84f5966b1e7938':
Introduce system API to get source of user restriction
Change-Id: Iab98753f85774d741c5126395d56af194c8b0ca8
This makes the time spent in the first call of an app to
SSLSocketFactory.getDefault() drop from ~240 ms to ~50 ms. In M
it was around ~6ms. This is due to the fact that, while instantiating
the default factory, all providers are initialized.
In order to obtain the timings above, I created an app calling
SSLSocketFactory.getDefault in onCreate and timed it
with System.currentTimeMillis() .
(cherry picked from commit 6cb7b1c476)
Bug: 28545496
Change-Id: Ic5aab3ece609d9fef06fee4ccb83d8371af075b2
This stops Settings from telling the user detailed information, and
doesn't really protect anything secret -- privileged apps can already
tell that there's an active VPN by looking at network info.
Change-Id: I9c2a3cab6dff1b62e94a9e0735dccde226fd26a3
Fix: 28624328
This makes the time spent in the first call of an app to
SSLSocketFactory.getDefault() drop from ~240 ms to ~50 ms. In M
it was around ~6ms. This is due to the fact that, while instantiating
the default factory, all providers are initialized.
In order to obtain the timings above, I created an app calling
SSLSocketFactory.getDefault in onCreate and timed it
with System.currentTimeMillis() .
Bug: 28545496
Change-Id: I650d4b0435e67e481a41e02b0b538ce5cc993fa3
am: 36eb3771c1
* commit '36eb3771c14685ce8e6e390ea73f08cf55275a6f':
Skip 'network may be monitored' if dying or locked
Change-Id: Ie2f98d0592537439a2a16e0647bff34a3880998f
am: 557b68a5c2
* commit '557b68a5c2728c16bb36b344d86a4b89f976ab9d':
Skip 'network may be monitored' if dying or locked
Change-Id: Id3b15eb4c67df5a2a2b37afef800467d3064b1ad
am: bc73347152
* commit 'bc73347152a3562a7f957a07433d64912f4acd83':
Skip 'network may be monitored' if dying or locked
Change-Id: I290dd15bf5ec66fb0ec54171809f20c4990fb998
am: bc73347152
* commit 'bc73347152a3562a7f957a07433d64912f4acd83':
Skip 'network may be monitored' if dying or locked
Change-Id: I8a0818074887fd20c0204098a6824ec9e9589dfa