Commit Graph

57851 Commits

Author SHA1 Message Date
Fyodor Kupolov
85f3402d31 Merge "Check multi-user support in isUserSwitcherEnabled" 2015-09-30 21:58:19 +00:00
Daniel Erat
12f63ce616 am f0e87446: am d3e3d889: am c3f37589: Merge "Update instructions in IPowerManager.aidl."
* commit 'f0e8744620cc95464dcb7622f3582d70cb7bc364':
  Update instructions in IPowerManager.aidl.
2015-09-30 21:54:54 +00:00
Daniel Erat
f0e8744620 am d3e3d889: am c3f37589: Merge "Update instructions in IPowerManager.aidl."
* commit 'd3e3d8896ea0f2eba1424b57ac8a5b5d9287000c':
  Update instructions in IPowerManager.aidl.
2015-09-30 21:39:01 +00:00
Daniel Erat
d3e3d8896e am c3f37589: Merge "Update instructions in IPowerManager.aidl."
* commit 'c3f37589e04a52c109c63f6411db444500d4f92c':
  Update instructions in IPowerManager.aidl.
2015-09-30 21:30:31 +00:00
Chong Zhang
5482018a31 Merge "Only send touch event in NonClientDecorView to caption bar" 2015-09-30 21:18:17 +00:00
Roozbeh Pournader
0223804e05 Merge "Add LocaleList support to content.res.Resources." 2015-09-30 21:13:57 +00:00
Chong Zhang
509ea6b285 Only send touch event in NonClientDecorView to caption bar
bug: 24537314
Change-Id: I3735398b2c9425b11c44f37669ba7267f9cc32bf
2015-09-30 14:12:11 -07:00
Fyodor Kupolov
cd86ebf1c9 Check multi-user support in isUserSwitcherEnabled
isUserSwitcherEnabled now returns false if multi-user is disabled(
supportsMultipleUsers() returns false).

Removed GUEST_USER_ENABLED setting and replaced with DPM.getGuestUserDisabled
check. It currently always returns false, but will be replaced with an actual
policy check.

Bug: 17571233
Change-Id: I41853e8b321b2537952cac5d92e88bfdb8cbd9a8
2015-09-30 14:08:01 -07:00
Daniel Erat
22f58762e1 Update instructions in IPowerManager.aidl.
Clarify IPowerManager.aidl's instructions for keeping the
C++ implementation in sync.

Change-Id: Ic51a3844483031e71fe2cfa1d3e8a065df86d119
2015-09-30 14:55:35 -06:00
Jeff Sharkey
54c331a05b am 5dfd06f7: am c2fa99ed: am 792a9cc3: am 30fd0628: Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev
* commit '5dfd06f7d00476dcffb933584ef7e083469215e3':
  Relax auto-launch checks for GET_CONTENT.
2015-09-30 20:36:50 +00:00
Jeff Sharkey
5dfd06f7d0 am c2fa99ed: am 792a9cc3: am 30fd0628: Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev
* commit 'c2fa99edf1591eca47ad678889cfd4924f2470a8':
  Relax auto-launch checks for GET_CONTENT.
2015-09-30 20:27:36 +00:00
Jeff Sharkey
792a9cc3a5 am 30fd0628: Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev
* commit '30fd0628970b418dea382b388120f52504ff2243':
  Relax auto-launch checks for GET_CONTENT.
2015-09-30 20:11:22 +00:00
Robin Lee
d47f68a807 Merge "Call into PackageManager as mContext, not myUserId" 2015-09-30 19:57:28 +00:00
Toni Barzic
ec38751836 Merge "Forward SeekBarPreference key events to seekBar view" 2015-09-30 19:13:42 +00:00
Julia Reynolds
f4eb180e73 Merge "Third party DND provider APIs." 2015-09-30 18:01:05 +00:00
Julia Reynolds
a47a27ffd9 Third party DND provider APIs.
Bug: 22977552
Change-Id: I8c1bac317e9aa5d9565afe3f0c4e2be8fc34e6a9
2015-09-30 13:39:12 -04:00
Toni Barzic
e9889bf372 Forward SeekBarPreference key events to seekBar view
This is to ensure that seek bar progress gets properly updated,
and that progress changes reported by the seek bar are marked as
coming from user.

BUG=24416333
BUG=20049245

Change-Id: I0a48c8eae1528937024ca54720cac91c7d21b0b9
2015-09-30 10:22:06 -07:00
Toni Barzic
7c082caf65 Merge "Mark progress updates from AbsSeekBar.trackTouchEvent as from user" 2015-09-30 17:08:01 +00:00
Jeff Sharkey
30fd062897 Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev 2015-09-30 16:22:17 +00:00
Jason Monk
45b1ae3463 Merge "Add more QS tiles" 2015-09-30 13:57:00 +00:00
Seigo Nonaka
f03d7994bd Merge "Reduce the number of TextAppearanceSpan objects for highlighting." 2015-09-30 04:39:26 +00:00
Adam Lesinski
eda63f4bf9 am 67ee88e8: am 8b7beaec: am 8197e2de: am ffc6ce00: Merge "Fix asymmetry in parceling/unparceling code for BatteryStats summary" into mnc-dr-dev
* commit '67ee88e8ad19f0dc67add174903f24a7c479e74f':
  Fix asymmetry in parceling/unparceling code for BatteryStats summary
2015-09-29 23:51:23 +00:00
Adam Lesinski
67ee88e8ad am 8b7beaec: am 8197e2de: am ffc6ce00: Merge "Fix asymmetry in parceling/unparceling code for BatteryStats summary" into mnc-dr-dev
* commit '8b7beaecffde9a98b50cd33be893b7944f2ab271':
  Fix asymmetry in parceling/unparceling code for BatteryStats summary
2015-09-29 23:45:28 +00:00
Filip Gruszczynski
0daf2102a2 Fix leaking the first activity while preserving windows.
This is achieved by not having the decor view hold onto the activity
context. Instead, we are wrapping application context, so that we can
have theme support and also have a special instance of window manager
that is aware of the phone window (the same way as activity do).

This reverts commit a5ffea3b7d.

Change-Id: I924f4c7ef8f0d20e9174bd7b3e00ec00b44443b9
2015-09-29 16:31:40 -07:00
Adam Lesinski
8197e2de06 am ffc6ce00: Merge "Fix asymmetry in parceling/unparceling code for BatteryStats summary" into mnc-dr-dev
* commit 'ffc6ce000568c08a50f7b538bd4cd7729e64c229':
  Fix asymmetry in parceling/unparceling code for BatteryStats summary
2015-09-29 23:30:27 +00:00
Adam Lesinski
ffc6ce0005 Merge "Fix asymmetry in parceling/unparceling code for BatteryStats summary" into mnc-dr-dev 2015-09-29 23:22:59 +00:00
Toni Barzic
deb2ad56ea Mark progress updates from AbsSeekBar.trackTouchEvent as from user
Looks like this one was missed in Iafa32538b4f92705c4c1ca2a02145c078add2532
when setProgress(int, boolean) went from setProgress(progress, fromUser) to
setProgress(progress, animate)

BUG=24416333

Change-Id: Id22f4d67986a24c907f61e22866ae43ffdfe79b8
2015-09-29 15:52:49 -07:00
Chong Zhang
fdb5d2f7ce Merge "Carry over app token when preserving window" 2015-09-29 21:11:36 +00:00
Chong Zhang
a8be1b99ec Carry over app token when preserving window
Otherwise the token in the window's attr will be null after relaunch.
When this attr is updated with WindowManagerGlobal, setStoppedState()
will no longer find the view from the token.

bug: 24404382
Change-Id: Ib6935b03346a84dd023e224f72896041fda9dcd5
2015-09-29 13:58:46 -07:00
Jason Monk
abe1974a11 Add more QS tiles
(only for paging prototype)

Change-Id: Ifb09e3262540a486c9ee7e83a904f96cc4e33fec
2015-09-29 16:47:15 -04:00
Jeff Sharkey
cc2ae6b421 Relax auto-launch checks for GET_CONTENT.
When a developer wraps an intent with Intent.createChooser(), they're
indicating that the user should always be prompted, instead of using
any "always use" defaults.  A recent CL changed the chooser behavior
to ensure that UI is always shown in the case where there is only one
match.

However, this caused us to start prompting for the GET_CONTENT intent,
for which there is only ever one DocumentsUI system app.  Since that
app delivers on the createChooser() contract described above, we're
okay automatically launching it.

Bug: 24464358
Change-Id: I0279d3343479c134a35f41ddf3cb4204d0ae6a90
2015-09-29 13:04:48 -07:00
Abodunrinwa Toki
66e47b6aa1 Merge "FloatingToolbarEspressoUtils + more TextView selection by touch tests" 2015-09-29 18:44:41 +00:00
Wale Ogunwale
e5ec210bb1 Merge "Inform activity manager of stack/task rotation bounds changes in WM" 2015-09-29 18:14:08 +00:00
Alan Viverette
7141cba640 Merge "Clear stack trace from re-thrown inflater exceptions" 2015-09-29 16:25:42 +00:00
Alan Viverette
9dccff0878 Merge "Unhide PopupWindow.getMaxAvailableHeight(View, int, boolean)" 2015-09-29 16:24:42 +00:00
Abodunrinwa Toki
8a5e1ae2f4 FloatingToolbarEspressoUtils + more TextView selection by touch tests
Bug: 24102650
Change-Id: Idd7d8b29ad8cfdf10d75137762bb1cb677bda6b7
2015-09-29 15:27:11 +01:00
Robin Lee
0e27c87af6 Call into PackageManager as mContext, not myUserId
ApplicationPackageManager instances can (and sometimes are) created as another
user from the one they run in. Example use: fetching the application icon for
an app installed as another user.

The occurrences that weren't doing this aren't ever called on a cross-user
instance so it should be safe enough to fix all of them.

Change-Id: Ia63f22942f35450e36a7b8da2bbf8eda360ef21a
2015-09-29 14:08:53 +01:00
Nicolas Prévot
8392b394f2 Merge "Add more methods that take a userId to PackageManager." 2015-09-29 10:00:56 +00:00
Chris Tate
f7560a697c Merge "Fix symlink handling during backup" 2015-09-29 00:16:51 +00:00
Fyodor Kupolov
76ce8473ca Merge "Fixed VPN support for restricted profiles in split system user model" 2015-09-29 00:04:45 +00:00
Fyodor Kupolov
1c36315a36 Fixed VPN support for restricted profiles in split system user model
In a new split system user model, owner of a restricted profile is not limited
to just user0. restrictedProfileParentId field should be used to get an owner.

Bug: 22950929
Change-Id: I928319a9450e543972237a42267eb2404e117c83
2015-09-28 16:44:04 -07:00
Bill Rassieur
84b6bb1826 am 6e78bb42: am 2711eb4c: am 3de2d53a: am c25d5460: Merge "Fix jank: Don\'t write lockout deadline if not needed" into mnc-dr-dev
* commit '6e78bb42fc8af64f4f2208b48585451793e303c9':
  Fix jank: Don't write lockout deadline if not needed
2015-09-28 23:30:29 +00:00
Bill Rassieur
6e78bb42fc am 2711eb4c: am 3de2d53a: am c25d5460: Merge "Fix jank: Don\'t write lockout deadline if not needed" into mnc-dr-dev
* commit '2711eb4c3950ee0b5776c07957f0af3c31aa1c67':
  Fix jank: Don't write lockout deadline if not needed
2015-09-28 23:19:32 +00:00
Bill Rassieur
3de2d53a75 am c25d5460: Merge "Fix jank: Don\'t write lockout deadline if not needed" into mnc-dr-dev
* commit 'c25d546050423845c42a5e8cc8e356caa1f4f71a':
  Fix jank: Don't write lockout deadline if not needed
2015-09-28 23:09:10 +00:00
Bill Rassieur
c25d546050 Merge "Fix jank: Don't write lockout deadline if not needed" into mnc-dr-dev 2015-09-28 23:02:46 +00:00
Wale Ogunwale
1ed0d89e7e Inform activity manager of stack/task rotation bounds changes in WM
Change-Id: I342093d8af1d397ab4894146f9b288bdfdc464f0
2015-09-28 15:58:37 -07:00
Roozbeh Pournader
47571c76af Add LocaleList support to content.res.Resources.
Also remove the adjustLocales() method, since it's no longer possible
to create non-adjusted Locale objects using the public API.

The implementation is still in progress: currently only the first
locale in the list is passed down to the native code.

(Also fix the order of imports based on Android style.)

Change-Id: I325d7a2c0d86a9bf5cd202081f0b02299660364a
2015-09-28 14:29:21 -07:00
Jorim Jaggi
e3e6d56b94 Fix jank: Don't write lockout deadline if not needed
In the longterm, we should move these synchronous writes
off the main thread, but in the short term, avoiding an unnecessary
write is good enough for the main case.

Bug: 24471234
Change-Id: Id996ff29e61410cd077760a06d7868a413ae88da
2015-09-28 13:57:37 -07:00
Alan Viverette
b854d07a1a Unhide PopupWindow.getMaxAvailableHeight(View, int, boolean)
Bug: 24394572
Change-Id: If66fa0178ed0d8c8d78e286a8b928ad88d6e90fa
2015-09-28 16:12:18 -04:00
Adam Lesinski
a57a540440 Fix asymmetry in parceling/unparceling code for BatteryStats summary
Bug:24434303
Change-Id: I638979e54076004860035396738f6a1281e26c20
2015-09-28 10:59:45 -07:00