234146 Commits

Author SHA1 Message Date
John Reck
4dfd6c0abc Merge "Disable HWUI_NEW_OPS" into nyc-dev 2016-02-25 23:28:38 +00:00
Phil Weaver
8ca583b29f Merge "Accessibility to toggle multiwindow mode" into nyc-dev 2016-02-25 23:16:52 +00:00
Adam Lesinski
913a2fdb06 Merge "Revert "AAPT: Allow duplicate attribute definitions if identical"" into nyc-dev 2016-02-25 23:13:24 +00:00
Phil Weaver
315c34e7d6 Accessibility to toggle multiwindow mode
Encapsulating the logic to toggle multiwindow mode from recents,
and plumbing it through to accessibility global actions. Sending
accessibility events when windows bounds change. Exposing the
dock divider window type to accessibility services.

Bug: 27250995
Change-Id: Ib7491f1f853dc7f01bf5c5a4ac1f914f55d0608a
2016-02-25 15:13:11 -08:00
Adam Lesinski
525db2489d Revert "AAPT: Allow duplicate attribute definitions if identical"
This reverts commit c25283b5e206ceae2aa6eb01877b79c3c1f0adfb.

Change-Id: I2f42a4360fa53c4333494afe0178dcec56d62d8e
2016-02-25 23:13:08 +00:00
Jaewan Kim
91b440aaea Merge "PIP: Apply the latest UI spec for onboarding activity" into nyc-dev 2016-02-25 23:11:51 +00:00
Jaewan Kim
edd02dc159 PIP: Apply the latest UI spec for onboarding activity
Bug: 27273286
Change-Id: I57b3050e1f07ffbcee66e30404578937f65c3189
2016-02-25 15:06:40 -08:00
John Reck
0bed032eb2 Disable HWUI_NEW_OPS
Bug: 27365711

Change-Id: Ife7ecc7c688738df4028f30847a2ff914e433b99
2016-02-25 15:03:48 -08:00
Dimitry Ivanov
a55c7f15a3 Create linker-namespace for the classloader
With this change ApplicationLoaders.getClassLoader()
creates linker-namespace for the classloader at the
construction time. Before this change the namespace
was created on first load of a jni library.

With this change we ensure that every classloader
has initialized namespace associated with it.

As an additional advantage we now can avoid storing
namespace-specific fields in the classloaders.

Bug: http://b/27189432
Bug: http://b/22548808
Change-Id: I3b160bd478a55171008682c40b2ebc13bdbd9882
2016-02-25 14:57:55 -08:00
Joshua Schwarz
d456303a17 Merge "Add Google Now intent so that it is discoverable to AppLaunch metrics." into cw-e-dev am: dcd0b05dc3
am: e73af21807

* commit 'e73af21807706c12245d4a2c081b06a1a66ea88d':
  Add Google Now intent so that it is discoverable to AppLaunch metrics.
2016-02-25 22:51:54 +00:00
Hyungtae Kim
e811ebda31 Merge "UiBench adapted for TV" into nyc-dev 2016-02-25 22:49:26 +00:00
Joshua Schwarz
e73af21807 Merge "Add Google Now intent so that it is discoverable to AppLaunch metrics." into cw-e-dev
am: dcd0b05dc3

* commit 'dcd0b05dc35fb058f89a16d370bb7965b339c1c5':
  Add Google Now intent so that it is discoverable to AppLaunch metrics.
2016-02-25 22:48:02 +00:00
Joshua Schwarz
dcd0b05dc3 Merge "Add Google Now intent so that it is discoverable to AppLaunch metrics." into cw-e-dev 2016-02-25 22:45:22 +00:00
Felipe Leme
8c0412c8d3 Merge "Removed toast messsage sent after screenshot is taken." into nyc-dev 2016-02-25 22:20:30 +00:00
Winson Chung
fcd6e7cb72 Merge changes I4d542a09,Icd792ed4,I020dcbac into nyc-dev
* changes:
  Removing boot completed check before hiding Recents.
  Track double taps to launch the previous task.
  Dev preview changes for incompatible apps.
2016-02-25 22:19:32 +00:00
Winson
2799eca217 Removing boot completed check before hiding Recents.
- This was legacy from old code that was calling sendBroadcast(), and 
  with the event bus, we no longer need to wait until boot is completed
  before launching home.

Bug: 26616934
Change-Id: I4d542a096174ac8b69035836e9311cbf8340b15b
2016-02-25 14:17:16 -08:00
Alan Viverette
9cae665410 Merge "Revert "Fix exit transition and dismiss callback for popup exit transition"" into nyc-dev 2016-02-25 22:17:12 +00:00
Winson
d93429076c Track double taps to launch the previous task.
Change-Id: Icd792ed4f508f8a8540a5cd2d12c3bdfd5827410
2016-02-25 14:17:05 -08:00
Winson
931845fcb3 Dev preview changes for incompatible apps.
- Disable drop targets when picking up a task that can’t be docked, and
  show toast notifying user (for now)
- When a task is docked, update the task headers for non-dockable tasks
  to indicate that they don’t support multi window.  Update these 
  headers every time the multi window state changes.

Bug: 26774190
Change-Id: I020dcbac9b1230dba166eecaa12366986e684f9e
2016-02-25 14:16:23 -08:00
Alan Viverette
7970894a9c Revert "Fix exit transition and dismiss callback for popup exit transition"
This reverts most of commit 21d361806c9e2dce5bae5b30f44be5ad87f32c22, which
broke too many expectations in both apps and framework widgets. We need to
find a safer way to handle the exit transition callback.

Bug: 27359366
Bug: 27353218
Change-Id: I769ac7a25cb900c50e857839ca0563fbc5a3cb16
2016-02-25 16:57:08 -05:00
Jaewan Kim
0d2d1f7b6f Merge "PIP: Apply the latest UI spec for PIP menu" into nyc-dev 2016-02-25 21:50:48 +00:00
Jason Monk
c5bdafb776 Make sure QS tile layouts don't have overlapping rendering
Bug: 27361901
Change-Id: I177bbf8c0d13b0e9595d9b95c87eb01df1bc7d05
2016-02-25 21:34:46 +00:00
Simranjit Kohli
236fcafab5 Merge "Revert "[Fix extra data in cache]"" into nyc-dev 2016-02-25 21:28:32 +00:00
Simranjit Kohli
27d0e1fd66 Revert "[Fix extra data in cache]"
This reverts commit a666d74d4bc7e1298314c516d1309571fb87c212.

Bug: 27314050
Change-Id: I1562c51751f983a49a11e1d37d936974e17388ef
2016-02-25 13:20:16 -08:00
Jason Monk
493497178a Merge "Fix QS Issues" into nyc-dev 2016-02-25 21:10:52 +00:00
Felipe Leme
5d9000aa45 Removed toast messsage sent after screenshot is taken.
That toast was kind of reduntant (since the phone already vibrates
before taking a screenshot) and often useless (because it was displayed
seconds after requested).

BUG: 26577203
Change-Id: I0ba6f974eefd473d158f7fefb12f6a5d2a50b772
2016-02-25 13:10:14 -08:00
Ben Kwa
2cecbb2408 Merge "Return true when keystrokes are handled in BaseKeyListener." into nyc-dev 2016-02-25 21:10:07 +00:00
Dianne Hackborn
970510b9c5 Work on issue #26390161: Throttle syncs/jobs when system is low on RAM
We now have a fixed array of job service contexts, which doesn't
vary by build configuration.  Instead, we keep track of the maximum
number of concurrent jobs we want to allow to run, and don't
make use of a context if it would put us over that limit.

The available contexts is now 8 (the largest used to be 6), although
the maximum we will normally schedule is still 6.  We have the other
two around only for use by the current foreground app, to allow it
to schedule work while the user is in it, even if we have reached
our normal limit on the number of concurrent jobs.

The maximum number of concurrent jobs varies based on the memory
state of the device, from 6 (if memory is normal) down to 1
(if memory is critical).  We aren't yet trying to stop all jobs
if memory gets lower than critical.

Instead of just keeping track of whether a uid is in the foreground,
we now track whether it is the top as well.  Only the top uid
can schedule additional jobs above the current limit.

Also improved some of the dumpsys output.

Change-Id: Icc95e42231a806f0bfa3e2f99ccc2b85cefac320
2016-02-25 13:00:56 -08:00
Adam Lesinski
ddbad32341 Merge "AAPT: Allow duplicate attribute definitions if identical" into nyc-dev 2016-02-25 21:00:22 +00:00
Jason Monk
cb9fdca792 Add scroll indicators to QS editing
Bug: 27220234
Bug: 27251104
Change-Id: I678af59401a98fb272c1d29b9c5e3c925d9ec7a5
2016-02-25 15:55:53 -05:00
Selim Cinek
d5ec83069d Merge "Allowing to expand the children from the lockscreen now" into nyc-dev 2016-02-25 20:51:20 +00:00
Selim Cinek
cb24ab8e59 Allowing to expand the children from the lockscreen now
Bug: 24866646
Change-Id: Ibb4dc98e8148b912253153065c9c35e22a06f334
2016-02-25 12:50:23 -08:00
Jason Monk
c0e015a495 Merge "Guard against monkey crash" into nyc-dev 2016-02-25 20:47:13 +00:00
Jason Monk
cb654cb172 Fix drag to add tiles showing too many times
It was appearing from the night tile being unavailable and causing
extra nulls in the list.  Fix the night mode tile so the nulls don't
happen.  Also fix the null handling to avoid this happening with other
bad specs.

Bug: 27061683
Change-Id: I48f769c06ed17c2ff1f166434857ec1faff14d02
2016-02-25 15:43:07 -05:00
Selim Cinek
a0d65ecf77 Merge "Fixed a bug with the scrolling after expanding a notification" into nyc-dev 2016-02-25 20:40:13 +00:00
Julia Reynolds
4077945e1b Remove inline settings slider.
Bug: 22451710
Change-Id: Ia4f85569f878531102d91564d0728a94783cc79d
2016-02-25 15:39:35 -05:00
Philip P. Moltmann
645a3e1ca6 Force cancel pending RemotePrintDocument commands when the PrintActivity exits
Otherwise the print-client app can prevent the print activity from exiting as
we wait for the command to finish. As this is a violation of the
remote-print-document contract we deal with this similar to a command failure.
As the PrintActivity is exiting we don't further send any commands to the
print-client.

Bug: 27207751
Change-Id: Ieacb16786112f217ca5b8031bfb597598e28dc3d
2016-02-25 12:36:27 -08:00
Selim Cinek
94ab18c0f1 Fixed a bug with the scrolling after expanding a notification
Bug: 24866646
Change-Id: I1ca8bfaa42e79dd7f3c5ebfbf94ff2a44718ec7e
2016-02-25 12:35:51 -08:00
Alex Klyubin
f4b50a3aa8 Merge "Only debuggable packages can be downgraded." into nyc-dev 2016-02-25 20:26:54 +00:00
Adrian Roos
a52cce2c84 Merge "Fix duplicate eventlogtags warnings" into nyc-dev 2016-02-25 20:18:03 +00:00
Felipe Leme
262887834c Reset UI fields when dialog is reused, otherwise it might contain fields
from a previous bug report.

BUG: 26524513
Change-Id: If9d176806b28120b57dddeb62b636065f8ff7cf6
2016-02-25 12:10:43 -08:00
Felipe Leme
3fd6d9b371 Merge "Final (?) fixes on id / pid split." into nyc-dev 2016-02-25 19:57:42 +00:00
Pavel Zhamaitsiak
fbb584dfa0 Merge "Add registrationAssociatedUriChanged to ImsRegistrationListener" into mm-wireless-dev
am: d76b7ee263

* commit 'd76b7ee2636a9bc92d8e1e5fb5cb649e5bd67be9':
  Add registrationAssociatedUriChanged to ImsRegistrationListener
2016-02-25 19:46:20 +00:00
Pavel Zhamaitsiak
d76b7ee263 Merge "Add registrationAssociatedUriChanged to ImsRegistrationListener" into mm-wireless-dev 2016-02-25 19:43:31 +00:00
Selim Cinek
f045b5a61b Merge "Make group expanding nicer" into nyc-dev 2016-02-25 19:43:27 +00:00
Selim Cinek
dafa00cb98 Merge "Transforming notifications now based on the user dragging" into nyc-dev 2016-02-25 19:42:25 +00:00
Glenn Kasten
1cbf9b3741 Allow sample rate UNSPECIFIED to mean a route-dependent value
Bug: 25641253
Bug: 21019153
Change-Id: I3b8e01b6ea09f42c813ab1a0f3f625dc3803cc0b
2016-02-25 11:39:37 -08:00
Alan Viverette
fa5fa8f8a0 Merge "Always update drawable container source res" into nyc-dev 2016-02-25 19:38:26 +00:00
Xiaohui Chen
e90c2c5ae9 sysui: refactor for reuse
Bug: 27099709
Change-Id: I44d3abc7dbed0b655efeb1769fa6a2543bc8322e
2016-02-25 19:16:33 +00:00
Felipe Leme
85ae3cf46a Final (?) fixes on id / pid split.
The main goal of this CL was to change the test cases to send an
EXTRA_ID instead of EXTRA_PID, but in changing that it was revealed 2
minor bugs:

- When setting the name property, it was using id instead of pid (which
  is what dumpstate expects).
- When the pid is replaced by the name in the screenshots, it would be
  replaced twice if the pid was small enough (because the call to
  String.replace() would also replace the counter).

This CL fixes these issues, and removes the temporary assignment of id =
pid when the former is missing.

BUG: 27076108
Change-Id: I70e7ce7d145019438272594686ac0d4d5dbe1723
2016-02-25 11:14:03 -08:00