Commit Graph

255075 Commits

Author SHA1 Message Date
Adrian Roos
ac52bbec1f Merge \"Fix unresponsive brightness slider after font size change\" into nyc-dev
am: db81dd9d2e

Change-Id: If6af6f296d86ab8856e04ed1707bd61d58414d78
2016-06-16 20:05:13 +00:00
Yujie Qin
e09415344d Merge "Report error correctly for the implementation of StreamInterface::GetData()" into nyc-dev 2016-06-16 19:48:19 +00:00
Wale Ogunwale
0619545be9 Don't re-launch activities while the device is sleeping
- Don't ensure configuration for top running activity that is in the
stopped state if the configuration change while the device is sleeping
as we don't want to relaunch activities in this state.
- Don't make activities visible while the device is sleeping and the
activity isn't in voice interaction mode. Making it visible can also
lead to the activity been relaunched due to configuration changing.

Note the the right configuration will be applied to the activity the next
time we try to make it visible. The re-launch will happen then.

Bug: 28518380
Change-Id: Ic22193db645dec358065cb05e7f1afc6fc8ac49f
2016-06-16 12:39:11 -07:00
Adrian Roos
db81dd9d2e Merge "Fix unresponsive brightness slider after font size change" into nyc-dev 2016-06-16 19:25:49 +00:00
Steve McKay
be8b6e6164 Merge \"Include cause when reporting errors.\" into nyc-dev
am: 60585e6c54

Change-Id: I9a0ba14d358fedd7287e4bd0c5710953a9f21d27
2016-06-16 19:18:28 +00:00
TreeHugger Robot
60585e6c54 Merge "Include cause when reporting errors." into nyc-dev 2016-06-16 19:14:06 +00:00
Felipe Leme
f2326e947c Merge \"Check extra type before blindingly casting to Parcelable.\" into nyc-dev
am: 47c3afa10b

Change-Id: I4cb74a467a10ee3d38db91fde077263179bf9359
2016-06-16 18:53:47 +00:00
TreeHugger Robot
47c3afa10b Merge "Check extra type before blindingly casting to Parcelable." into nyc-dev 2016-06-16 18:47:51 +00:00
Dianne Hackborn
403e103eb2 Merge \"Fix issue #29371078: Foreground jobs should not count...\" into nyc-dev
am: 47cfac6803

Change-Id: I1de87ba1e5d14f5f9bd66cde733517e3fc5e71f3
2016-06-16 18:43:37 +00:00
Dianne Hackborn
47cfac6803 Merge "Fix issue #29371078: Foreground jobs should not count..." into nyc-dev 2016-06-16 18:39:03 +00:00
Andrii Kulian
ad6f2e580f Bring task to front when we can't move to adjacent stack
If task was requested to move to adjacent stack with mLaunchStackId set
and FLAG_ACTIVITY_LAUNCH_ADJACENT not set - we don't move it from its
current stack. If the task was covered with other task(s) it wouldn't
be brought to front.
This CL checks if mLaunchStackId is provided and is a valid stack for this
task, then we move it to front of current stack as a safer option.

Bug: 29103549
Change-Id: I3065960f082cfbf9a5b43c6e83b5cebe3dd69df6
2016-06-16 11:31:19 -07:00
Andrew Solovay
02e2cb979e docs: Minor update to DP4 release notes
Added a new section from Dirk, with a couple of gotchas for people
updating from API level ≤22 to 24.

See first comment for doc stage location.

Change-Id: I237e9efac75b9c1e0fbeecf362dbc0de7c958c60
2016-06-16 11:15:39 -07:00
Gustav Sennton
4a352d2c41 Merge \"Support using uninstalled WebView packages as WebView implementation.\" into nyc-dev
am: e25c8532b6

Change-Id: Idf2b200364c7b760f82f5138b7aba0bd63bcf12b
2016-06-16 17:47:21 +00:00
Steve McKay
56d950c5e6 Include cause when reporting errors.
Bug: 29191892
Change-Id: I5f904da3a8564ec68ca634c28e3eda7f496a5c1c
2016-06-16 10:41:50 -07:00
Gustav Sennton
e25c8532b6 Merge "Support using uninstalled WebView packages as WebView implementation." into nyc-dev 2016-06-16 17:40:10 +00:00
Felipe Leme
75aa534d3a Check extra type before blindingly casting to Parcelable.
BUG: 29402928
Change-Id: If1729b8a4fcde724372b0a23cfae723a5d9b4faa
2016-06-16 10:25:06 -07:00
John Stultz
efeda4694b DisplayEventDisplatcher: Quiet down dispatcher Vsync pulse messages
My logcat is packed with these dispatcher vsync pulse messages
that really don't seem to be describing an error case (though
maybe I'm wrong?).

So quiet it down a bit and set the loglevel to verbose.

Change-Id: Ic4359f64f9cecfc1ffe49275f5f63327ba1b6f1d
Signed-off-by: John Stutlz <john.stultz@linaro.org>
2016-06-16 10:24:43 -07:00
Sudheer Shanka
cd50529e6f Reduce shell power over user management.
Remove MANAGE_USERS permission from shell and whitelist it for
some specific functionality.

Bug: 29189712
Change-Id: Ifb37448c091af91991964511e3efb1bb4dea1ff3
2016-06-16 10:17:02 -07:00
Yi Kong
b72fa52282 Merge \\"Track libcore change 45f477557ddaf68cb2fe9603544b95c0e7af9a92\\" am: 1850851670
am: f5bdd8eae6

Change-Id: Iea16189bfbce1b11fa4a91501daba94c2c83a380
2016-06-16 17:08:09 +00:00
Yi Kong
f5bdd8eae6 Merge \"Track libcore change 45f477557ddaf68cb2fe9603544b95c0e7af9a92\"
am: 1850851670

Change-Id: I6997e3b34d87cb091be99318ea1743c972ca1c84
2016-06-16 17:02:37 +00:00
Dan Willemsen
fd1854cdfa resolve merge conflicts of 20d55a7 to stage-aosp-master
am: 5f551b3fdc

Change-Id: I327901f4bcca937a8376c1a6d604d7293828b0c9
2016-06-16 17:01:55 +00:00
Dan Willemsen
5f551b3fdc resolve merge conflicts of 20d55a7 to stage-aosp-master
Change-Id: Ie2a1beb527ab60f8a3966a14e66330e69a148b59
2016-06-16 09:54:28 -07:00
Alan Viverette
7df9b45bfe Notify user when application does not support current display zoom
Bug: 29322470
Change-Id: Id33215f6b0b20b332c3c9101aedf9de0261ee5ea
2016-06-16 12:47:58 -04:00
Sudheer Shanka
bf0a9a7445 Add pm operation to set user restrictions.
Bug: 29189712
Change-Id: I6fdb3b68dfe3f51119e5ce8008880fc7d9c793df
2016-06-16 09:43:29 -07:00
Yorke Lee
0e85247195 Limit global drags to apps targeting SDK 24 and above
Bug: 29127791

Change-Id: Ib5f85a207bdb79eeac0418fda78e452d225761bc
2016-06-16 09:35:40 -07:00
Todd Kennedy
e084a08ff5 Merge \"Make sure we\'re locked\" into nyc-dev
am: 32d67fab83

Change-Id: Iff90d36636b01542ed8a7e088f403b6554cbd91a
2016-06-16 16:34:11 +00:00
Todd Kennedy
32d67fab83 Merge "Make sure we're locked" into nyc-dev 2016-06-16 16:22:54 +00:00
Yi Kong
53cf79e185 Merge "Track libcore change 45f477557ddaf68cb2fe9603544b95c0e7af9a92" into nyc-dev-plus-aosp 2016-06-16 16:17:49 +00:00
Yi Kong
1850851670 Merge "Track libcore change 45f477557ddaf68cb2fe9603544b95c0e7af9a92" 2016-06-16 16:16:00 +00:00
Yi Kong
ade5c7c893 Track libcore change 45f477557ddaf68cb2fe9603544b95c0e7af9a92
Change-Id: Id1de514f0fc46fead029036ad5aded8ec9899119
(cherry picked from commit af823e0ebf)
2016-06-16 17:14:36 +01:00
Sudheer Shanka
53d414745c Allow apps with CREATE_USERS permission to create restricted users.
Bug: 29189712
Change-Id: I0f2677adddb22c11cb5a3e38763b0967d9cbd541
2016-06-16 09:11:08 -07:00
Przemyslaw Szczepaniak
7d09db2830 Track libcore change I9138244ba1f30ec32b20c1c6394392742ffc3b2c
test-current.txt update

Bug: 28666126
Change-Id: Ib03eaba0277fbfbd3088044651295971aebf7a64
(cherry picked from commit aa021e854e)
2016-06-16 15:58:27 +00:00
Treehugger Robot
20d55a7779 Merge "Remove unused link to libcutils" 2016-06-16 15:56:50 +00:00
Amith Yamasani
f11a574027 Clean up ex-users in lock settings db
Just in case a userid was not properly cleaned
when the user was removed, make sure it is
cleaned up when a new user takes up the same
userid. This prevents inconsistent lockscreen
state and avoids a crash in Settings when trying
to set a password for the new user.

Fixes: 29412112
Change-Id: Ic4f0efbb97786b0290c74325b28c9d74825e9e53
2016-06-16 08:31:56 -07:00
Victor Chang
9feb501659 Merge \"Fix that work apps settings page crash after changing work profile to use separated lock\" into nyc-dev
am: 6437205648

Change-Id: Id19fe2488406a3891cd433d8b1e9273a28b48fbb
2016-06-16 15:21:12 +00:00
Victor Chang
6437205648 Merge "Fix that work apps settings page crash after changing work profile to use separated lock" into nyc-dev 2016-06-16 15:13:34 +00:00
Gustav Sennton
0df2c5566a Support using uninstalled WebView packages as WebView implementation.
A package can be uninstalled for the system user but still be installed
on the device. Currently, we do not use such a package as WebView
implementation which means we fall back to using the fallback WebView
package.
However, if the fallback package is not valid (because it needs to be
updated first) loading WebView will fail.

With this change we fetch allow the fetching of information from
packages that are uninstalled for the system user so that we can still
load WebView when the only valid WebView provider is uninstalled for the
system user.

Also listen to package additions/changes/removals for all users -
otherwise we won't notice when a package becomes replaced if it was
already uninstalled for the system user.

Bug: 29321185
Change-Id: Ia23c4493844877aea1b4eab7e666fd37540c4f97
2016-06-16 15:45:45 +01:00
Todd Kennedy
3d5604dc90 Make sure we're locked
Before calling a method ending with LPw, we need to have the mPackages lock.
Make sure we do that.

Also, ditch the iterator for traversing an ArraySet.

Bug: 29356333
Change-Id: I67df971f2961b577f31153cef46fb153458d6965
2016-06-16 07:08:09 -07:00
Tony Mak
63966b3e12 Allow stopping user to access AppWidgetService API
We now have isUserRunning && isUserKeyUnlockedisUserUnlocked instead of
having isUserUnlockingOrUnlocked. The difference is
we now allow stopping unlocked user to access the API.

Testing:
Write a simple widget which keep calling AppWidgetManager API in a loop.

1. In non-FBE mode, place the widget to launcher.
   Turn off work mode. No crash is observed.
2. Repeat 1 in FBE mode with separated work challenge.
3. Repeat 1 in FBE mode with no separated work challenge
4. Repeat 2 and reboot the device. Unlock work profile, widget is shown
5. Repeat 3, reboot device, widget is shown after rebot


Change-Id: I2fa9f602dcb0befff41fc6b145e9855e82d8d7a8
Fix: 29264823
2016-06-16 14:57:00 +01:00
Yi Kong
af823e0ebf Track libcore change 45f477557ddaf68cb2fe9603544b95c0e7af9a92
Change-Id: Id1de514f0fc46fead029036ad5aded8ec9899119
2016-06-16 14:29:41 +01:00
Joachim Sauer
69147f24ae Merge \\"API updated for ICU4J 57.1\\" am: 4861329f57
am: 438dc91a41

Change-Id: I16a88e2346435b60cc7844784f30be82a775bf5d
2016-06-16 13:09:12 +00:00
Fredrik Roubert
438dc91a41 Merge \"API updated for ICU4J 57.1\"
am: 4861329f57

Change-Id: I28a8fe77f81a0cb24ed7044046c06677b44c812c
2016-06-16 13:03:50 +00:00
Joachim Sauer
4861329f57 Merge "API updated for ICU4J 57.1" 2016-06-16 12:38:30 +00:00
Przemyslaw Szczepaniak
720f31e238 Merge \\"Track libcore change I9138244ba1f30ec32b20c1c6394392742ffc3b2c\\" am: 47ef3bf172
am: d37e23c50c

Change-Id: I852b8efb010fecf7079679694c45d6d8300ea408
2016-06-16 12:38:20 +00:00
Przemyslaw Szczepaniak
d37e23c50c Merge \"Track libcore change I9138244ba1f30ec32b20c1c6394392742ffc3b2c\"
am: 47ef3bf172

Change-Id: I15352fb15ffb6d427ddf92cb084c2cfc4c0f8368
2016-06-16 12:33:21 +00:00
Przemyslaw Szczepaniak
47ef3bf172 Merge "Track libcore change I9138244ba1f30ec32b20c1c6394392742ffc3b2c" 2016-06-16 12:26:51 +00:00
Przemyslaw Szczepaniak
a82f0622f1 Track libcore change I9138244ba1f30ec32b20c1c6394392742ffc3b2c
Bug: 28666126
Change-Id: I52b859a5504536413f74c1e27d3eb7f1f930dc20
2016-06-16 13:07:31 +01:00
Ricky Wai
c42f5c4410 Merge \"Add permission checking on service calls in LockSettingsService\" into nyc-dev
am: 43f6a45e7e

Change-Id: I061297e1cd98535f666141ea7709d97c3b490f60
2016-06-16 10:38:46 +00:00
Ricky Wai
43f6a45e7e Merge "Add permission checking on service calls in LockSettingsService" into nyc-dev 2016-06-16 10:33:23 +00:00
Bill Yi
1ddd928abf Merge \"Import translations. DO NOT MERGE\" into nyc-dev
am: d58da1be76  -s ours

Change-Id: I892cb57187ad5229701d24112490ac48182c5319
2016-06-16 10:26:34 +00:00