83872 Commits

Author SHA1 Message Date
Christopher Tate
aac71ff465 Don't back up / restore non-primary users' data
For now only the device owner "user" gets cloud backups.  Also, only the
device owner account has access to local backup/restore.

Bug 6956438

Change-Id: I87d7ba5969e606c23f4214469f9bf2fd47a6c61b
2012-08-13 17:36:14 -07:00
Wink Saville
f069c7f58d am ae5ac108: Merge "Fix build." into jb-mr1-dev
* commit 'ae5ac108b03214e02781a92592f7913ada8ef2d4':
  Fix build.
2012-08-13 17:34:07 -07:00
Wink Saville
ae5ac108b0 Merge "Fix build." into jb-mr1-dev 2012-08-13 17:30:57 -07:00
Dianne Hackborn
8920f1cc73 am fd96eb05: am 1866f68d: Merge "Modify how the background process LRU list is handled." into jb-mr1-dev
* commit 'fd96eb05babf404e07366d09f71849c1aa0d20da':
  Modify how the background process LRU list is handled.
2012-08-13 17:19:27 -07:00
Dianne Hackborn
aa50ad3932 am dabd459f: am 87c42b99: Merge "Small service cleanup." into jb-mr1-dev
* commit 'dabd459f9083b4be22ae1f97517a5c2cb8010e5b':
  Small service cleanup.
2012-08-13 17:19:24 -07:00
Dianne Hackborn
fd96eb05ba am 1866f68d: Merge "Modify how the background process LRU list is handled." into jb-mr1-dev
* commit '1866f68dfe35da46995e5f2321f33e8fee44bcf8':
  Modify how the background process LRU list is handled.
2012-08-13 17:17:11 -07:00
Dianne Hackborn
dabd459f90 am 87c42b99: Merge "Small service cleanup." into jb-mr1-dev
* commit '87c42b9978bde888c3fd2d94e9d52256e56c3187':
  Small service cleanup.
2012-08-13 17:17:07 -07:00
Dianne Hackborn
1866f68dfe Merge "Modify how the background process LRU list is handled." into jb-mr1-dev 2012-08-13 17:15:04 -07:00
Dianne Hackborn
87c42b9978 Merge "Small service cleanup." into jb-mr1-dev 2012-08-13 17:14:04 -07:00
Dianne Hackborn
f88dd0b32e Small service cleanup.
Get rid of duplication between find/retrieve service funcs; when
a service in a persistent process crashes, restart it immediately
since the persistent process is going to be immediately restarted
anyway; when a new process is attaching, immediately restart any
services associated with it that are waiting to restart, since
it is weird to not let them run if the process comes back for some
other reason.

Change-Id: Id087fe04ebf2b6a4bd00732796c8326364765ea7
2012-08-13 17:11:47 -07:00
Dianne Hackborn
ee7621c0f5 Modify how the background process LRU list is handled.
A long time ago, we had a concept of an "empty" process -- this was
a process that didn't have any interesting components in it, which
would be placed below everything else in the LRU list.

Empty processes didn't work out well, because you could get into
bad situations where you have filled your LRU list with things that
have hidden activities, pushing empty processes to the bottom and
being immediately killed as soon as they go into the list.  So this
was removed.

This change brings the concept back, but in a slightly different
form, to address a more specific problem: for people who are switching
between N different applications, we would like to try to keep those
activities available in RAM in a consistent manner.  Currently the
previous activities would be killed often quickly and suprisingly,
even on devices with lots of RAM.  This is for two reasons:

(1) As you sit in one application, other things going on in the
background will go to the top of the LRU list, pushing down the
previous apps you have visited, even though you aren't aware at all
of these other things executing.
(2) There is a hard limit on the number of background processes
(currently 16) after which they are killed regardless of the amount
of available RAM.  This is desireable because if there is lots of
RAM we can end up with tons and tons of processes sitting around,
not really serving any purpose, but using up resources.

To improve the situation, we have again a concept of "empty" processes
but now it means one with no activities.  Processes that aren't empty
but in the background list are called hidden.  We maintain these as
two parallel lists, each getting half of the process limit: so with
a 16 process limit, you can have at most 8 empty and 8 hidden processes.

This allows us to consistently keep up to 8 recent applications around
for fast app switching; we will also keep around 8 other processes to
make it more efficient for background work to execute again if it needs
to.

Change-Id: Iee06e45efc20787da6a1e50020e5421c28204bd7
2012-08-13 17:09:19 -07:00
Peter Ng
a00db02d18 am 7e78eb0d: am 806d53c3: am 55ed7e34: am 3e504ac7: Merge "Multiple design styleguide fixes -Changing extras to videos -new bullet item in swipeviews -new in 4.0 removal -Ui overview notification info -reppling typo fixed" into jb-dev
* commit '7e78eb0d9f28ebcc371ded8ad35eb9695d90334c':
  Multiple design styleguide fixes -Changing extras to videos -new bullet item in swipeviews -new in 4.0 removal -Ui overview notification info -reppling typo fixed
2012-08-13 17:03:21 -07:00
Peter Ng
aceba227b2 am d6bbf913: am 97b6f6cf: am ab0b9a9e: am 68432f76: Merge "updated downloads for styleguide -new illustrator stencil" into jb-dev
* commit 'd6bbf913fea2ae73cec8ff6542a6c7d260dfdddc':
  updated downloads for styleguide -new illustrator stencil
2012-08-13 17:03:14 -07:00
Peter Ng
7e78eb0d9f am 806d53c3: am 55ed7e34: am 3e504ac7: Merge "Multiple design styleguide fixes -Changing extras to videos -new bullet item in swipeviews -new in 4.0 removal -Ui overview notification info -reppling typo fixed" into jb-dev
* commit '806d53c3db6588920e3d704b184c9b7e9474338d':
  Multiple design styleguide fixes -Changing extras to videos -new bullet item in swipeviews -new in 4.0 removal -Ui overview notification info -reppling typo fixed
2012-08-13 17:01:08 -07:00
Peter Ng
d6bbf913fe am 97b6f6cf: am ab0b9a9e: am 68432f76: Merge "updated downloads for styleguide -new illustrator stencil" into jb-dev
* commit '97b6f6cf9ad5c24e3626b69070e92e36d5173b14':
  updated downloads for styleguide -new illustrator stencil
2012-08-13 17:00:59 -07:00
Peter Ng
375766f710 am 5169a633: am 6fc1be55: am f059e531: am 250da641: Merge "Revert "Group revert of the following commits for design docs:"" into jb-dev
* commit '5169a6335f9e1d46a4d71b11406d057010c7f624':
  Revert "Group revert of the following commits for design docs:"
2012-08-13 16:59:33 -07:00
Peter Ng
806d53c3db am 55ed7e34: am 3e504ac7: Merge "Multiple design styleguide fixes -Changing extras to videos -new bullet item in swipeviews -new in 4.0 removal -Ui overview notification info -reppling typo fixed" into jb-dev
* commit '55ed7e34b981e9725f664587c6ca1f43d78c3f6e':
  Multiple design styleguide fixes -Changing extras to videos -new bullet item in swipeviews -new in 4.0 removal -Ui overview notification info -reppling typo fixed
2012-08-13 16:59:07 -07:00
Peter Ng
97b6f6cf9a am ab0b9a9e: am 68432f76: Merge "updated downloads for styleguide -new illustrator stencil" into jb-dev
* commit 'ab0b9a9e4ec14d556d4c831168e09714c795fa4a':
  updated downloads for styleguide -new illustrator stencil
2012-08-13 16:58:59 -07:00
Peter Ng
5169a6335f am 6fc1be55: am f059e531: am 250da641: Merge "Revert "Group revert of the following commits for design docs:"" into jb-dev
* commit '6fc1be557060a1d6c096f066eae958e07b19b73b':
  Revert "Group revert of the following commits for design docs:"
2012-08-13 16:58:20 -07:00
Peter Ng
6fc1be5570 am f059e531: am 250da641: Merge "Revert "Group revert of the following commits for design docs:"" into jb-dev
* commit 'f059e531506da8c053324caa3108a932d72da7b3':
  Revert "Group revert of the following commits for design docs:"
2012-08-13 16:57:15 -07:00
Peter Ng
55ed7e34b9 am 3e504ac7: Merge "Multiple design styleguide fixes -Changing extras to videos -new bullet item in swipeviews -new in 4.0 removal -Ui overview notification info -reppling typo fixed" into jb-dev
* commit '3e504ac71715a1b152494c9765f41d13bc605b75':
  Multiple design styleguide fixes -Changing extras to videos -new bullet item in swipeviews -new in 4.0 removal -Ui overview notification info -reppling typo fixed
2012-08-13 16:57:05 -07:00
Peter Ng
ab0b9a9e4e am 68432f76: Merge "updated downloads for styleguide -new illustrator stencil" into jb-dev
* commit '68432f7691085b82096518f47703d59e83cb934d':
  updated downloads for styleguide -new illustrator stencil
2012-08-13 16:56:57 -07:00
Peter Ng
f059e53150 am 250da641: Merge "Revert "Group revert of the following commits for design docs:"" into jb-dev
* commit '250da641302aa98c91855f195cc881880aa69172':
  Revert "Group revert of the following commits for design docs:"
2012-08-13 16:55:08 -07:00
Peter Ng
3e504ac717 Merge "Multiple design styleguide fixes -Changing extras to videos -new bullet item in swipeviews -new in 4.0 removal -Ui overview notification info -reppling typo fixed" into jb-dev 2012-08-13 16:53:28 -07:00
Peter Ng
68432f7691 Merge "updated downloads for styleguide -new illustrator stencil" into jb-dev 2012-08-13 16:53:28 -07:00
Peter Ng
250da64130 Merge "Revert "Group revert of the following commits for design docs:"" into jb-dev 2012-08-13 16:52:38 -07:00
Wink Saville
2900a3fae6 Fix build.
I tried to get these into the merge conflict resolution,
but didn't succeed.

Change-Id: Id474415869182da438c09f7a75ee54c098fbc81e
2012-08-13 16:50:30 -07:00
John Spurlock
9450252e94 Stop screensaver on incoming phone call.
Use notification manager as an indicator of when to stop the screensaver
due to immediately-needed user interaction.

Any notification with a fullScreenIntent will now exit the screensaver.

Bug: 6976796
Change-Id: Id91cd4c32f3fad018b56f4dfe24b37110bab32d8
2012-08-13 16:34:37 -07:00
Wink Saville
cc80c0d20b am 436f5372: am ee8655c6: am 2605aeeb: am b17a583a: Merge "Fix interface name for tethering"
* commit '436f5372792d07ed22c6165ec03c0de8ebb16b9e':
  Fix interface name for tethering
2012-08-13 16:31:45 -07:00
Wink Saville
436f537279 am ee8655c6: am 2605aeeb: am b17a583a: Merge "Fix interface name for tethering"
* commit 'ee8655c6739cdfb35f192b05d8d4d84402e0d956':
  Fix interface name for tethering
2012-08-13 16:29:47 -07:00
Wink Saville
ee8655c673 am 2605aeeb: am b17a583a: Merge "Fix interface name for tethering"
* commit '2605aeeb30e39c2616bbe6ff088d1ed0020b4a3b':
  Fix interface name for tethering
2012-08-13 16:27:35 -07:00
Wink Saville
2605aeeb30 am b17a583a: Merge "Fix interface name for tethering"
* commit 'b17a583a3acc57db845993599e4de56e91d5e75a':
  Fix interface name for tethering
2012-08-13 16:24:15 -07:00
Baligh Uddin
2a0b586741 am 718cfe94: (-s ours) am 9e1b5846: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit '718cfe94fcaf2a62484bb8c2e26432dcc9bf791b':
  Import translations. DO NOT MERGE
2012-08-13 16:12:34 -07:00
Baligh Uddin
718cfe94fc am 9e1b5846: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit '9e1b5846d6f85b7e0ea96a65d3cb1fecd0f568d4':
  Import translations. DO NOT MERGE
2012-08-13 16:10:53 -07:00
Kenny Root
4c656c6238 am 24791b38: am d3d78a67: am 0b4771e0: am 28dba4fc: Merge "Update preloaded-classes for JB"
* commit '24791b3864f1d617c1f0a99bebd9351cc9cd4fb6':
  Update preloaded-classes for JB
2012-08-13 16:08:25 -07:00
Baligh Uddin
9e1b5846d6 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-08-13 16:07:41 -07:00
Wink Saville
16d93471bc am 5af8a766: am 54d535bd: Merge "Merge commit \'e0df2c4f\' into fix-merge-conflict" into jb-mr1-dev
* commit '5af8a7666aa61e8eb12da55c281d9c230596d901':
  Telephony: Signal Strength cleanup & LTE support
2012-08-13 16:06:35 -07:00
Kenny Root
24791b3864 am d3d78a67: am 0b4771e0: am 28dba4fc: Merge "Update preloaded-classes for JB"
* commit 'd3d78a67c48cf8331ff48612a382f244237807d3':
  Update preloaded-classes for JB
2012-08-13 16:05:31 -07:00
Wink Saville
5af8a7666a am 54d535bd: Merge "Merge commit \'e0df2c4f\' into fix-merge-conflict" into jb-mr1-dev
* commit '54d535bd57a2873e1e34b7a42cef14ace8e1d694':
  Telephony: Signal Strength cleanup & LTE support
2012-08-13 16:03:34 -07:00
Kenny Root
d3d78a67c4 am 0b4771e0: am 28dba4fc: Merge "Update preloaded-classes for JB"
* commit '0b4771e02f77c540f3f198cfadd7ad716901a2b1':
  Update preloaded-classes for JB
2012-08-13 16:03:14 -07:00
Wink Saville
54d535bd57 Merge "Merge commit 'e0df2c4f' into fix-merge-conflict" into jb-mr1-dev 2012-08-13 16:01:02 -07:00
Baligh Uddin
82e151db28 Merge "Import translations. DO NOT MERGE" 2012-08-13 16:00:01 -07:00
Baligh Uddin
8eaffbb113 am 3bf5d712: (-s ours) am bc6ee344: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit '3bf5d712884769365ca6b5321161fdf7f16ec4fb':
  Import translations. DO NOT MERGE
2012-08-13 15:58:53 -07:00
Baligh Uddin
3bf5d71288 am bc6ee344: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit 'bc6ee3447aea457b3297bb68df5ba053d55adad4':
  Import translations. DO NOT MERGE
2012-08-13 15:56:20 -07:00
Wink Saville
c1e68d133c Merge commit 'e0df2c4f' into fix-merge-conflict
* commit 'e0df2c4f':
  Telephony: Signal Strength cleanup & LTE support

Change-Id: I655fcc0cf430820a50a8751ac132c73f7d8e0c6f
2012-08-13 15:53:19 -07:00
Baligh Uddin
bc6ee3447a Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-08-13 15:53:15 -07:00
Baligh Uddin
9e6552b9fe Merge "Import translations. DO NOT MERGE" 2012-08-13 15:51:16 -07:00
Wink Saville
b17a583a3a Merge "Fix interface name for tethering" 2012-08-13 15:37:09 -07:00
Vishal Mahaveer
a6b6556082 Fix interface name for tethering
Fix the interface name used in stopTethering

Change-Id: I3a8fb80c3c6cd382e7641d1735bff85d8a938ee9
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
2012-08-13 15:07:24 -07:00
git-you.kim72.gmail.com
fd20296c27 Fix Issue #35489: drm content corruption on GB
If rawContent is copied into mediaBuf, readBuf is copied to wrong address.
mediaBuf should be forwarded by readBytes.

Change-Id: I4fc9c1f7f4e3d5dfe3c7e5cd92261608f6b3e248
Signed-off-by: git-you.kim72.gmail.com <you.kim72@gmail.com>
2012-08-13 15:03:48 -07:00