Commit Graph

241139 Commits

Author SHA1 Message Date
Chris Wren
ed012b5b88 Merge "cancel group children before summaries" into nyc-dev
am: 6392db9

* commit '6392db9df7ca1a809ff882e0792bf7fbc105ce96':
  cancel group children before summaries

Change-Id: If19f0a460346287c66f21db5f890934fef7a2eca
2016-04-26 15:31:10 +00:00
Julia Reynolds
1cb2dd9a8f Merge "Swap star tint." into nyc-dev
am: efb951d

* commit 'efb951d4fefb004b94c0e3f9b3d8fab83b8803ca':
  Swap star tint.

Change-Id: I2c05cd4c3ca4954114c68abe9baaae19a33f75c3
2016-04-26 15:31:08 +00:00
Andreas Gampe
12aea502c1 Merge "Frameworks/base: Make debug helper lazy in ConnectivityManager" into nyc-dev
am: 396c590

* commit '396c590c423682af398f52a62e3d6f6fb2166d4e':
  Frameworks/base: Make debug helper lazy in ConnectivityManager

Change-Id: I0df3657ea24f7ee9d360c0a56b12e94b2b883ca5
2016-04-26 15:31:06 +00:00
Chris Wren
6392db9df7 Merge "cancel group children before summaries" into nyc-dev 2016-04-26 15:26:35 +00:00
Julia Reynolds
efb951d4fe Merge "Swap star tint." into nyc-dev 2016-04-26 15:26:28 +00:00
TreeHugger Robot
396c590c42 Merge "Frameworks/base: Make debug helper lazy in ConnectivityManager" into nyc-dev 2016-04-26 15:25:44 +00:00
Julia Reynolds
d500495935 Swap star tint.
Bug: 27558254
Change-Id: Ia72cdc89d4cdcf3f5a5210f14632c15271922a98
2016-04-26 09:17:08 -04:00
David Brazdil
a0dabcc45f Merge "Change app selection policy for post-OTA verification" into nyc-dev
am: 3eaf72d

* commit '3eaf72dc67ef0911bee0cc0d1db088cb70b044ca':
  Change app selection policy for post-OTA verification

Change-Id: If87329113bde151ee9c459b15c31acc25fc011c1
2016-04-26 12:27:25 +00:00
David Brazdil
3eaf72dc67 Merge "Change app selection policy for post-OTA verification" into nyc-dev 2016-04-26 12:22:16 +00:00
Narayan Kamath
8118acca35 LoadedApk: Don\'t set up JIT profile support inside the system_server.
am: 2d4a222

* commit '2d4a222de157c693b16ca2b35a264dd92ae6abee':
  LoadedApk: Don't set up JIT profile support inside the system_server.

Change-Id: I151d57ae8d31a7c7a9e8cccab847be6c11ad34ce
2016-04-26 12:18:50 +00:00
Narayan Kamath
2d4a222de1 LoadedApk: Don't set up JIT profile support inside the system_server.
We shouldn't profile *any* packages loaded by the system_server, not
just the system_servers own ("android") package.

bug: 28241500
Change-Id: I5f3f477b40c758030a5bdc8e97d17cab6e68e204
2016-04-26 12:08:23 +00:00
David Brazdil
90e269917e Change app selection policy for post-OTA verification
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
2016-04-26 12:51:53 +01:00
David Brazdil
8aef4c8f34 Merge "Enable profile merging for post-OTA package verification" into nyc-dev
am: 5bc7f5f

* commit '5bc7f5f01bb1dc25e0f1b965afb88d34f0e69890':
  Enable profile merging for post-OTA package verification

Change-Id: I6ffbc0091110a8fc501c98470235c709da6c86bd
2016-04-26 11:45:43 +00:00
David Brazdil
5bc7f5f01b Merge "Enable profile merging for post-OTA package verification" into nyc-dev 2016-04-26 11:39:43 +00:00
David Brazdil
5da9dad2dd Enable profile merging for post-OTA package verification
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
2016-04-26 11:37:49 +00:00
Hui Shu
fd0f670912 Merge "WebView downgrade prevention logic" into nyc-dev
am: e12d62b

* commit 'e12d62bd79d27f1719ac6db01b1dd53289fe03d4':
  WebView downgrade prevention logic

Change-Id: I1992cd40caec3271a3ed706cb4c511b4bec2c59b
2016-04-26 09:35:34 +00:00
TreeHugger Robot
e12d62bd79 Merge "WebView downgrade prevention logic" into nyc-dev 2016-04-26 09:31:57 +00:00
Shreyas Basarge
1e8362d449 Merge "Wait for JobService to start before scheduling syncs" into nyc-dev
am: a16a336

* commit 'a16a3362b535fcb970756a39fd4657bd15922592':
  Wait for JobService to start before scheduling syncs

Change-Id: I05eb60240bb9cf4885e9e5df4470a93f89930b21
2016-04-26 09:27:00 +00:00
Shreyas Basarge
a16a3362b5 Merge "Wait for JobService to start before scheduling syncs" into nyc-dev 2016-04-26 09:23:30 +00:00
Lorenzo Colitti
f35865b71a Merge "Close open sockets when enabling firewall rules." into nyc-dev
am: b414eb8

* commit 'b414eb8de66153d835090a1518017bc11489bce4':
  Close open sockets when enabling firewall rules.

Change-Id: I2bb4be1cec701e9e99d264ab4fd2322bc20e7d2c
2016-04-26 08:59:43 +00:00
Lorenzo Colitti
b414eb8de6 Merge "Close open sockets when enabling firewall rules." into nyc-dev 2016-04-26 08:52:26 +00:00
Erik Kline
777a66e4a4 Merge "IpManager: delete dead getLinkProperties() code" into nyc-dev
am: e24708e

* commit 'e24708e87f6d1f4a79a5cf3caf2edc658355263c':
  IpManager: delete dead getLinkProperties() code

Change-Id: I36e2f48b9edc846a59830c935794c51b3c922ff3
2016-04-26 07:19:48 +00:00
Erik Kline
e24708e87f Merge "IpManager: delete dead getLinkProperties() code" into nyc-dev 2016-04-26 07:15:00 +00:00
Erik Kline
b2ff48bd71 IpManager: delete dead getLinkProperties() code
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
2016-04-26 15:54:12 +09:00
Jaewan Kim
12376ebc4b Merge "PIP: Send KEYCODE_WINDOW to app first if PIP isn\'t exist" into nyc-dev
am: bdc4700

* commit 'bdc4700155f5ff89e213cb0e9efe49897b888f7d':
  PIP: Send KEYCODE_WINDOW to app first if PIP isn't exist

Change-Id: I72405b64139580d0a95872eb5d47f3a2f5f3d28d
2016-04-26 06:09:00 +00:00
Jaewan Kim
bdc4700155 Merge "PIP: Send KEYCODE_WINDOW to app first if PIP isn't exist" into nyc-dev 2016-04-26 06:03:01 +00:00
Lorenzo Colitti
4cb4240b4d Close open sockets when enabling firewall rules.
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
2016-04-26 13:39:08 +09:00
Jaewan Kim
f0fd218382 PIP: Send KEYCODE_WINDOW to app first if PIP isn't exist
Bug: 27954955
Change-Id: I517e378d5c1672ac0eb87bdf4375b7d733276e58
2016-04-26 13:06:21 +09:00
Lorenzo Colitti
09bd1c1a64 Merge "When dumping connectivity metrics events, print data as well." into nyc-dev
am: e4860f0

* commit 'e4860f02564e887918192f733a29f04552f83414':
  When dumping connectivity metrics events, print data as well.

Change-Id: Ie2da40fc6ba7a52d359c4b0be4f938ee7eb95b73
2016-04-26 03:28:32 +00:00
Jorim Jaggi
c394db8013 Fix a few issues with occluded Keyguard
am: c5804af

* commit 'c5804afa73edbf229e789570d288e66f70b54fa2':
  Fix a few issues with occluded Keyguard

Change-Id: I0e805ee2b7cf37b60b08f951bf1e0e4fdde93464
2016-04-26 03:28:31 +00:00
Lorenzo Colitti
e4860f0256 Merge "When dumping connectivity metrics events, print data as well." into nyc-dev 2016-04-26 03:22:26 +00:00
Jorim Jaggi
c5804afa73 Fix a few issues with occluded Keyguard
- 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
2016-04-26 02:54:34 +00:00
Wale Ogunwale
c8cd9483ea Merge "Don\'t hide app windows due to not showing when locked when keyguard is hidden" into nyc-dev
am: 72c216f

* commit '72c216f25072123f498105bc7ad98a65a7a3cdaf':
  Don't hide app windows due to not showing when locked when keyguard is hidden

Change-Id: I33795a8690e52d26b6f66f991b03b16bdeb665f4
2016-04-26 02:27:20 +00:00
TreeHugger Robot
72c216f250 Merge "Don't hide app windows due to not showing when locked when keyguard is hidden" into nyc-dev 2016-04-26 02:21:18 +00:00
Jorim Jaggi
821bbc186f Make sure to notify divider always
am: d6a3949

* commit 'd6a39495881ee89c9217ab0764b948b6eb773aea':
  Make sure to notify divider always

Change-Id: I8d39ba246a89096e2fb1462ad4e6bfe33710fd7d
2016-04-26 00:58:40 +00:00
Jorim Jaggi
d6a3949588 Make sure to notify divider always
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
2016-04-26 00:52:46 +00:00
Wale Ogunwale
23fd1db68d Don't hide app windows due to not showing when locked when keyguard is hidden
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
2016-04-25 17:21:34 -07:00
Makoto Onuki
7497b7000c Merge "When app is updated, save the new version code, and update shortcuts with resource based icons." into nyc-dev
am: 711ffe6

* commit '711ffe620ed06c8517cad8d4d0a8f4fca588f921':
  When app is updated, save the new version code, and update shortcuts with resource based icons.

Change-Id: I1b8ab5b9ede7d08f7b99f34cb54dda277b01c859
2016-04-26 00:13:13 +00:00
Makoto Onuki
711ffe620e Merge "When app is updated, save the new version code, and update shortcuts with resource based icons." into nyc-dev 2016-04-26 00:07:59 +00:00
Shreyas Basarge
a4ac5ab850 Wait for JobService to start before scheduling syncs
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
2016-04-25 23:04:32 +00:00
Lajos Molnar
e50413b1cf Merge "CodecCapabilities: handle legacy VP9 codecs with no profiles" into nyc-dev
am: af8be42

* commit 'af8be42b9f6aa17c8d17d999b53227f0a1d6da5b':
  CodecCapabilities: handle legacy VP9 codecs with no profiles

Change-Id: Ice672823612c02a832e8550ad62d3ba56fa1ae57
2016-04-25 22:51:22 +00:00
Lajos Molnar
268d09be84 Merge "clarify MediaCodec.setVideoScalingMode behavior" into nyc-dev
am: 4710431

* commit '4710431dc4751e9674b9e2e620f425603cf24643':
  clarify MediaCodec.setVideoScalingMode behavior

Change-Id: Ic92672b020aa9547a111e0bc728cb8edfa4a1656
2016-04-25 22:51:20 +00:00
TreeHugger Robot
af8be42b9f Merge "CodecCapabilities: handle legacy VP9 codecs with no profiles" into nyc-dev 2016-04-25 22:43:30 +00:00
Wale Ogunwale
2208ef3c24 Merge "Fixed issue with wrong stack fullscreen state on configuration change" into nyc-dev
am: b59beff

* commit 'b59beffa89b6bc4f0c2d9469443c5730787ed362':
  Fixed issue with wrong stack fullscreen state on configuration change

Change-Id: Ib683c2584aaf47dccc9e4ff9957d766ccc353297
2016-04-25 22:39:16 +00:00
Lajos Molnar
4710431dc4 Merge "clarify MediaCodec.setVideoScalingMode behavior" into nyc-dev 2016-04-25 22:36:55 +00:00
TreeHugger Robot
b59beffa89 Merge "Fixed issue with wrong stack fullscreen state on configuration change" into nyc-dev 2016-04-25 22:27:58 +00:00
Alan Viverette
1c9388a0af Merge "Check for null drawable during LayerDrawable.jumpToCurrentState()" into nyc-dev
am: 68d180b

* commit '68d180bbd1892ee5112c76be842a40a7251ed5a5':
  Check for null drawable during LayerDrawable.jumpToCurrentState()

Change-Id: Ida4daa96fdbee8b2d566ddb054f82af9120a86f3
2016-04-25 22:27:19 +00:00
Jeff Sharkey
5bc622e45b Merge "Destroy both CE and DE data when corrupted." into nyc-dev
am: 436308f

* commit '436308f88b8f165f834a6b37f7638d6d4b7a6ca7':
  Destroy both CE and DE data when corrupted.

Change-Id: Ic60599ed7ee0cd200d1b95690e5e687bd403cfad
2016-04-25 22:15:16 +00:00
Jeff Sharkey
44c38e3d86 Merge "Track down Contexts without data directories." into nyc-dev
am: 3a10c1e

* commit '3a10c1e86db9843462660d825a9673a3c72ccdd6':
  Track down Contexts without data directories.

Change-Id: Ib185bbc865fe2f1704a33b3f7557fd6c5226be1f
2016-04-25 22:15:15 +00:00
TreeHugger Robot
68d180bbd1 Merge "Check for null drawable during LayerDrawable.jumpToCurrentState()" into nyc-dev 2016-04-25 22:10:37 +00:00