227960 Commits

Author SHA1 Message Date
Geoff Mendal
6839593db5 Import translations. DO NOT MERGE
Change-Id: I310f81e9ec34340edf42d9f5c0c6161b75b861a8
Auto-generated-cl: translation import
2015-12-16 05:51:29 -08:00
Esteban Talavera
c063603d9b Merge "Only system can set application restrictions via UserManager" 2015-12-16 10:44:12 +00:00
Jun Mukai
9dcbdcd50f Merge "Exclude accessing settings from PointerIcon." 2015-12-16 02:11:56 +00:00
Filip Gruszczynski
5edcb9d104 Merge "Refactoring of ASS.startActivityUncheckedLocked." 2015-12-16 01:51:07 +00:00
Christopher Tate
ffa6a88658 Add crop hint and backup-eligible info to wallpaper API
The OS will not distinguish between the physical underlying wallpaper
image and the target displayable subrect of that image.  This will enable
more pleasing conveyance of backed-up wallpaper imagery between dissimilar
devices.  The allow-backup hint is a way for wallpaper sources to ensure
that the OS doesn't back up imagery that should not be propagated across
devices.

(NB: the backing implementation isn't in place yet; this is just to
permit forward-looking work on client apps in the interim.)

Bug 25454501
Bug 25453848

Change-Id: Id014d552ae509f659992d57b915ef95c5d4b8d1a
2015-12-15 17:43:35 -08:00
Daichi Hirono
20754c5a11 Store device document even if the device is not opened.
BUG=26197156

Change-Id: I2a80bb3e85310cf63253173b1110a155ee1391ba
2015-12-16 09:52:56 +09:00
Filip Gruszczynski
d5f94468ba Merge "API for launching activities to the side in side-by-side mode." 2015-12-16 00:52:06 +00:00
Roozbeh Pournader
f11eca8551 Merge "Negotiate locales during Resources contruction and updates" 2015-12-16 00:44:01 +00:00
Jun Mukai
e4e75daa65 Exclude accessing settings from PointerIcon.
This code structure causes a crash as rerported, better to extract
access to the settings to InputManagerService, who actually cares
about it.

Bug: 26196092
Change-Id: I4e0dbcc24ccf5d11681738ca3576b64471aa8cc4
2015-12-15 16:40:50 -08:00
Filip Gruszczynski
a8e98b9e8a Refactoring of ASS.startActivityUncheckedLocked.
Remove 3 levels of unnecessary indentation in an if.

Change-Id: Ief38db3bebbcb44a9a9b5e0dfa5dbf487a0a49ab
2015-12-15 16:35:38 -08:00
Adam Lesinski
20b85dbe0c Merge "DO NOT MERGE: Fix batterystats battery level int packing" into mnc-dr1.5-dev am: 1d6d4c5a69 am: d5808d0d35
am: 72c1a0a110  -s ours

* commit '72c1a0a110fc1e5af1dce8f00cf114e7a6ea32b8':
  DO NOT MERGE: Fix batterystats battery level int packing
2015-12-16 00:13:42 +00:00
Adam Lesinski
858902310c Use wakeup reason when FingerPrint sensor wakes up the device am: 9289560aa0 am: 7197bb49a7
am: b31f1a5f0e

* commit 'b31f1a5f0ecc9d66e83202fd907126633dc28a63':
  Use wakeup reason when FingerPrint sensor wakes up the device
2015-12-16 00:12:05 +00:00
Filip Gruszczynski
80e29f1cca API for launching activities to the side in side-by-side mode.
This API is intended for side-by-side mode, so that when a new activity
is launched, it will show up on the other side instead of covering the
launching activity.

Bug: 26141281

Change-Id: I97d7f2f48d42a31cfb1a86821474582b9c5d9e45
2015-12-15 16:08:44 -08:00
Adam Lesinski
72c1a0a110 Merge "DO NOT MERGE: Fix batterystats battery level int packing" into mnc-dr1.5-dev am: 1d6d4c5a69
am: d5808d0d35

* commit 'd5808d0d356c5c7263f1ad0982a221c7a0f1df07':
  DO NOT MERGE: Fix batterystats battery level int packing
2015-12-16 00:05:41 +00:00
Adam Lesinski
d5808d0d35 Merge "DO NOT MERGE: Fix batterystats battery level int packing" into mnc-dr1.5-dev
am: 1d6d4c5a69

* commit '1d6d4c5a695051ccb9b455306b155bad5d6f136a':
  DO NOT MERGE: Fix batterystats battery level int packing
2015-12-15 23:57:13 +00:00
Adam Lesinski
1d6d4c5a69 Merge "DO NOT MERGE: Fix batterystats battery level int packing" into mnc-dr1.5-dev 2015-12-15 23:52:43 +00:00
Youngsang Cho
e27a3025ac Merge "Allow activities to enter PiP when forceResizeableActivities is true." 2015-12-15 23:15:35 +00:00
Youngsang Cho
ba80ba53c8 Allow activities to enter PiP when forceResizeableActivities is true.
Bug: 26187878
Change-Id: I074fd39748d53bb0bdf1769468b2c3a4092aa506
2015-12-15 23:14:48 +00:00
Wale Ogunwale
fbe12c4e0f Added PackageManager#FEATURE_PICTURE_IN_PICTURE
Indicating that a device supports picture-in-picture
multi-window mode.

Also allow activities to be in Pip mode if force resizeable
is enabled.

Bug: 25580820
Bug: 26187878
Change-Id: If80edfee39ece5a51d21040e4d3a8a9135aa1783
2015-12-15 14:55:27 -08:00
Adrian Roos
1d724e02b0 Merge "Move RemoteInputView inflation to ContentView" 2015-12-15 22:18:40 +00:00
Alan Viverette
db08925a8f Fix build
Change-Id: I3e1708a9e41155b9b00e0365e4392ae66202fdbb
2015-12-15 17:16:33 -05:00
Adrian Roos
b88b1a1dbd Move RemoteInputView inflation to ContentView
Bug: 22452379
Change-Id: Ieed64f7fa0b0bd742ca8a7746e8baf03ca837e1c
2015-12-15 14:12:49 -08:00
Todd Kennedy
4f7b035e34 Merge "Fix ephemeral post-install launching" 2015-12-15 22:12:33 +00:00
Adam Lesinski
5f8c8186ec DO NOT MERGE: Fix batterystats battery level int packing
We introduced some new flag at the lowest significant bit of the
battery level int but failed to account for it when unpacking.

Bug:25596467
Change-Id: I4320e6fcc208ec6de249b14fe3e399ab2f32d839
(cherry picked from commit 6902052c77bbcb9078b4ced243874f67542f64f9)
2015-12-15 22:12:10 +00:00
Chris Craik
19335a3124 Merge "Add functor support to new reorderer/renderer" 2015-12-15 22:08:09 +00:00
Adam Lesinski
b31f1a5f0e Use wakeup reason when FingerPrint sensor wakes up the device am: 9289560aa0
am: 7197bb49a7

* commit '7197bb49a73248798dd7d825927e6c849cb1255c':
  Use wakeup reason when FingerPrint sensor wakes up the device
2015-12-15 22:07:53 +00:00
Todd Kennedy
7440f177c3 Fix ephemeral post-install launching
Provide the ephemeral installer with some additional pieces of information:
1) instead of de-referencing the URL a second time, give the installer the
   exact package name
2) instead of relying on ephemeral apps to define verified links, give the
   installer a pending intent to launch when the ephemeral is installed
3) give the installer a pending intent to launch if the installer fails,
   for whatever reason, to install the ephemeral app

Bug: 25119046
Change-Id: I45f50481caee09d5d09451e4b2492e64b0faae82
2015-12-15 14:04:56 -08:00
Adam Lesinski
7197bb49a7 Use wakeup reason when FingerPrint sensor wakes up the device
am: 9289560aa0

* commit '9289560aa0d195dfed67dab05811114bc7bc88a9':
  Use wakeup reason when FingerPrint sensor wakes up the device
2015-12-15 22:01:03 +00:00
Alan Viverette
6329523938 Merge "Postpone CascadingMenuPopup window creation until show()" 2015-12-15 21:56:20 +00:00
Alan Viverette
ecfdaa9157 Postpone CascadingMenuPopup window creation until show()
This ensures that addMenu() and setters can be called in any order
as long as they occur before the show() call.

Bug: 25853211
Change-Id: I9a643d37c60046326b7d97a38026c27ba247a1b0
2015-12-15 16:53:32 -05:00
Adam Lesinski
9289560aa0 Use wakeup reason when FingerPrint sensor wakes up the device
PowerManager can log into BatteryStats the reason for the device being
woken up. This change has the Fingerprint controller report the reason
instead of a default non-descriptive 'wakeUp' reason.

Bug:26209577
Change-Id: I12d80682dad888add139cca586d4b948e9d546e5
(cherry picked from commit 5bcb8bb31ab6688dff432cb7bd20fe69016c7003)
2015-12-15 21:46:11 +00:00
Chris Wren
277fa3cf7e Merge "fix notification manager crash" 2015-12-15 21:28:24 +00:00
Chris Wren
083094c363 fix notification manager crash
Bug: 26207891
Change-Id: I51c8665de03fb0afa1176d6cf31f98cab9749306
2015-12-15 16:25:07 -05:00
Winson Chung
64426ecfec Merge "Enabling history and paging by default" 2015-12-15 21:23:28 +00:00
Winson Chung
b8872d5c69 Merge "Removing the debug header bar icon." 2015-12-15 21:23:14 +00:00
Rubin Xu
fb1b1ab7e2 Merge "Mask work widgets if work profile is in quiet mode." 2015-12-15 21:03:18 +00:00
Winson Chung
ead5c0fc20 Enabling history and paging by default
- Removing associated tuner flags

Change-Id: Ia69bf273489b0079c389e7feb1428071569092d5
2015-12-15 15:30:12 -05:00
Winson Chung
48f2cda829 Removing the debug header bar icon.
- Repurposing resize button to move tasks between
  stacks when freeform is enabled
- Enabling freeform workspaces for supported
  devices
- Removing old debug dialog

Bug: 26043230
Bug: 24815256

Change-Id: If3236999dd236de5d5bd665d69edfc17f18f74f0
2015-12-15 15:30:12 -05:00
Jeff Davidson
40e2ce37d3 Merge "Relax permissions around NetworkStatsManager APIs." 2015-12-15 19:04:25 +00:00
Chris Craik
e29ce6f51d Add functor support to new reorderer/renderer
bug:22480459

Change-Id: I95df7e0504f62d254e8ffbd8d65ed5d763080b9c
2015-12-15 10:40:54 -08:00
Fyodor Kupolov
f99104dadd Assigned a unique value for PRIVATE_FLAG_EPHEMERAL
Previously the value was conflicting with a private flag
PARTIALLY_ENCRYPTION_AWARE, which has been added before.

Change-Id: I661d8b5f59a39b18288eae47b7522f87b120c57b
2015-12-15 18:38:51 +00:00
Esteban Talavera
5b9f167a8e Only system can set application restrictions via UserManager
Preventing apps with MANAGE_USERS from managing application
restrictions via UserManager. Application restrictions should
only be set via DevicePolicyManager.setApplicationRestrictions,
or via Settings (for restricted profiles).

Bug: 22541936
Change-Id: Ieed51ef54b4c23a73f383465e9af9b3bcf18a514
2015-12-15 18:36:34 +00:00
Chris Banes
f928d4aa45 Merge "Fix AlertDialog.setIcon() not working when called after show()" 2015-12-15 18:13:02 +00:00
Wale Ogunwale
3e5f080528 Merge "Fixed bug with caption not showing for some apps that handle config changes" 2015-12-15 18:11:11 +00:00
Jeff Davidson
c14fb58da8 Merge "Fix bit-rotted NetworkStatsServiceTest." 2015-12-15 17:48:46 +00:00
Chris Craik
4c1b495f4f Merge "Avoid unneeded rect params" 2015-12-15 17:32:59 +00:00
Chris Banes
476da7720a Fix AlertDialog.setIcon() not working when called after show()
BUG: 26183328
Change-Id: I86a5a299c9afa105c62a709d2a60b8b2e5b590dc
2015-12-15 17:14:15 +00:00
Wale Ogunwale
eb6722c0bc Fixed bug with caption not showing for some apps that handle config changes
We currently decide when to show the decor caption onConfigurationChanged
However, if the app handles configuration changes or the threshold isn't
big enough for the configuration change to be reported to the app, we don't
display the caption in some cases when transitioning from fullscreen mode
to freeform mode.
We now also use the onMultiWindowModeChanged call to also determine if
the caption should be visible.

Change-Id: I237437f04ad90f904912ebac0253245f547b0e3e
2015-12-15 09:01:45 -08:00
Filip Gruszczynski
02ebfd0604 Merge "Log window mode to tron." 2015-12-15 16:53:07 +00:00
Filip Gruszczynski
77d9448e2d Log window mode to tron.
Bug: 26013430
Change-Id: I45d397d956a66f407218047dc10581553f906077
2015-12-15 08:50:38 -08:00