3277 Commits

Author SHA1 Message Date
Daniel Sandler
cab82ad6f5 am 719848b2: am 0d43c567: am 393e3170: am ad955fe8: Merge "SystemUI: Fix data activity overlay not being removed when data is disabled"
* commit '719848b2537d8af66051154a73d7c0b7d583e754':
  SystemUI: Fix data activity overlay not being removed when data is disabled
2012-08-28 13:46:39 -07:00
Daniel Sandler
0d43c567ce am 393e3170: am ad955fe8: Merge "SystemUI: Fix data activity overlay not being removed when data is disabled"
* commit '393e3170b3f52a3e191554ffd8c8f81821ba2074':
  SystemUI: Fix data activity overlay not being removed when data is disabled
2012-08-28 13:41:19 -07:00
Daniel Sandler
393e3170b3 am ad955fe8: Merge "SystemUI: Fix data activity overlay not being removed when data is disabled"
* commit 'ad955fe87f44b43dbb2842fdcbe4e62900b5a07f':
  SystemUI: Fix data activity overlay not being removed when data is disabled
2012-08-28 13:19:52 -07:00
Daniel Sandler
ad955fe87f Merge "SystemUI: Fix data activity overlay not being removed when data is disabled" 2012-08-28 12:52:49 -07:00
Baligh Uddin
896547e290 Import translations. DO NOT MERGE
Change-Id: Ifd51686337c7d36919670b3cda497941f9862589
Auto-generated-cl: translation import
2012-08-27 13:45:03 -07:00
Baligh Uddin
d4114d1aa3 Import translations. DO NOT MERGE
Change-Id: Ief33e8fa1f5852b5fd221fafc7bc2f7407aca6d1
Auto-generated-cl: translation import
2012-08-27 13:43:42 -07:00
John Spurlock
7e3fdeac54 am a50940a0: am 68cff8c1: Merge "Beans in space." into jb-mr1-dev
* commit 'a50940a0e88b9e9a809201df38411fa629501b6b':
  Beans in space.
2012-08-27 08:13:49 -07:00
John Spurlock
68cff8c117 Merge "Beans in space." into jb-mr1-dev 2012-08-27 08:08:11 -07:00
Baligh Uddin
4dd2763295 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-08-26 16:46:23 -07:00
Baligh Uddin
8f9121bd64 Merge "Import translations. DO NOT MERGE" 2012-08-26 16:44:40 -07:00
John Spurlock
f07439fba4 Beans in space.
Quick example dream reusing the JB bean bag view.

Change-Id: Iad3ecedc9ba2c258bd33fcfbba2e3fc48382bdc8
2012-08-25 13:25:37 -04:00
Dianne Hackborn
43019827a5 am 068a98e6: am a31803fc: Merge "Keep track of whether an app is installed for each user." into jb-mr1-dev
* commit '068a98e6a0bc1e73c9f4fb4e06c208b71ad1aa32':
  Keep track of whether an app is installed for each user.
2012-08-24 14:41:12 -07:00
Dianne Hackborn
7767eac323 Keep track of whether an app is installed for each user.
This add a new per-user state for an app, indicating whether
it is installed for that user.

All system apps are always installed for all users (we still
use disable to "uninstall" them).

Now when you call into the package manager to install an app,
it will only install the app for that user unless you supply
a flag saying to install for all users.  Only being installed
for the user is just the normal install state, but all other
users have marked in their state for that app that it is not
installed.

When you call the package manager APIs for information about
apps, uninstalled apps are treated as really being not visible
(somewhat more-so than disabled apps), unless you use the
GET_UNINSTALLED_PACKAGES flag.

If another user calls to install an app that is already installed,
just not for them, then the normal install process takes place
but in addition that user's installed state is toggled on.

The package manager will not send PACKAGE_ADDED, PACKAGE_REMOVED,
PACKAGE_REPLACED etc broadcasts to users who don't have a package
installed or not being involved in a change in the install state.
There are a few things that are not quite right with this -- for
example if you go through a full install (with a new apk) of an
app for one user who doesn't have it already installed, you will
still get the PACKAGED_REPLACED messages even though this is
technically the first install for your user.  I'm not sure how
much of an issue this is.

When you call the existing API to uninstall an app, this toggles
the installed state of the app for that user to be off.  Only if
that is the last user user that has the app uinstalled will it
actually be removed from the device.  Again there is a new flag
you can pass in to force the app to be uninstalled for all users.

Also fixed issues with cleaning external storage of apps, which
was not dealing with multiple users.  We now keep track of cleaning
each user for each package.

Change-Id: I00e66452b149defc08c5e0183fa673f532465ed5
2012-08-24 13:53:13 -07:00
Baligh Uddin
d8a1a2fdd6 Import translations. DO NOT MERGE
Change-Id: I07e6b289ca90dd42669fbb57ea2f377d3054b7f7
Auto-generated-cl: translation import
2012-08-24 12:38:26 -07:00
Baligh Uddin
6208c6da63 Import translations. DO NOT MERGE
Change-Id: I34bae2ebf2fbf14c76d13c4e2e38c2aa25b3f6d9
Auto-generated-cl: translation import
2012-08-24 12:37:21 -07:00
Jeff Sharkey
ade6351b4f am 33f94286: am 34f86312: Merge "Migrate legacy VPN arguments to system_server." into jb-mr1-dev
* commit '33f942865c27a0af155ec2be2f1154fe7ece6072':
  Migrate legacy VPN arguments to system_server.
2012-08-24 11:37:58 -07:00
Jeff Sharkey
34f8631258 Merge "Migrate legacy VPN arguments to system_server." into jb-mr1-dev 2012-08-24 11:33:00 -07:00
Jeff Sharkey
82f8521d38 Migrate legacy VPN arguments to system_server.
Generate the racoon and mtpd daemon arguments in system_server,
instead of accepting them from Settings.

Bug: 5756357
Change-Id: I42c1a644f6add477fe4222342640d7db15982cb8
2012-08-24 11:29:58 -07:00
Chris Wren
f1dc75f2cd am 27e849c6: am e370c468: Merge "[phones] Only allow double-flick opening of the quicksettings panel." into jb-mr1-dev
* commit '27e849c688ae28add18b65ad7a21a80585926a29':
  [phones] Only allow double-flick opening of the quicksettings panel.
2012-08-24 09:29:19 -07:00
Chris Wren
b8ea2f59e2 [phones] Only allow double-flick opening of the quicksettings panel.
Bug: 7043587
Change-Id: I39d208626c477e8c081c9d81c3124eb631152998
2012-08-24 12:20:30 -04:00
Baligh Uddin
51fabf2319 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-08-23 19:11:34 -07:00
Baligh Uddin
f4dc8ba084 Merge "Import translations. DO NOT MERGE" 2012-08-23 19:04:25 -07:00
Baligh Uddin
22745bf691 Import translations. DO NOT MERGE
Change-Id: I7b293de96a542984f9cfec8d1f7e6c8cadcfc3c9
Auto-generated-cl: translation import
2012-08-23 17:25:03 -07:00
Baligh Uddin
3081c71a83 Import translations. DO NOT MERGE
Change-Id: Ie2c09a688d76f2886909461362de765820d3e255
Auto-generated-cl: translation import
2012-08-23 17:24:01 -07:00
Jeff Sharkey
dd0c05a8d1 am 45a630e8: am d5fc86f0: Merge "Begin moving VPN to NetworkStateTracker pattern." into jb-mr1-dev
* commit '45a630e87ecfa89682d1b8230dd5c6473284e4c1':
  Begin moving VPN to NetworkStateTracker pattern.
2012-08-23 16:52:05 -07:00
Jeff Sharkey
d5fc86f067 Merge "Begin moving VPN to NetworkStateTracker pattern." into jb-mr1-dev 2012-08-23 16:47:50 -07:00
Jeff Sharkey
899223b97c Begin moving VPN to NetworkStateTracker pattern.
Created base tracker that handles common bookkeeping, and move VPN
to become a tracker.  VPN status is now reflected in NetworkInfo, and
is mapped to LegacyVpnInfo.

Legacy VPN now "babysits" any init services it starts, watching for
when they stop unexpectedly.

Bug: 5756357
Change-Id: Iba7ec79da69469f6bd9a970cc39cf6b885b4c9c4
2012-08-23 16:41:06 -07:00
Justin Ho
38e79e60a6 am c2bde010: am fd9619f6: am 3bc03666: am 72404a82: Merge "Update Back softkey icon Bug: 6020915" into jb-dev
* commit 'c2bde01014aa03a2d2a9257a322e127f74d9913e':
  Update Back softkey icon Bug: 6020915
2012-08-23 12:40:02 -07:00
Justin Ho
fd9619f647 am 3bc03666: am 72404a82: Merge "Update Back softkey icon Bug: 6020915" into jb-dev
* commit '3bc03666ccd322f8ebc0c303dabe920b2ae6944c':
  Update Back softkey icon Bug: 6020915
2012-08-23 12:34:37 -07:00
John Spurlock
38aea3a6a6 am d8351a48: am 21b53df7: Merge "Add framework support for multiple dreams." into jb-mr1-dev
* commit 'd8351a48b0836a43e8522d373cc43603c9f92e11':
  Add framework support for multiple dreams.
2012-08-23 10:49:32 -07:00
John Spurlock
21b53df7c3 Merge "Add framework support for multiple dreams." into jb-mr1-dev 2012-08-23 10:44:05 -07:00
Michael Jurka
9df2f93711 am 0cee05b4: am 03f482c3: Merge "Recents: apps scale down to thumbnails now" into jb-mr1-dev
* commit '0cee05b4c03872a52435a6d6f88802faff94a14d':
  Recents: apps scale down to thumbnails now
2012-08-23 05:19:24 -07:00
Michael Jurka
03f482c34d Merge "Recents: apps scale down to thumbnails now" into jb-mr1-dev 2012-08-23 04:57:55 -07:00
Michael Jurka
cb2522c86d Recents: apps scale down to thumbnails now
As a part of this change, Recents is now an
activity.

Known issues:
* Jank: jump-cut as app icon appears suddenly
  after the aniamtion
* Preloading recents is broken on phones without
  soft nav bar and on tablets
* Thumbnail window from animation lingers/flashes
  sometimes

Change-Id: Ie6f991f3c2e1e67f9ed84eb6adba9174ed957248
2012-08-23 04:53:53 -07:00
Baligh Uddin
48df87298a Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-08-22 19:50:06 -07:00
Baligh Uddin
85f0a0cbd7 Merge "Import translations. DO NOT MERGE" 2012-08-22 19:48:22 -07:00
Chet Haase
8acdf69628 am 2a100873: am 5f9e92f4: Merge "Fix animation of notification handle bar when panel changes height" into jb-mr1-dev
* commit '2a100873adb5500122887a0f30331788830eca1b':
  Fix animation of notification handle bar when panel changes height
2012-08-22 15:11:22 -07:00
John Spurlock
1a868b7981 Add framework support for multiple dreams.
Bug:7028665
Change-Id: I4fba6b8e39dc07af4490c621ac3bc7b3867371b2
2012-08-22 16:49:20 -04:00
Justin Ho
3bc03666cc am 72404a82: Merge "Update Back softkey icon Bug: 6020915" into jb-dev
* commit '72404a82d30ff0631a31aed93f221c1fdf210888':
  Update Back softkey icon Bug: 6020915
2012-08-22 12:58:09 -07:00
Baligh Uddin
43172d70c6 Import translations. DO NOT MERGE
Change-Id: I211cd9f8c0edfa0be86cc8b8dc14229698e44524
Auto-generated-cl: translation import
2012-08-22 11:36:57 -07:00
Baligh Uddin
ae1c2d1c15 Import translations. DO NOT MERGE
Change-Id: I56235165dab3db350e0f5918f4f9bca8f33be611
Auto-generated-cl: translation import
2012-08-22 11:35:27 -07:00
Chet Haase
4d179dc6cc Fix animation of notification handle bar when panel changes height
The notification panel uses LayoutTransition to animate changes to
the list of notifications. This works for the items themselves as
items are added or removed; the new/old items animate in/out and the
existing items animate to make or remove space.

But the handle at the bottom of the list (the gray translucent line) does
not play well with these changes. For example, when an item is swiped away
the handle snaps into its new location before the rest of the items have
finished animating.

The problem comes from a constraint of LayoutTransition; it handles changes
to the container it operates on, and to the parent hierarchy all the way up
to the root. However, it cannot animate changes to siblings of the parents.
So when the list resizes due to item changes, the handle (which is in a sibling
of the list) does not animate this change, but just reacts instantly.

The fix is to draw the handle not as a view itself, but rather as part of the
parent container of the list. So as the list animates a resize, the container will
also animate, and any graphics in the container will animate along with it.
No matter what size the container of the list is, the line will be drawn at
the bottom of it.

Issue #7024902 Notification panel animation incorrect when swiping notification out

Change-Id: Ifc412cb6bcdc6ead35993b0320364a2a95a16e11
2012-08-22 07:53:44 -07:00
Justin Ho
962daf9b1c Update Back softkey icon
Bug: 6020915

Change-Id: I780f09bd1e99a10b2189ab253dd1a082118a385d
2012-08-21 14:21:29 -07:00
Chet Haase
f59edadd28 am a5fc3b10: am 66bcbb9e: Merge "Fix notification panel bug which prevented proper resizing" into jb-mr1-dev
* commit 'a5fc3b1011522bfe9345726d0bba8cf903fb88c6':
  Fix notification panel bug which prevented proper resizing
2012-08-21 13:08:03 -07:00
Chet Haase
66bcbb9e39 Merge "Fix notification panel bug which prevented proper resizing" into jb-mr1-dev 2012-08-21 13:03:49 -07:00
Baligh Uddin
09fea9e304 Import translations. DO NOT MERGE
Change-Id: Iade283b5df45c0968fd2ce437b4b7859ca86a68f
Auto-generated-cl: translation import
2012-08-21 10:45:01 -07:00
Baligh Uddin
11780f2f66 Import translations. DO NOT MERGE
Change-Id: Ie9c95838e61ce5fffd21db7cd63f393a7ec2735e
Auto-generated-cl: translation import
2012-08-21 10:43:48 -07:00
Chet Haase
179ec6d0bc Fix notification panel bug which prevented proper resizing
When the notification panel is opened larger than the list's length,
the penl is put into a "rubber band" mode, to animate the bottom of the
panel back to the end of the list. But the rubber band mode is never
unset, which causes an improper result if another notification is ended,
preventing the panel from resizing to the new, appropriate size of the list.

Fix is to unset the rubber banding flag when the snapping animation finishes.

Issue #6992133 Notification bar does not drop down completely in Mako

Change-Id: Id93918086353f58d6eb6bb071556f08eb2e2706e
2012-08-20 17:38:29 -07:00
Benoit Goby
427af58304 am e6bc1238: am 7b7feee8: Merge "Add UsbDebuggingManager and UsbDebuggingActivity" into jb-mr1-dev
* commit 'e6bc1238b7e832c4a568f6bd8a1c769dd1d173ea':
  Add UsbDebuggingManager and UsbDebuggingActivity
2012-08-20 14:52:55 -07:00
Benoit Goby
4e68bd420b Add UsbDebuggingManager and UsbDebuggingActivity
The UsbDebuggingManager listens to adbd requests and displays a dialog
when the public key authentification fails, for the user to confirm if it
wants to allow USB debugging from the attached host. If the user chooses
to always allow USB debugging, the UsbDebuggingManager writes the public
key to adbd's config file so that the public key authenfication succeeds
next time.

Change-Id: I115c828331d8e326c380844ee33915d5dff22260
2012-08-20 13:44:34 -07:00