am: 6392db9
* commit '6392db9df7ca1a809ff882e0792bf7fbc105ce96':
cancel group children before summaries
Change-Id: If19f0a460346287c66f21db5f890934fef7a2eca
am: 2d4a222
* commit '2d4a222de157c693b16ca2b35a264dd92ae6abee':
LoadedApk: Don't set up JIT profile support inside the system_server.
Change-Id: I151d57ae8d31a7c7a9e8cccab847be6c11ad34ce
We shouldn't profile *any* packages loaded by the system_server, not
just the system_servers own ("android") package.
bug: 28241500
Change-Id: I5f3f477b40c758030a5bdc8e97d17cab6e68e204
Changes the policy for selecting packages which will be pre-verified
during post-OTA boot animation.
For Nx to Ny, an app is pre-verified if used in the foreground in the
last 7 days, or if its APK was loaded by other apps.
For M to N (or early N builds without detailed stats), an app is
pre-verified if it has any recorded use in the last 7 days.
Bug: 27902702
Bug: 27350503
Change-Id: I2b38daf017ecd0e5aa5ed596ed9351cffa03dbcb
Currently post-OTA verification will attempt to compile with
'verify-profile' but does not merge the profiles prior to calling
dex2oat. As a result, we may miss some or all classes that need
verification.
Bug: 27688727
Change-Id: I1aa93cad2686513594cb37f6d3d181ae5c718d1d
am: a16a336
* commit 'a16a3362b535fcb970756a39fd4657bd15922592':
Wait for JobService to start before scheduling syncs
Change-Id: I05eb60240bb9cf4885e9e5df4470a93f89930b21
am: b414eb8
* commit 'b414eb8de66153d835090a1518017bc11489bce4':
Close open sockets when enabling firewall rules.
Change-Id: I2bb4be1cec701e9e99d264ab4fd2322bc20e7d2c
Now that it's long since been unused also delete the locking that was
introduced to make it possible.
Bug: 17733693
Bug: 24837343
Change-Id: Iee817a7c2e1d1dc9c080d3124d5986232dcda00f
When enabling a firewall rule that will deny networking to apps,
first close any sockets opened by those apps. Just dropping an
app's packets without closing its connections has the following
problems:
1. The app has no way to know this has happened until a network
timeout occurs.
2. The app's connections stay open, so the other end of the
connection (e.g., a server) might continue to retransmit
packets. These packets will wake up the kernel and cause
battery drain, but we cannot respond to them because packets
on those connections are dropped by the kernel (since the app
is blackholed). So the other end might keep retransmitting.
3. Even though we think the connections are still open, the
other end of the connection, or any intermediate NATs or
firewalls, might time out and close the connection (e.g., by
sending a RST). Because the app is blackholed, we have no way
of knowing that this has happened, so when the app is granted
network access again, these connections might just get stuck.
Bug: 27824851
Bug: 27867653
Change-Id: Iaaad1b26954fc5f1ba5c9ed8bdee039282f5e249
am: c5804af
* commit 'c5804afa73edbf229e789570d288e66f70b54fa2':
Fix a few issues with occluded Keyguard
Change-Id: I0e805ee2b7cf37b60b08f951bf1e0e4fdde93464
- When we get a collapse before the layout happened in SystemUI,
don't expand the panel after the layout.
- Don't reset waitingToShow when coming out of sleep. This will cause
win.isVisibleOrBehindKeyguardLw to return false and then occluded
state will change rapidly from true -> false -> true, leading to
flickering in SysUI.
Bug: 23898941
Change-Id: I2b941188de777086bb2b477f5bfc00cc0cd6abe0
am: 72c216f
* commit '72c216f25072123f498105bc7ad98a65a7a3cdaf':
Don't hide app windows due to not showing when locked when keyguard is hidden
Change-Id: I33795a8690e52d26b6f66f991b03b16bdeb665f4
In some cases, recents didn't get resumed, so divider was never
notified and thus we didn't start the animation. Instead, move
the first drawn logic into onStart.
Bug: 28366529
Change-Id: Ia71d6b517451bba727ae31a184bb55cecf5af198
This worked in pre-N because the only visible app was the app that can be
shown when the keyguard is hidden. That isn't the case in multi-window mode
where one of the apps can be shown when locked and the other doesn't have
the show when locked flag. Only hide the other app if the keyguard is shown.
Bug: 28368875
Change-Id: I5039098db74492fadf667fed24fc58448436681a
am: 711ffe6
* commit '711ffe620ed06c8517cad8d4d0a8f4fca588f921':
When app is updated, save the new version code, and update shortcuts with resource based icons.
Change-Id: I1b8ab5b9ede7d08f7b99f34cb54dda277b01c859
Add code to wait for SycJobService to pass back an
instance of itself after boot before allowing syncs
to be scheduled.
Also removes unused constant MESSAGE_SYNC_EXPIRED.
Bug: 28380795
Change-Id: I616ba5c74578a81ff1e37ba4bd1fd937ce5c006d
am: 436308f
* commit '436308f88b8f165f834a6b37f7638d6d4b7a6ca7':
Destroy both CE and DE data when corrupted.
Change-Id: Ic60599ed7ee0cd200d1b95690e5e687bd403cfad
am: 3a10c1e
* commit '3a10c1e86db9843462660d825a9673a3c72ccdd6':
Track down Contexts without data directories.
Change-Id: Ib185bbc865fe2f1704a33b3f7557fd6c5226be1f