Commit Graph

56255 Commits

Author SHA1 Message Date
Selim Cinek
f1a8cedbad Merge "Added convenience methods to use chronometer countdown methods" into nyc-dev am: a94742c7f9
am: 39e1cc558b

* commit '39e1cc558bf6f3f7442f553a36f8ba88375b58e6':
  Added convenience methods to use chronometer countdown methods
2016-02-26 19:10:28 +00:00
Selim Cinek
39e1cc558b Merge "Added convenience methods to use chronometer countdown methods" into nyc-dev
am: a94742c7f9

* commit 'a94742c7f9b6287c97a5cd47cf6542ce25e86513':
  Added convenience methods to use chronometer countdown methods
2016-02-26 19:08:33 +00:00
Selim Cinek
a94742c7f9 Merge "Added convenience methods to use chronometer countdown methods" into nyc-dev 2016-02-26 19:05:04 +00:00
Dianne Hackborn
88d47f16dc Merge "Work on issue #26390161: Throttle syncs/jobs when system is low on RAM" into nyc-dev am: 77ca74d941
am: 387ae4971d

* commit '387ae4971dbf806878a0a81da0523aaf45fb1c5b':
  Work on issue #26390161: Throttle syncs/jobs when system is low on RAM
2016-02-26 18:51:01 +00:00
Dianne Hackborn
387ae4971d Merge "Work on issue #26390161: Throttle syncs/jobs when system is low on RAM" into nyc-dev
am: 77ca74d941

* commit '77ca74d941eb4addd7051c747362bace0746b7a7':
  Work on issue #26390161: Throttle syncs/jobs when system is low on RAM
2016-02-26 18:47:53 +00:00
Dianne Hackborn
77ca74d941 Merge "Work on issue #26390161: Throttle syncs/jobs when system is low on RAM" into nyc-dev 2016-02-26 18:44:55 +00:00
Jeff Sharkey
c726efeccc Merge "When system server goes down, crash apps." into nyc-dev am: 49607029be
am: de6fe0c800

* commit 'de6fe0c80019430880edab225051fb81b9db927c':
  When system server goes down, crash apps.
2016-02-26 18:26:28 +00:00
Dimitry Ivanov
5b0dca11ea Merge "Create linker-namespace for the classloader" into nyc-dev am: 1a2cb453fa
am: 155e89f4dd

* commit '155e89f4ddd2754fefac217d767602f06e5422f8':
  Create linker-namespace for the classloader
2016-02-26 18:23:17 +00:00
Jeff Sharkey
de6fe0c800 Merge "When system server goes down, crash apps." into nyc-dev
am: 49607029be

* commit '49607029bef037d162f64f841468d7b99d862489':
  When system server goes down, crash apps.
2016-02-26 18:19:22 +00:00
Jeff Sharkey
49607029be Merge "When system server goes down, crash apps." into nyc-dev 2016-02-26 18:14:52 +00:00
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
0ee49af897 Merge "Frameworks/base: Refactor android.os.Debug" into nyc-dev am: 227d7854cc
am: b0751f90f8

* commit 'b0751f90f8aadd81453e4cb250982d565a283a0a':
  Frameworks/base: Refactor android.os.Debug
2016-02-26 17:44:51 +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
5a207e0bd9 Merge "Introduce IMPORTANCE_MIN." into nyc-dev am: abf11299b7
am: cb64b53fd3

* commit 'cb64b53fd37291e0e932af90e42ffe711f9031b9':
  Introduce IMPORTANCE_MIN.
2016-02-26 16:24:30 +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
185101f1cb Merge "PowerManager: Hide the SUSTAINED_PERFORMANCE API." into nyc-dev am: 52cdc1593a
am: b2e2db084a

* commit 'b2e2db084af7ea00a2cdd68487971d78c09963fe':
  PowerManager: Hide the SUSTAINED_PERFORMANCE API.
2016-02-26 02:33:53 +00: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
Thierry Strudel
22be410b18 Merge "Fix typo in SwappedOut reporting" into nyc-dev am: f40969ac2c
am: b7f515cf9b

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

* commit '2973c936e51ccf3da5731ccd9d6f2d2307737677':
  Fix '<' / '>' in JobService docs
2016-02-26 02:07:34 +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
Jeff Sharkey
27b2e69787 When system server goes down, crash apps.
Apps making calls into the system server may end up persisting
internal state or making security decisions based on the perceived
success or failure of a call, or the default values returned.

The reality is that if the system process just died, init will be
along shortly to kill all running apps, so we should have no problem
rethrowing the RemoteException as a RuntimeException.

Bug: 27364859
Change-Id: If632cc36f68cd399a34de513b2d979abaa36fcaa
2016-02-25 17:40:12 -07:00
Christopher Tate
a8e24f24bd Fix '<' / '>' in JobService docs
Bug 27291714

Change-Id: I7e6ec24442bdd071d34faa980d201f4c747cadff
2016-02-25 16:28:35 -08:00
Selim Cinek
81c23aac78 Added convenience methods to use chronometer countdown methods
Bug: 27343480
Change-Id: Iea4d0259ba8c3ab91fec5ee04ea4b39e5dd988bf
2016-02-25 16:23:13 -08:00
Ruchi Kandoi
302710deaa PowerManager: Hide the SUSTAINED_PERFORMANCE API.
Bug: 27365880
Change-Id: Ia84a5af85f6e8ef0740ce4b41dbc5bab4cbeef05
2016-02-25 16:22:54 -08:00
Seigo Nonaka
e6abf53cff Merge "Make system locale persistent." into nyc-dev am: e1df1ba087
am: bceed227c8

* commit 'bceed227c8fdb8766ea821015edb6f1ab252e531':
  Make system locale persistent.
2016-02-26 00:06:55 +00:00
Phil Weaver
b397de9c25 Merge "Accessibility to toggle multiwindow mode" into nyc-dev am: 8ca583b29f
am: c6677b2d16

* commit 'c6677b2d16ea1c4d6cb704b03fc7f37ba5fa8fd8':
  Accessibility to toggle multiwindow mode
2016-02-26 00:03:16 +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
e47aa888a9 Merge "Revert "Fix exit transition and dismiss callback for popup exit transition"" into nyc-dev am: 9cae665410
am: 0fe51a4d4e

* commit '0fe51a4d4e232206ff9f1ae65b8e3c277ad06b93':
  Revert "Fix exit transition and dismiss callback for popup exit transition"
2016-02-25 22:27:25 +00: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
d302b137f9 Merge "Return true when keystrokes are handled in BaseKeyListener." into nyc-dev am: 2cecbb2408
am: bce4fe1bdd

* commit 'bce4fe1bdd2e6247bc8355041f5f63de4b4ff708':
  Return true when keystrokes are handled in BaseKeyListener.
2016-02-25 21:21:31 +00: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
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
Alexandre Elias
f2a5537477 Merge "Add some View methods overrides and WebViewDelegate interfaces." 2016-02-25 19:58:12 +00:00
Sunny Goyal
c0f8f13c24 Merge "Fixing the parent check loop to allow RemoteViewsFrameLayout" into nyc-dev am: c1a3181d8d
am: 645ffa05f0

* commit '645ffa05f09870db14bb0332de04fcbc324e1752':
  Fixing the parent check loop to allow RemoteViewsFrameLayout
2016-02-25 18:16:36 +00:00