3307 Commits

Author SHA1 Message Date
Daniel Sandler
c89a553739 am b5ad2fc3: am 8c890f8a: Merge "Work around instability of Display.getRotation()." into jb-mr1-dev
* commit 'b5ad2fc376bec612e21a702ecae6d86ab0eca5fb':
  Work around instability of Display.getRotation().
2012-08-31 12:13:50 -07:00
Daniel Sandler
8c890f8a69 Merge "Work around instability of Display.getRotation()." into jb-mr1-dev 2012-08-31 12:06:42 -07:00
Daniel Sandler
7f3cf9586e Work around instability of Display.getRotation().
Ensures that the navigation buttons are properly oriented
each time the screen comes on.

Bug: 7086018
Change-Id: Iac6243792a8c64001ff7409108fb892bd470e4c4
2012-08-31 14:58:13 -04:00
Sascha Prueter
3a377eb519 am 623232da: am 6beee269: am a3503f26: am 6ee6615d: Merge "Revert "Update Back softkey icon Bug: 6020915"" into jb-dev
* commit '623232da927a162fc15c4d560f0d49e472926e01':
  Revert "Update Back softkey icon Bug: 6020915"
2012-08-31 11:50:40 -07:00
Sascha Prueter
6beee2694c am a3503f26: am 6ee6615d: Merge "Revert "Update Back softkey icon Bug: 6020915"" into jb-dev
* commit 'a3503f2688c69b49a309763d8da7e7c04327d6d7':
  Revert "Update Back softkey icon Bug: 6020915"
2012-08-31 11:46:13 -07:00
Sascha Prueter
a3503f2688 am 6ee6615d: Merge "Revert "Update Back softkey icon Bug: 6020915"" into jb-dev
* commit '6ee6615d8f923a68021d04dc06b20d72c3f8498a':
  Revert "Update Back softkey icon Bug: 6020915"
2012-08-31 11:43:59 -07:00
Sascha Prueter
f14f01cc26 Revert "Update Back softkey icon Bug: 6020915"
This reverts commit 962daf9b1c4b12aff68a137472b6a7f4db123c65

Change-Id: If60099643336e35fe5bf7dcbf68a419bcd7ebae3
2012-08-31 11:39:44 -07:00
Dianne Hackborn
7cd1bfa801 am f59dfc81: am 73365695: Merge "Improve multi-user broadcasts." into jb-mr1-dev
* commit 'f59dfc81f4d1e91aa436ed70d7f8372bce3d91e0':
  Improve multi-user broadcasts.
2012-08-30 15:01:28 -07:00
Dianne Hackborn
73365695e4 Merge "Improve multi-user broadcasts." into jb-mr1-dev 2012-08-30 14:56:11 -07:00
Dianne Hackborn
5ac72a2959 Improve multi-user broadcasts.
You can now use ALL and CURRENT when sending broadcasts, to specify
where the broadcast goes.

Sticky broadcasts are now correctly separated per user, and registered
receivers are filtered based on the requested target user.

New Context APIs for more kinds of sending broadcasts as users.

Updating a bunch of system code that sends broadcasts to explicitly
specify which user the broadcast goes to.

Made a single version of the code for interpreting the requested
target user ID that all entries to activity manager (start activity,
send broadcast, start service) use.

Change-Id: Ie29f02dd5242ef8c8fa56c54593a315cd2574e1c
2012-08-30 14:33:22 -07:00
Daniel Sandler
f72705725b am 7c1aa7f9: am 0dd248ea: Merge "Turn off deadzone flash, replacing it with logcat." into jb-mr1-dev
* commit '7c1aa7f99d0db69b88c75954dc14eff99704f844':
  Turn off deadzone flash, replacing it with logcat.
2012-08-30 14:18:07 -07:00
Daniel Sandler
25bb8eec2d Turn off deadzone flash, replacing it with logcat.
Change-Id: I30db97e5c3a6ef3a06e6065ccf087a7f6d1f9286
2012-08-30 17:10:50 -04:00
Daniel Sandler
ac49e58445 am 4615695e: am 8601e8b3: Merge "Expand the navbar dead zone briefly after touches elsewhere." into jb-mr1-dev
* commit '4615695e49593dc10ad27204dfb93add2d2d5a4c':
  Expand the navbar dead zone briefly after touches elsewhere.
2012-08-29 20:34:36 -07:00
Daniel Sandler
8601e8b3ab Merge "Expand the navbar dead zone briefly after touches elsewhere." into jb-mr1-dev 2012-08-29 20:29:28 -07:00
Daniel Sandler
c26185bb7b Expand the navbar dead zone briefly after touches elsewhere.
For now, each time the dead zone captures a touch, it will
flash to let you know that's what happened. We should
probably turn this off before shipping.

Note also that this currently only expands the navbar on
ACTION_DOWN elsewhere in the UI (because this is the only
time ACTION_OUTSIDE is generated); this isn't perfect and
we'll need to do some mucking about with the input system to
get information about ongoing drags or additional pointers
down, but this CL is a good start and introduces the general
mechanism for expanding and contracting the dead zone.

Change-Id: I43e63aed1e541fd07d83fde4d66bcb5be89b69d2
2012-08-29 20:11:21 -04:00
John Spurlock
9e3421eb06 am 1f2e9b59: am b2c94ec8: Merge "Change default setting for dreams to \'when docked\'" into jb-mr1-dev
* commit '1f2e9b59247c656774ca09449179c001df22cd59':
  Change default setting for dreams to 'when docked'
2012-08-29 15:58:22 -07:00
John Spurlock
4e724c8423 Change default setting for dreams to 'when docked'
Bug:7078718
Change-Id: I4ec74cc9562ab728d6f86938758ede74c241c63b
2012-08-29 17:14:49 -04:00
Jean-Baptiste Queru
df7b5030fa am a62d4133: am c88a80a1: am 15e099cc: am 0e0942c7: Merge "Default WiFi sleep policy setting"
* commit 'a62d413366e656ae9a868a548093327dd648ac7a':
  Default WiFi sleep policy setting
2012-08-29 11:04:03 -07:00
Jean-Baptiste Queru
c88a80a1d7 am 15e099cc: am 0e0942c7: Merge "Default WiFi sleep policy setting"
* commit '15e099cc09589f963933f046d7267552ba3ffad8':
  Default WiFi sleep policy setting
2012-08-29 10:58:35 -07:00
Jean-Baptiste Queru
15e099cc09 am 0e0942c7: Merge "Default WiFi sleep policy setting"
* commit '0e0942c7209c758bc00939ae54059dc24bce3abb':
  Default WiFi sleep policy setting
2012-08-29 10:49:25 -07:00
Erik Ljungberg
7e07147ece Default WiFi sleep policy setting
Creates a defult.xml setting for WiFi sleep policy.

It is now possible, through device overlays, to change
the default sleep policy to e.g. never in order to improve
user experience of WiFi.

Change-Id: Ie459b8e70fdbc7c605452fe0692d7bc26460e939
2012-08-29 09:52:12 +02:00
Amith Yamasani
824b8dedbb am ef81aac0: am 7af0c166: Merge "Fix recents list for multiuser" into jb-mr1-dev
* commit 'ef81aac0cd95871ec8f3638d3cdd27aeea87a0b6':
  Fix recents list for multiuser
2012-08-28 17:08:04 -07:00
Amith Yamasani
7af0c166f0 Merge "Fix recents list for multiuser" into jb-mr1-dev 2012-08-28 17:02:29 -07:00
Amith Yamasani
d2e99565f5 Fix recents list for multiuser
Since the Recents is now an activity running in the respective user's sandbox,
it shouldn't use the special API to get the current user's recent tasks.
Otherwise it causes all users to fetch the state of the current foreground user
instead of their own recents.

Change-Id: Ice8c2978e6a7ae71c44666c79a19ac07a2cbea1b
2012-08-28 15:49:06 -07:00
Baligh Uddin
97d8f83818 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-08-28 15:31:22 -07:00
Baligh Uddin
3dc1998d87 Merge "Import translations. DO NOT MERGE" 2012-08-28 15:25:47 -07:00
Baligh Uddin
6244f0cb4a Merge "Import translations. DO NOT MERGE" 2012-08-28 15:21:17 -07:00
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
Baligh Uddin
1104fadd76 Import translations. DO NOT MERGE
Change-Id: I37cdf72141038d6677c0ffe3f1ef6f65bf6fd78a
Auto-generated-cl: translation import
2012-08-28 13:34:07 -07:00
Baligh Uddin
f0b8748d96 Import translations. DO NOT MERGE
Change-Id: I48ca6880e612f2241744c5647e2850b5045cc898
Auto-generated-cl: translation import
2012-08-28 13:32:53 -07:00
Baligh Uddin
0d51d679b2 Import translations. DO NOT MERGE
Change-Id: I4739f1d06aba86718416cde965590fe9535bde51
Auto-generated-cl: translation import
2012-08-28 13:30:55 -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