Commit Graph

61411 Commits

Author SHA1 Message Date
Dimitry Ivanov
155e89f4dd Merge "Create linker-namespace for the classloader" into nyc-dev
am: 1a2cb453fa

* commit '1a2cb453fa8204db84d92fd2de92b0ed1e546a03':
  Create linker-namespace for the classloader
2016-02-26 18:10:23 +00:00
Dimitry Ivanov
1a2cb453fa Merge "Create linker-namespace for the classloader" into nyc-dev 2016-02-26 18:03:56 +00:00
Andreas Gampe
b0751f90f8 Merge "Frameworks/base: Refactor android.os.Debug" into nyc-dev
am: 227d7854cc

* commit '227d7854cc0fa5c76a61df727c97edb618f17046':
  Frameworks/base: Refactor android.os.Debug
2016-02-26 17:42:24 +00:00
Andreas Gampe
227d7854cc Merge "Frameworks/base: Refactor android.os.Debug" into nyc-dev 2016-02-26 17:39:20 +00:00
Julia Reynolds
cb64b53fd3 Merge "Introduce IMPORTANCE_MIN." into nyc-dev
am: abf11299b7

* commit 'abf11299b78596e4ed4e0dcb4bacb6ff6318b010':
  Introduce IMPORTANCE_MIN.
2016-02-26 16:19:07 +00:00
Julia Reynolds
f0f629ffe4 Introduce IMPORTANCE_MIN.
Allow HUNs for >= IMPORTANCE_HIGH.
Allow full screen intents for IMPORTANCE_MAX.

Bug: 22960980
Bug: 26918284
Change-Id: Id4d2b90ea2e21563dbc716db411060d826e73699
2016-02-26 10:54:08 -05:00
Ruchi Kandoi
b2e2db084a Merge "PowerManager: Hide the SUSTAINED_PERFORMANCE API." into nyc-dev
am: 52cdc1593a

* commit '52cdc1593aab9336ad06cfe54cd06ca42ab3837e':
  PowerManager: Hide the SUSTAINED_PERFORMANCE API.
2016-02-26 02:30:41 +00:00
Ruchi Kandoi
52cdc1593a Merge "PowerManager: Hide the SUSTAINED_PERFORMANCE API." into nyc-dev 2016-02-26 02:26:56 +00:00
Andreas Gampe
8b9f49415f Frameworks/base: Refactor android.os.Debug
Refactor some static fields into a holder. This allows to statically
initialize the class in the boot image. It also has some minimal
positive impact on the class size, a net benefit when tracing is
not used.

Bug: 27248115
Change-Id: I0cdfb6acf916ad8d9a7d82bba32929dba15d4200
2016-02-25 18:03:03 -08:00
Thierry Strudel
b7f515cf9b Merge "Fix typo in SwappedOut reporting" into nyc-dev
am: f40969ac2c

* commit 'f40969ac2c19399847f153bfa248efcc0935db3c':
  Fix typo in SwappedOut reporting
2016-02-26 02:02:29 +00:00
Christopher Tate
2973c936e5 Merge "Fix \'<\' / \'>\' in JobService docs" into nyc-dev
am: 7f220b8ec5

* commit '7f220b8ec51386f0c19720293d7c9e372e91eb00':
  Fix '<' / '>' in JobService docs
2016-02-26 02:00:40 +00:00
Thierry Strudel
f40969ac2c Merge "Fix typo in SwappedOut reporting" into nyc-dev 2016-02-26 01:47:36 +00:00
Thierry Strudel
9b51160e0c Fix typo in SwappedOut reporting
Change-Id: I55b3725eba054d3d6d2b38041cf375fc7b141c69
2016-02-25 17:46:38 -08:00
Chris Tate
7f220b8ec5 Merge "Fix '<' / '>' in JobService docs" into nyc-dev 2016-02-26 01:38:34 +00:00
Mitchell Wills
121a5b5588 Merge "Modify WakeupMessage to only send the message if not canceled" into mm-wireless-dev am: 9505e0ac3f
am: ebc106cb71

* commit 'ebc106cb719c1356d7ffea1fa6b6fa95644647c7':
  Modify WakeupMessage to only send the message if not canceled
2016-02-26 00:30:58 +00:00
Christopher Tate
a8e24f24bd Fix '<' / '>' in JobService docs
Bug 27291714

Change-Id: I7e6ec24442bdd071d34faa980d201f4c747cadff
2016-02-25 16:28:35 -08:00
Ruchi Kandoi
302710deaa PowerManager: Hide the SUSTAINED_PERFORMANCE API.
Bug: 27365880
Change-Id: Ia84a5af85f6e8ef0740ce4b41dbc5bab4cbeef05
2016-02-25 16:22:54 -08:00
Mitchell Wills
ebc106cb71 Merge "Modify WakeupMessage to only send the message if not canceled" into mm-wireless-dev
am: 9505e0ac3f

* commit '9505e0ac3f6bef7ad850f3b6fc9ec576b65b1e55':
  Modify WakeupMessage to only send the message if not canceled
2016-02-26 00:20:00 +00:00
Seigo Nonaka
bceed227c8 Merge "Make system locale persistent." into nyc-dev
am: e1df1ba087

* commit 'e1df1ba087a92c48ba6a64ddada5dd8bf1635746':
  Make system locale persistent.
2016-02-25 23:45:44 +00:00
Roozbeh Pournader
e1df1ba087 Merge "Make system locale persistent." into nyc-dev 2016-02-25 23:42:36 +00:00
Phil Weaver
c6677b2d16 Merge "Accessibility to toggle multiwindow mode" into nyc-dev
am: 8ca583b29f

* commit '8ca583b29f7a06dcd2ccb2da7c4273d4db8bf7fd':
  Accessibility to toggle multiwindow mode
2016-02-25 23:23:37 +00:00
Phil Weaver
8ca583b29f Merge "Accessibility to toggle multiwindow mode" into nyc-dev 2016-02-25 23:16:52 +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
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
Alan Viverette
0fe51a4d4e Merge "Revert "Fix exit transition and dismiss callback for popup exit transition"" into nyc-dev
am: 9cae665410

* commit '9cae665410e339b19633645a67c353fe4b10a559':
  Revert "Fix exit transition and dismiss callback for popup exit transition"
2016-02-25 22:23:20 +00:00
Alan Viverette
7970894a9c Revert "Fix exit transition and dismiss callback for popup exit transition"
This reverts most of commit 21d361806c, 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
Ben Kwa
bce4fe1bdd Merge "Return true when keystrokes are handled in BaseKeyListener." into nyc-dev
am: 2cecbb2408

* commit '2cecbb24088afdc14e234e871e59bf9a47d1887d':
  Return true when keystrokes are handled in BaseKeyListener.
2016-02-25 21:12:37 +00:00
Ben Kwa
2cecbb2408 Merge "Return true when keystrokes are handled in BaseKeyListener." into nyc-dev 2016-02-25 21:10:07 +00:00
Sunny Goyal
645ffa05f0 Merge "Fixing the parent check loop to allow RemoteViewsFrameLayout" into nyc-dev
am: c1a3181d8d

* commit 'c1a3181d8db25e36b4303822e429b2839468e259':
  Fixing the parent check loop to allow RemoteViewsFrameLayout
2016-02-25 18:14:15 +00:00
Sunny Goyal
c1a3181d8d Merge "Fixing the parent check loop to allow RemoteViewsFrameLayout" into nyc-dev 2016-02-25 18:10:38 +00:00
Alan Viverette
60d3b019eb Merge "Use correct index when obtaining unresolved attribute value" into nyc-dev
am: 4d85985f80

* commit '4d85985f80c114456ec47d3cce75ac0b4c2bdb5a':
  Use correct index when obtaining unresolved attribute value
2016-02-25 17:34:00 +00:00
Alan Viverette
4d85985f80 Merge "Use correct index when obtaining unresolved attribute value" into nyc-dev 2016-02-25 17:25:39 +00:00
Sunny Goyal
b880d167a6 Fixing the parent check loop to allow RemoteViewsFrameLayout
Bug: 27328093
Change-Id: I0f6ae8e95f952d40589eafb912ba188d15d7624c
2016-02-25 09:07:37 -08:00
Seigo Nonaka
bd5cbdd638 Make system locale persistent.
Configuration values are not persistent.
To make system locale persistent, use Settings.System entry.

During start up, the configuration is filled from Settings.
When the system locale is changed by Settings, the locale list in
configuration is copied to Settings value.

Bug: 26732134
Change-Id: If57e13cc4179ff6299c71b4ab030f9d856748dea
2016-02-25 15:34:23 +09:00
Seigo Nonaka
31493584b6 Merge "Show selection handles at the correct position for view transformation" into nyc-dev
am: 6d2b3ac67c

* commit '6d2b3ac67c9d308da89fd98ef50dd9f47f8b29bd':
  Show selection handles at the correct position for view transformation
2016-02-25 06:02:40 +00:00
Seigo Nonaka
6d2b3ac67c Merge "Show selection handles at the correct position for view transformation" into nyc-dev 2016-02-25 05:59:19 +00:00
Mitchell Wills
634c1f9d0d Modify WakeupMessage to only send the message if not canceled
Change-Id: I9ca6d3726fe25c706b644bf61119837a7cbe6db1
2016-02-24 20:17:39 -08:00
Winson Chung
27f2698fa4 Merge changes Ib309e9de,Ia7cf8b99,I055b0825,Ie2ea4318,If92221d3 into nyc-dev
am: e1c4641d6f

* commit 'e1c4641d6f7d234a912284254f67c0122d7eca5b':
  Fixing crash when focusing tasks.
  Minor tweaks to layout and visuals.
  Improving transition from paging to stack.
  Fixing issue with persistent screenshot notification
  Updating task description when activity is visible.
2016-02-25 03:17:24 +00:00
Winson Chung
e1c4641d6f Merge changes Ib309e9de,Ia7cf8b99,I055b0825,Ie2ea4318,If92221d3 into nyc-dev
* changes:
  Fixing crash when focusing tasks.
  Minor tweaks to layout and visuals.
  Improving transition from paging to stack.
  Fixing issue with persistent screenshot notification
  Updating task description when activity is visible.
2016-02-25 03:15:25 +00:00
Yohei Yukawa
4b085cad7b Merge changes Iaf179d60,I315cf372,I21d3c5cc into nyc-dev
am: b3fdffbb48

* commit 'b3fdffbb48ecc67054e69ee768917bfc4a1a178e':
  Use LocaleList for implicitly enabled subtypes.
  Add a utility method to filter locales.
  Mechanical refactoring in InputMethodUtilsTest.
2016-02-25 03:00:37 +00:00
Yohei Yukawa
b3fdffbb48 Merge changes Iaf179d60,I315cf372,I21d3c5cc into nyc-dev
* changes:
  Use LocaleList for implicitly enabled subtypes.
  Add a utility method to filter locales.
  Mechanical refactoring in InputMethodUtilsTest.
2016-02-25 02:57:51 +00:00
Jorim Jaggi
c9e0b2840a Merge "Use actual window size for layout" into nyc-dev
am: 5a5057a78b

* commit '5a5057a78bc83e6d419c421224850139097662f4':
  Use actual window size for layout
2016-02-25 02:32:07 +00:00
Thierry Strudel
6f5d54ebef Merge "Revert "Temporary fix for QXDM crashes."" into nyc-dev
am: 0601a1c670

* commit '0601a1c6701aafca16c0e1c65962fe00d256e624':
  Revert "Temporary fix for QXDM crashes."
2016-02-25 02:30:15 +00:00
Yohei Yukawa
e985c240e3 Use LocaleList for implicitly enabled subtypes.
There are two major changes in this CL:

  1. Now IMMS resets its internal state whenever the system locale list
     is changed, rather than just checking the primary system locale.
  2. For software keyboard subtypes,
     InputMethodUtils#getImplicitlyApplicableSubtypesLocked() now takes
     the entire system locale list into account when determining what
     subtypes should be enabled by default when the user does not
     explicitly enable one or more subtypes.

Bug: 27129703
Change-Id: Iaf179d60c12b9a98b4f097e2449471c4184e049b
2016-02-24 18:27:04 -08:00
Jorim Jaggi
5a5057a78b Merge "Use actual window size for layout" into nyc-dev 2016-02-25 02:26:32 +00:00
Yohei Yukawa
102ff0726d Add a utility method to filter locales.
This is a preparation CL to take secondary system locales into
account in InputMethodUtils#getImplicitlyApplicableSubtypesLocked().

Suppose the following situation:

  available subtypes:
    en-US, en-IN, and en-GB, fr, fr-CA, fr-CH, fr (QWERTZ)
  system locales:
    en-GB, en-US, fr-MC

Basically we want to have at most one subtype for each language appears
in system locales.  Hence the goal of this utility method is to filter
the above available subtypes into en-GB and fr.  In other word, we do
not want to enable both en-GB and en-US subtypes in this scenario.

This CL introduces LocaleUtils#filterByLanguage() for this purpose, with
some unit tests.  Note that that method is not used in production yet.

Bug: 27129703
Change-Id: I315cf3722a06e00bdbfac284c4949578da8fe78d
2016-02-24 18:25:16 -08:00
Daniel Sandler
e7b5c92e36 Merge "N-release temporary platlogo." into nyc-dev
am: ab0037c8a0

* commit 'ab0037c8a0ccbf8d08574807e0060f00ebbfea45':
  N-release temporary platlogo.
2016-02-25 02:22:57 +00:00
Thierry Strudel
0601a1c670 Merge "Revert "Temporary fix for QXDM crashes."" into nyc-dev 2016-02-25 02:16:51 +00:00
Edward Cunningham
ab8c082879 Merge "Revert "DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support origin details."" into nyc-dev
am: 648b952956

* commit '648b952956d4e2459f28982e5aa4ab53411e752b':
  Revert "DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support origin details."
2016-02-25 02:15:51 +00:00
Thierry Strudel
e60b28d99b Revert "Temporary fix for QXDM crashes."
This reverts commit d7793693ad.

Change-Id: I9f27d6d5075be7b170ebe7a5bf4f2c3fe8c7c604
2016-02-25 02:14:16 +00:00