Commit Graph

255075 Commits

Author SHA1 Message Date
TreeHugger Robot
83e50327fc Merge "Don't drop IPv4 broadcast packets when WiFi multicast lock is held" into nyc-dev 2016-05-27 14:58:48 +00:00
Jason Monk
0215802097 QS: Handle detail scroll properly
Add custom scrollview that ensures the touches can cause a scroll.

Change-Id: Ib18ac24ded11d06f59f582248964bd697652c192
Fixes: 28671167
2016-05-27 10:47:51 -04:00
Simon Dubray
f1187008c1 Merge "Chronometer: Update the value only if displayed on screen"
am: 34cd48bcd8

* commit '34cd48bcd8d284d864a0876db1373099c51b98e2':
  Chronometer: Update the value only if displayed on screen

Change-Id: I01a820daaa6308c1cc00cd19940db12ec827f424
2016-05-27 14:26:23 +00:00
Alan Viverette
34cd48bcd8 Merge "Chronometer: Update the value only if displayed on screen" 2016-05-27 14:18:20 +00:00
Paul Jensen
f8a01e8431 Don't drop IPv4 broadcast packets when WiFi multicast lock is held
IPv4 broadcast packets can be very common (e.g. every 2s) so they
need to be dropped in the general case.  They also may be critical
for certain discovery protocols, so allow them through with APF
when the WiFi multicast lock is held.

Bug: 26238573
Change-Id: I03e09a2b9c779da5da775e78b95e9e0339720eaf
2016-05-27 09:18:56 -04:00
Nicolas Geoffray
fb6cf77a67 Cleanup performDexOpt with instruction sets.
Always use the packages' derived instruction sets.

This fixes a bug where otas and background dexopt would only
look at one instruction set.

bug:28994818

Change-Id: I730b59d24943c71de30adb485a823fd79c6806a6
2016-05-27 14:15:31 +01:00
Calin Juravle
126f78011d Don't create or check permissions on profiles during app startup
The impact is small but the IO work can be perform at different
moments. Profile creation is done during app install and
permission check postpone until the first profile write.

Bug: 28785119
Bug: 28625993
Change-Id: Ib364f21f07a78c78e03851fa12142319ea1f931b
2016-05-27 12:02:12 +01:00
Lorenzo Colitti
a0049256ed Merge "Restore DHCP client logging." into nyc-dev
am: 0f8529236e

* commit '0f8529236eaafdda20c730214b05fe8580a380fa':
  Restore DHCP client logging.

Change-Id: I6259d9da4b971b4be38c61003f80a5c1c82ef46d
2016-05-27 10:00:01 +00:00
TreeHugger Robot
0f8529236e Merge "Restore DHCP client logging." into nyc-dev 2016-05-27 09:53:49 +00:00
Jaewan Kim
a9e0621f33 PIP: Improve PIP control row's focus change animation in Recents
This includes following changes for performance
1. Passes the key events directly between the windows instead of using
   dummy Views and OnFocusChangeListener to prevent main thread from
   handling unnecessary focus changes.
2. Limits the window size for PIP controls to reduce unnecessary draw.

Here's the test result. Test is performed with paused PIP video
1. 5 visible recents task
  Focus down: 48.14 fps -> 85.396 fps (+77.39%)
  Focus up: 24.67 fps -> 45.33 fps (+83.77%)
2. 3 visible recents task
  Focus down: 51.98 fps -> 132.72 fps (+155.34%)
  Focus up: 30.91 fps -> 53.38 fps (+72.69%)

Bug: 28042495
Change-Id: I363232176975b160e122748c9997ef4b46b73a28
2016-05-27 08:41:48 +00:00
Roozbeh Pournader
0ad4dccf88 Support ellipsizing LocaleHelper.getDisplayLocaleList()
Add an extra parameter to LocaleHelper.getDisplayLocaleList()
specifying the maximum number of locales to output, as callers
probably won't need the whole list.

Bug: 28872122
Change-Id: Ief136bc1af2841e76ed4d8e65932a9a30821eae3
2016-05-27 06:46:26 +00:00
Lorenzo Colitti
e67ec4eb01 Restore DHCP client logging.
Bug: 28955598
Change-Id: I2e2684a787061612471830e4d840ce422091bafb
2016-05-27 14:14:03 +09:00
sreevanis
64b29d4f8c Merge "Added android:tools specification on navigation and actions page." into mnc-io-docs am: 4ca0c8052c am: fe33c063a9
am: 4b058ae5b7

* commit '4b058ae5b7519664efab552f9ce91a5fcf254a36':
  Added android:tools specification on navigation and actions page.

Change-Id: I0d39f4cb2320ce7020d126734b442a1e8a877b60
2016-05-27 03:56:49 +00:00
Sreevani Sreejith
4b058ae5b7 Merge "Added android:tools specification on navigation and actions page." into mnc-io-docs am: 4ca0c8052c
am: fe33c063a9

* commit 'fe33c063a9542722e067331907ba42b12dc130c3':
  Added android:tools specification on navigation and actions page.

Change-Id: Iaef5dee8c0af55ec1698c831f3f1ff93739d4def
2016-05-27 03:47:33 +00:00
sreevanis
fe33c063a9 Merge "Added android:tools specification on navigation and actions page." into mnc-io-docs
am: 4ca0c8052c

* commit '4ca0c8052c950f9f8a654ed5c0a112765295f1fd':
  Added android:tools specification on navigation and actions page.

Change-Id: Ied53973a54a95d2590ed394ebcba0789017687da
2016-05-27 03:43:12 +00:00
Winson
fb8ff0fd31 Merge "Prevent setting the launch task id when docking." into nyc-dev
am: 386a947616

* commit '386a9476160ecd8d7d647d1a305126ec0917e0ab':
  Prevent setting the launch task id when docking.

Change-Id: I6f54a53099dd8b4c53674a866dc3fdfba1b59b70
2016-05-27 03:42:52 +00:00
Sreevani Sreejith
4ca0c8052c Merge "Added android:tools specification on navigation and actions page." into mnc-io-docs 2016-05-27 03:38:19 +00:00
TreeHugger Robot
386a947616 Merge "Prevent setting the launch task id when docking." into nyc-dev 2016-05-27 03:30:47 +00:00
Wale Ogunwale
f41776b211 Merge "Only make Recents activity invisible if not focused on TV devices." into nyc-dev
am: 20237bc68f

* commit '20237bc68fa32422fe256f75e331a4a3bdc3fd24':
  Only make Recents activity invisible if not focused on TV devices.

Change-Id: Ic6a31de4db8385620d559ff88cc79c49aac1bfeb
2016-05-27 03:14:08 +00:00
Chia-I Wu
e6bcaf134a Fix clipRect transform rounding errors
For clipRect.right and clipRect.bottom, we need to round them up.

Bug: 28864193
Change-Id: I2bd30eec8a8093e0fdcc7ce8484a0610fd068792
2016-05-27 11:06:00 +08:00
TreeHugger Robot
20237bc68f Merge "Only make Recents activity invisible if not focused on TV devices." into nyc-dev 2016-05-27 03:04:44 +00:00
Adam Lesinski
7e762beb7f Merge "Fix issue where max idle time > total idle time" into nyc-dev
am: 89046edb4d

* commit '89046edb4d64fe1c7662103cce3a82b69e05cfe4':
  Fix issue where max idle time > total idle time

Change-Id: Idfbfa60ec62002712073ae9af3c3e4c0e39be1e7
2016-05-27 01:52:32 +00:00
Adam Lesinski
89046edb4d Merge "Fix issue where max idle time > total idle time" into nyc-dev 2016-05-27 01:44:32 +00:00
Siyamed Sinir
108b013a51 Revert "Fix TextView layout reuse when maxLines is set"
This reverts commit f75775ea7f.

Bug: 28885989
Bug: 28468120
Change-Id: I6fa5401c8a76db1bacc2d8201eece91a3c52b758
2016-05-27 01:37:59 +00:00
Siyamed Sinir
24aba4b9e9 Set StaticLayout.maxLines only when ellipsize is set
A partial revert for the CL I5dbc48a6c7f0f4ac4c693d5c95f0a99b989e07f4.
The mentioned CL tried to always set the maxLines attribute of
StaticLayout. However this caused regressions at certain points.

Bug: 28885989
Bug: 28468120
Change-Id: Ic09cb194c8811a06b5d53de50bfb77938b91b88d
2016-05-26 18:33:33 -07:00
Adrian Roos
63014c5f6c Merge "Fix spurious crashes in StatusBarIconView" into nyc-dev
am: 7fe83ab54e

* commit '7fe83ab54ebe52f9226ea3dbd5cfe9050996f7a3':
  Fix spurious crashes in StatusBarIconView

Change-Id: I23beb7d6305180f6e321f0a98b39d55d9c370326
2016-05-27 01:10:29 +00:00
Adrian Roos
7fe83ab54e Merge "Fix spurious crashes in StatusBarIconView" into nyc-dev 2016-05-27 01:04:16 +00:00
Adrian Roos
a8e18ef911 Fix spurious crashes in StatusBarIconView
Fixes a crash that happens when we cannot look up a package's
resources for reasons.

Change-Id: I4884536a3eefa8fe82bd274925241f4c798e08e3
Fixes: 28982204
2016-05-26 17:57:25 -07:00
Selim Cinek
f1614a6ec2 Fixed a few memory leaks in SystemUI
Fist of all we made the statemap a weak hashmap in order never
to leak any views anymore.

Another leak could occur because predrawlisteners were added twice
but removal only removes one. A view was then leaked in case it was detached
before predraw.

Also fixed a leak when transforming the header because a state wasn't
nulled.

Change-Id: I2573a506c307196ef60c905dc823ea8a95e91a16
Fixes: 28945863
2016-05-26 17:52:03 -07:00
Roozbeh Pournader
77efbbb3c5 Merge "Ellipsize Preference summaries" into nyc-dev
am: 0ca3829d4c

* commit '0ca3829d4c36c96099cd1d008036c252daf90b8e':
  Ellipsize Preference summaries

Change-Id: I2e133df847bcfe1726edbaab6e08369374cff3c9
2016-05-27 00:18:13 +00:00
Christopher Tate
b5c0788d36 Purge an app's scheduled jobs when the whole package is disabled
Bug 28979894

Change-Id: If8a99489eaaa219274289fdf2e90be8bdecb3bfa
2016-05-26 17:14:27 -07:00
Wale Ogunwale
e3190c206c Merge "Protect against NPE while to updating service connection activities." into nyc-dev
am: cef12198a7

* commit 'cef12198a729209fc8bfb2b2483fb3730f0fd428':
  Protect against NPE while to updating service connection activities.

Change-Id: I3a430751bf02631bee57355c901d3f78248a3261
2016-05-27 00:13:17 +00:00
Roozbeh Pournader
0ca3829d4c Merge "Ellipsize Preference summaries" into nyc-dev 2016-05-27 00:11:14 +00:00
TreeHugger Robot
cef12198a7 Merge "Protect against NPE while to updating service connection activities." into nyc-dev 2016-05-27 00:08:16 +00:00
Robert Carr
197f9e1c7e Merge "Ensure surfaces only resize during relayout." into nyc-dev
am: 58f1167ecf

* commit '58f1167ecf03c4cdce7e881ccf7c0e0506c14613':
  Ensure surfaces only resize during relayout.

Change-Id: I197a1689594ac877e34747d2331620ca98a14af5
2016-05-27 00:05:15 +00:00
Rob Carr
58f1167ecf Merge "Ensure surfaces only resize during relayout." into nyc-dev 2016-05-26 23:58:32 +00:00
Garfield, Tan
66f7553862 Merge "Fix an assertion to avoid crash on deletions in Recent root." into nyc-dev
am: 7a91029bff

* commit '7a91029bff3d31e56f12ae1c070ba78043e49e0a':
  Fix an assertion to avoid crash on deletions in Recent root.

Change-Id: I4374b0498599f72b1a9cbfd6b5bd95eef17438e4
2016-05-26 23:56:20 +00:00
Winson
c4a038ad28 Prevent setting the launch task id when docking.
- In this case, recents is the last running task instead of the 
  previously fullscreen app (likely due to some preparation for the 
  docking), and we should not set the task to launch/cancel window 
  transitions for.

Bug: 28943422
Change-Id: I3c381d3fa33a69adb7d8b606633433a898841526
2016-05-26 23:51:40 +00:00
Robin Lee
b4835e4f14 Merge "Move VPN restriction check into setup dialog" into nyc-dev
am: 32ceb9c801

* commit '32ceb9c801a86f901ec8230eec301c30e1deff3b':
  Move VPN restriction check into setup dialog

Change-Id: Ifa6978abafaebf97cd43d37e65572e3fca903c46
2016-05-26 23:47:44 +00:00
Garfield Tan
7a91029bff Merge "Fix an assertion to avoid crash on deletions in Recent root." into nyc-dev 2016-05-26 23:46:42 +00:00
Jorim Jaggi
1833aafe7f Merge "Handle trampoline activites in different tasks" into nyc-dev
am: 0d35765ca3

* commit '0d35765ca343ae7b04df7a93c233e5b6860eec22':
  Handle trampoline activites in different tasks

Change-Id: I9de9ac5a6e42f75dd8a8c4c9f07c60efb48aa2b7
2016-05-26 23:41:41 +00:00
Robin Lee
32ceb9c801 Merge "Move VPN restriction check into setup dialog" into nyc-dev 2016-05-26 23:41:28 +00:00
Jorim Jaggi
0d35765ca3 Merge "Handle trampoline activites in different tasks" into nyc-dev 2016-05-26 23:38:09 +00:00
Jorim Jaggi
352d584b20 Handle trampoline activites in different tasks
When the app uses a trampoline activity that launches in a different
task than the main task, we fail to show recents when the task is
docked and the user launches the trampoline activity from home. Add
logic to handle this case.

Bug: 28368989
Change-Id: Iea29e6cd1a9919da0e856955691fac4792e30604
2016-05-26 16:32:37 -07:00
Michael Wright
66eeff63b7 Merge "Finalize resource IDs for N." into nyc-dev
am: 7bbab7e440

* commit '7bbab7e440c4968a5710d31f86168a4c8de66af9':
  Finalize resource IDs for N.

Change-Id: I6eb87bf4e6ee41ea32e497562635a8432b85ba59
2016-05-26 23:25:11 +00:00
Ben Lin
1a3b676441 Adding docsui prefix to access metric tags.
Bug: 28934495
Change-Id: I44291b887e8aa9f4412ee1e7e1826ea68ffb40b9
2016-05-26 16:19:21 -07:00
Bert McMeen
260167cada Merge "Merge "docs: Refinements for testing" into mnc-io-docs am: 9da0730d66 am: feb0b87230" into nyc-dev
am: 3dba0fbd53

* commit '3dba0fbd5388c367d00543331bc2125dd2871786':
  docs: Refinements for testing

Change-Id: I461204b91cc09abb52906e6f437691e468661cb1
2016-05-26 23:17:31 +00:00
sreevanis
af7d6fa9a7 Merge "Updated link to material design page. am: ff05383baf am: ee44b14cd4" into nyc-dev
am: 3106e71ddc

* commit '3106e71ddc6ace7bc15b50e4a91ed98ed428bee2':
  Updated link to material design page.

Change-Id: If280c4efa95fe8179ac5053c2e34ff26c9158492
2016-05-26 23:17:24 +00:00
John Reck
769c456bc1 Merge "Change overdraw test to use windowbackground" into nyc-dev
am: 34979a3af6

* commit '34979a3af6dbb6e3e33a83e5cb939ea3c8c000c7':
  Change overdraw test to use windowbackground

Change-Id: Ie116603fc53999dd4251d940b5d5ee783684ac8e
2016-05-26 23:17:16 +00:00
Akshay Thakker
7bbab7e440 Merge "Finalize resource IDs for N." into nyc-dev 2016-05-26 23:16:03 +00:00