| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was initially about the Clock widget crashing repeatedly on some
devices with multiple users. Turned out that there were race conditions
when switching users that could result in remote views of one user calling
back to the RemoteViewsAdapter in keyguard that in turn sent an incorrect widget id
to a different user's widget, resulting in a crash.
Since KeyguardHostView is instantiated in the same process for different users,
it needs to carry a user identity to pass along to AppWidgetService so that
remote views services were bound to the correct user and callbacks were attached and
detached properly.
Added some aidl calls that take the userId to do the binding properly. A more
complete fix might be needed in the future so that all calls from Keyguard carry
the user id.
Also, there was a problem in comparing host uid for secondary users, since Settings
for a secondary user has a different uid than keyguard. Not an issue on single-user
systems. Changed the host.uid comparison to accomodate for the secondary user.
Bug: 7450247
Change-Id: Idbc36e3c60023cac74174f6cb7f2b2130dd3052c
|
|\
| |
| |
| | |
(issue 7550090)" into jb-mr1.1-dev
|
| |
| |
| |
| |
| |
| | |
7550090)
Change-Id: I25acb7bde2e8e5ac3185a009f5c7151b81f0ae19
|
|/
|
|
|
|
|
|
|
| |
This will continue to crash as before, but will show some useful
information in the exception.
Bug: 7450247
Change-Id: Ib3160a5f64154517791d165973c12294ecd09901
|
|
|
|
|
| |
Bug: 7550012
Change-Id: Ia9f5266256016eb91bfd6a2d5a7f910c42948f1e
|
|
|
|
| |
Change-Id: I5d0675f0c03677e06371a6730209c3466c6b0f15
|
|
|
|
| |
Change-Id: If776bc22c48525ba91dc7e4dd0e27de92612f2f5
|
|
|
|
|
|
|
|
| |
Also, if we have no widgets in lockscreen,
reinflate the default widget. If that fails,
inflate the built-in clock (KeyguardStatusView)
Change-Id: I2e90ab0893c993a755700e075e4a8ac5a685e0f2
|
|
|
|
| |
Change-Id: Ieb6c57ef736712b3266de08027f9626104cdf1bb
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mark user 0 as initialized, otherwise it will show up as
uninitialized when viewed from secondary user if never switched to user 0.
Bug: 7301595
Also clean up any users that were in the process of being removed, if device
crashes at a bad time.
Change-Id: Ic16a6c9ccb6a64b7463725f6cc279335a821fcd5
|
|
|
|
|
|
| |
update yet. (Bug 7214731)
Change-Id: I4da99c259df51f8f66d3ade1156040bd0360ca5d
|
|
|
|
|
|
| |
called. (Bug 7214731)
Change-Id: Ie19b629deea9133800df265a2cebedc8bcb2a74d
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: 7247911
Bug: 7294899
Also did some cleanup of unused code that resulted from refactoring
the app widget service. Fixed a few more ambiguous calls that weren't
using the correct user id.
Added some logging and improved the dump() formatting.
Change-Id: I27abb5c6341458e1e50a2cc9ab67e8de573ab283
|
|
|
|
|
|
|
|
| |
-> Fixes issue 7208464
-> Fixed issue with partial update as well, should address
issue 7214731
Change-Id: Ib8d9d5bee68b4fa7d6b4fbbc2f6609c287689958
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For apps that are only installed on secondary users, the SystemUI is
unable to see them by default. Added some methods to explicitly pass the
userId of the user the resources are requested for by the StatusBarIcon
Bug: 7214384
Also fix binding to remote views
Bug: 7192802
Change-Id: I5d6c5f624aa37fb231f3467f9764c8d99077a91d
|
|\ |
|
| |
| |
| | |
Bug: 7182054
|
| |
| |
| |
| | |
Change-Id: I3d470a18bd14a4040dffb0b0d8a11e282546057e
|
|/
|
|
|
|
|
| |
-> This is a good change to the widget framework that I've wanted to
make for a while, but issue 7174198 triggered the immediate need.
Change-Id: I3f267e0e67f2d9f28920bb53973af365a3c9e0ba
|
|
|
|
| |
Change-Id: Iade094c6f32a7653bdbbd4921d345d68f2443ff4
|
|
|
|
| |
Change-Id: I3b0f410707d37436732c45b572c2f588427a784f
|
|
|
|
|
|
|
|
|
| |
-> Persisting certain appwidget options
-> Adding ability to specify appwidget options on bind
so as to avoid AppWidgetProvider update call with no
options.
Change-Id: I5631039f19f1822b8e123b559b6353c880c0192e
|
|
|
|
|
|
|
|
|
|
| |
Environment.getUserSystemDirectory(int userId)
Use it all relevant places that was hardcoding it.
Also, wipe out the user's system directory when user is removed, otherwise old state
might be transferred to a new user.
Change-Id: I788ce9c4cf9624229e65efa7047bc0c019ccef0a
|
|
|
|
|
|
| |
Fix a couple of places where incorrect userIds were being passed in.
Change-Id: I398c676e0488ff7e584be96e96c8b32652134238
|
|
|
|
|
|
| |
Gets rid of "yet another integer" confusion.
Change-Id: Id07ea7307aea7c62f0087c6663a1f1c08e2e5dee
|
|
|
|
|
|
| |
This is the start of turning this into a formal public API.
Change-Id: I5786d2c320f1de41a06ed5d0f65adb68967287a0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Expose the existing Context.sendBroadcast() as
Context.sendBroadcastAsUser().
- Add new android:singleUser attribute for services.
- Add new INTERACT_ACROSS_USERS_FULL permission for full
system-level access to cross-user interface (allows
sendBroadcastAsUser() to send to any receiver).
- Add new INTERACT_ACROSS_USERS_FULL permission for
more restricted cross-user interaction: this is required
for android:singleUser, and allows you to use
sendBroadcastAsUser() but only to send to your own
receivers.
Change-Id: I0de88f6718e9505f4de72e3f45d29c0f503b76e9
|
|
|
|
| |
Change-Id: Ib34e294747405b7ab709cb0bbb2d9a0cc80ce86a
|
|
|
|
|
|
|
|
|
|
| |
We don't actually need the raw size in these places.
The logical size is good enough.
Starting to move dependencies on surface flinger
and window manager out of the Display class.
Change-Id: I2065bee8e5bf7f42c5a452dd1e8479e40ebb0d37
|
|
|
|
|
|
| |
-> As noted here: http://code.google.com/p/android/issues/detail?id=35014
Change-Id: Id5d1c47b6961d4b448453d8b16700801c0137f2b
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I9d676fbb2110f01eb1d36adc59437a6a5ec97cc2
|
|\ \
| |/
|/|
| |
| |
| |
| | |
6597440)" into jb-dev
* commit '037faad0f437c5fdc5435c030ef03d61de75090f':
Increase bitmap memory cap for widgets (Bug 6597440)
|
| |
| |
| |
| | |
Change-Id: I4149b8c5f204f10ebf0ef1f8d03709c0559178d0
|
|/
|
|
|
|
| |
(Bug 6602951)
Change-Id: I76d688b10ee7775b4ebe81259713f2aaf0009d05
|
|
|
|
| |
Change-Id: I04e16223861a88d40ad757afa086a0f92e84493b
|
|\
| |
| |
| | |
Review issue" into jb-dev
|
| |
| |
| |
| |
| |
| | |
-> (issue 6427146), (issue 6427861)
Change-Id: Ib69a9b3717a5b62317ec227936bc3b2fd5954043
|
|/
|
|
|
|
|
|
|
|
| |
Bug: 6393606
Migrate the old appwidgets.xml if the file doesn't exist,
not if the directory doesn't exist. It worked earlier because
this was the first service that I migrated to multi-user :(
Change-Id: I59bcbc31ff9d101e44dff5e5f44b3cab8f08dc06
|
|
|
|
| |
Change-Id: I1a3761c1a0f557a32d4d3bdd0207567fec918ba7
|
|
|
|
| |
Change-Id: I57738c92b6a0ba68ae66b19a533559470c64e6f1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Broadcast intents that get sent out when users are added/removed/switched.
More work on generating user-specific information in package manager queries.
APIs to update user name and query a user by id.
Removed Package.mSetStopped and mSetEnabled, since they're not user specific.
User removal:
- Cleanup ActivityManager, PackageManager, WallpaperManager, AppWidgetService
and AccountManager.
- Shutdown processes belonging to the user.
Don't show vibrate option in long-press power if there's no vibrator.
Lock the screen when switching users, to force unlocking.
Change-Id: Ib23a721cb75285eef5fd6ba8c7272462764038fa
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Packages can be enabled/disabled per user.
This requires maintaining stopped/launched states and
enabled / disabled components and packages per user.
Refactored pm.Settings and PackageSettingsBase to keep
track of states per user.
Migrated the stopped-packages.xml to users/<u>/package-restrictions.xml
Changed intent resolution to handle individual user restrictions.
Bunch of IPackageManager calls now have a userId argument.
Make AppWidgetService handle removals of packages.
Added some tests for pm.Settings and PackageManager.
Change-Id: Ia83b529e1df88dbcb3bd55ebfc952a6e9b20e861
|
|
|
|
|
|
|
|
|
|
| |
Some changes in AppWidgetService were interfering with widget permissions.
Added some hidden methods in Context to communicate the requesting user
information instead of using the calling uid.
Bug: 6019296
Change-Id: I5e519fd3fbbfa5b3fcc5c297b729c671dac8e7c7
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Allow each user to have their own wallpaper (live or static).
- Migrate old wallpaper on upgrade.
- Update SystemBackupAgent to backup/restore from primary user's
new wallpaper directory.
Reduce dependency on Binder.getOrigCallingUser() by passing the
userId for bindService.
Change-Id: I19c8c3296d3d2efa7f28f951d4b84407489e2166
|
|
Switching activity stacks
Cache ContentProvider per user
Long-press power to switch users (on phone)
Added ServiceMap for separating services by user
Launch PendingIntents on the correct user's uid
Fix task switching from Recents list
AppWidgetService is mostly working.
Commands added to pm and am to allow creating and switching profiles.
Change-Id: I15810e8cfbe50a04bd3323a7ef5a8ff4230870ed
|