Commit Graph

7424 Commits

Author SHA1 Message Date
Julia Reynolds
aae8cf11b2 Merge "Api review: NotificationManager" into nyc-dev am: 01e81117a9
am: 2b53b701d8

* commit '2b53b701d8a51a8029fd90dea33732073d6018a7':
  Api review: NotificationManager
2016-02-26 21:09:08 +00:00
Julia Reynolds
c8999e8470 Merge "Api review: Notification.Builder" into nyc-dev am: 1adc816f2d
am: 92a187ddaf

* commit '92a187ddaf27a6783b2628d39227d64e39492a4a':
  Api review: Notification.Builder
2016-02-26 21:05:05 +00:00
Julia Reynolds
2b53b701d8 Merge "Api review: NotificationManager" into nyc-dev
am: 01e81117a9

* commit '01e81117a9bc86849f0bf20d7729c8f8101b0baf':
  Api review: NotificationManager
2016-02-26 21:03:47 +00:00
Chong Zhang
a0f805b885 Merge "Do not stop window if preserving the window" into nyc-dev am: fd3d5e92ea
am: fb3403f5f0

* commit 'fb3403f5f0655f77d75aac017bc5f9e60f221f59':
  Do not stop window if preserving the window
2016-02-26 21:03:47 +00:00
Julia Reynolds
92a187ddaf Merge "Api review: Notification.Builder" into nyc-dev
am: 1adc816f2d

* commit '1adc816f2dcf0a827b4619eb21a780d1b3d827b3':
  Api review: Notification.Builder
2016-02-26 21:00:21 +00:00
Chong Zhang
fb3403f5f0 Merge "Do not stop window if preserving the window" into nyc-dev
am: fd3d5e92ea

* commit 'fd3d5e92ea05ca20e6c3700e2309d849d96f2f7d':
  Do not stop window if preserving the window
2016-02-26 20:58:32 +00:00
Jorim Jaggi
a7a1e1d3bf Merge "App transition delay tracking" into nyc-dev am: a8914a0096
am: b6b9eee960

* commit 'b6b9eee960b21e6cfc5955b4dba1c3d454a86ce5':
  App transition delay tracking
2016-02-26 20:58:05 +00:00
Julia Reynolds
01e81117a9 Merge "Api review: NotificationManager" into nyc-dev 2016-02-26 20:56:27 +00:00
Jorim Jaggi
b6b9eee960 Merge "App transition delay tracking" into nyc-dev
am: a8914a0096

* commit 'a8914a00969b6942211d29fd923b0692a1b70f9a':
  App transition delay tracking
2016-02-26 20:56:03 +00:00
Julia Reynolds
1adc816f2d Merge "Api review: Notification.Builder" into nyc-dev 2016-02-26 20:52:21 +00:00
Chong Zhang
fd3d5e92ea Merge "Do not stop window if preserving the window" into nyc-dev 2016-02-26 20:52:17 +00:00
Jorim Jaggi
a8914a0096 Merge "App transition delay tracking" into nyc-dev 2016-02-26 20:51:40 +00:00
Julia Reynolds
0edb50c4bf Api review: NotificationManager
Bug: 27365672
Change-Id: Ic0fd82fb9442d10d6b308182a3859497aa882d07
2016-02-26 15:44:41 -05:00
Julia Reynolds
3b84812271 Api review: Notification.Builder
Bug: 27364889
Change-Id: I95cee3336f1adb64e37e71a9ab40e68feb1d9c5b
2016-02-26 15:44:02 -05:00
Chong Zhang
7687f25e58 Do not stop window if preserving the window
bug: 27350647
Change-Id: I670d2641ee7e600a6ea46f7b329afd4df10a3862
2016-02-26 12:37:00 -08:00
Jorim Jaggi
275561a746 App transition delay tracking
Add TRON logging for all kinds aspects when we execute an app transition.

Bug: 27295491
Change-Id: Icb0cbdb92d4d5fbfedadd40a017a50eb217058aa
2016-02-26 14:15:00 -05:00
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
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
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
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
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
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
Winson Chung
923ddb7527 Merge changes Ib309e9de,Ia7cf8b99,I055b0825,Ie2ea4318,If92221d3 into nyc-dev am: e1c4641d6f
am: 27f2698fa4

* commit '27f2698fa46f77955d2dbe5d905796d0139b9edd':
  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 07:07:19 +00: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
Thierry Strudel
b4dd9b60ef Merge "Revert "Temporary fix for QXDM crashes."" into nyc-dev am: 0601a1c670
am: 6f5d54ebef

* commit '6f5d54ebef08da95003b4e79d3e4d4ab20c0a06c':
  Revert "Temporary fix for QXDM crashes."
2016-02-25 02:39:29 +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
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
Edward Cunningham
648b952956 Merge "Revert "DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support origin details."" into nyc-dev 2016-02-25 01:10:57 +00:00
Winson
b6403150af Updating task description when activity is visible.
Bug: 27275448
Change-Id: If92221d30c84c58b5d36db1b254d264a0ff3ec25
2016-02-24 16:30:17 -08:00
Adam Powell
0f646a0865 Merge "Protect FragmentManager against View.NO_ID container ids" into nyc-dev am: dc5e3a3074
am: ee1970208e

* commit 'ee1970208e4e6a168113fb3cf57901de30282204':
  Protect FragmentManager against View.NO_ID container ids
2016-02-24 23:12:17 +00:00