Commit Graph

253881 Commits

Author SHA1 Message Date
Annie Chin
ecb9f3e9b8 Add callbacks to VoiceInteractionManagerService
Bug: 29582254

Change-Id: I548d01bd1c7e261b2d2e0afd606d964e5553124e
2016-07-01 13:00:09 -07:00
Andrii Kulian
5f57a3d6d8 Clarify documentation of Display#getSize()
Bug: 25945436
Change-Id: I8574faf56427f4a6fb7155c08e31ef1e0bdb2cfa
2016-07-01 12:41:39 -07:00
TreeHugger Robot
2d7d1209de Merge "Force lock icon animations on UI thread" into nyc-mr1-dev 2016-07-01 19:32:50 +00:00
TreeHugger Robot
30efa24b11 Merge changes I38cff63b,Id3739bbc,If052cd8c into nyc-mr1-dev
* changes:
  Fix synchronization error for Seamless rotation.
  Disable seamless rotation while animating.
  Force CROSSFADE rotation when launching from double tap gesture.
2016-07-01 19:27:36 +00:00
Andrii Kulian
8290f8f66a Always send task stack change updates if PiP is enabled
PiP stack repositioning is triggered when task stack change
is detected. Usually these updates are sent when there was
a visibility change since last pause. In case when we're
navigating from setting back to launcher on TV there is no
visibility change. This happened to work in most cases
because PipOverlayActivity was shown or hidden somewhere
between user actions.

This CL always notifies about task stack changes if pinned
stack is present on activity pause.

Bug: 29344059
Change-Id: I5ab3f2b8a97983fcb79d58626b6494f8ec31dbf3
2016-07-01 12:18:39 -07:00
Android Build Merger (Role)
b50f3fb035 Merge "Merge \"Delete the NDK docs from Git. They\'re now in Piper, as per: https://critique.corp.google.com/#review/126357681\" into nyc-dev am: 5460fef952" into nyc-mr1-dev 2016-07-01 19:17:36 +00:00
Adrian Roos
5a078db97e Merge "Fix navigation bar order in seascape" into nyc-mr1-dev 2016-07-01 19:17:14 +00:00
smain@google.com
82c58280ff Merge \"Delete the NDK docs from Git. They\'re now in Piper, as per: https://critique.corp.google.com/#review/126357681\" into nyc-dev
am: 5460fef952

Change-Id: I7c9c8b7091a974b01b72cf192651f3c44ed7ee87
2016-07-01 19:17:10 +00:00
Scott Main
5460fef952 Merge "Delete the NDK docs from Git. They're now in Piper, as per: https://critique.corp.google.com/#review/126357681" into nyc-dev 2016-07-01 19:07:30 +00:00
TreeHugger Robot
15ba58b8a4 Merge "null check jarfile before using" into nyc-mr1-dev 2016-07-01 19:00:57 +00:00
Chris Wren
1bdc770e66 also log details for neko rename events
Bug: 29878060
Change-Id: Icf10474cfed83d8196c04749b4fb0e25fa623b44
2016-07-01 14:09:25 -04:00
Robert Carr
0baa1bc665 Fix synchronization error for Seamless rotation.
Missing synchronized block in timeout codepath.

Bug: 28823590
Change-Id: I38cff63b559b5f8cd65698af27a1100208ff2600
2016-07-01 11:05:46 -07:00
Robert Carr
606f4d5d8c Disable seamless rotation while animating.
Neither the animation code or the seamless rotation
code is equipped to handle it.

Bug: 28838855
Change-Id: Id3739bbc4335936cf3647af4ff97dd4efc134b65
2016-07-01 11:05:46 -07:00
Robert Carr
fd10cd1989 Force CROSSFADE rotation when launching from double tap gesture.
When activity transition triggers a rotation change, the starting
window will normally be the top window at the time we try
to select the window animation. However, these layout params won't
have the apps rotation animation set (as the client code will set that
on the real window, not the starting window). Eventually we would
like to add API to specify rotation animation via manifest to solve
this problem cleanly. In the mean time, we can force a specific rotation
animation from the double tap gesture, and clean up some camera
ugliness. We accomplish this by attaching an animation hint to
ActivityOptions.

Bug: 28838855
Change-Id: If052cd8cbae76651da43f3b4c590cd9dcc1afc0f
2016-07-01 11:05:40 -07:00
TreeHugger Robot
7742a315fc Merge "Use category DEFAULT home actions" into nyc-mr1-dev 2016-07-01 17:48:36 +00:00
Joe Fernandez
28922b148e Merge \"Revert \"Revert \"docs: Add Videos section to N Preview landing page\"\"\" into nyc-dev
am: 9dc8ede619

Change-Id: Ib67ebea43044f8866f81234f966bfced4242afc7
2016-07-01 17:39:50 +00:00
Joe Fernandez
9dc8ede619 Merge "Revert "Revert "docs: Add Videos section to N Preview landing page""" into nyc-dev 2016-07-01 17:28:41 +00:00
Todd Kennedy
015eb8202a null check jarfile before using
Bug: 29937423
Change-Id: I14f8530523bedf6c287a7f89d3e54919d98454c9
2016-07-01 10:20:20 -07:00
Makoto Onuki
7df9ce075f Merge "Make sure re-published dynamic shortcuts are always enabled" into nyc-mr1-dev 2016-07-01 16:40:25 +00:00
Makoto Onuki
5b080d4e90 Merge "ShortcutManager: Make sure persisted default launcher still exists." into nyc-mr1-dev 2016-07-01 16:32:40 +00:00
Julia Reynolds
10a4bae9c8 Merge \\\\"Always apply config updates.\\\\" into mnc-dr-dev am: f437bd068c am: 2a44859c21 am: 005394cd01 -s ours
am: 7e2ae2b143

Change-Id: I17b031b52b826bb288090bc737a41a8863cbde95
2016-07-01 16:29:42 +00:00
Julia Reynolds
7e2ae2b143 Merge \\\"Always apply config updates.\\\" into mnc-dr-dev am: f437bd068c am: 2a44859c21
am: 005394cd01  -s ours

Change-Id: I45ff9548eb6091ecbcf9e45e0fddb2cbcebc889d
2016-07-01 16:23:48 +00:00
TreeHugger Robot
3795313116 Merge "QS: Make edit non-clickable when collapsed" into nyc-mr1-dev 2016-07-01 16:06:23 +00:00
Fan Zhang
48c5660c1f Merge "Add metrics for toll-free/travel-abroad buttons in Settings" into nyc-mr1-dev 2016-07-01 16:04:14 +00:00
TreeHugger Robot
4b24c48e23 Merge "Prevent PrintRegistry callbacks when finishing" into nyc-mr1-dev 2016-07-01 15:42:00 +00:00
TreeHugger Robot
c9099d1a84 Merge "N MR1 is API 25" into nyc-mr1-dev 2016-07-01 15:34:14 +00:00
Julia Reynolds
005394cd01 Merge \\"Always apply config updates.\\" into mnc-dr-dev am: f437bd068c
am: 2a44859c21

Change-Id: I1462c5cc78001f6be749f518c861c7fcc771f90f
2016-07-01 15:31:52 +00:00
Julia Reynolds
2a44859c21 Merge \"Always apply config updates.\" into mnc-dr-dev
am: f437bd068c

Change-Id: I899b923c075a5f3351c4791a23a94adf123d1247
2016-07-01 15:26:58 +00:00
Julia Reynolds
f437bd068c Merge "Always apply config updates." into mnc-dr-dev 2016-07-01 15:21:24 +00:00
Lorenzo Colitti
0317e03dc3 Merge changes from topic 'networkrequest_private' into nyc-mr1-dev
* changes:
  Make the NetworkRequest list private to NetworkAgentInfo.
  Move the request type from NetworkRequestInfo to NetworkRequest.
2016-07-01 15:12:53 +00:00
Jason Monk
104d9de3a5 QS: Make edit non-clickable when collapsed
Change-Id: I44e289b3692a41f7cdc1491c1d45c446612546ee
Fixes: 29521073
2016-07-01 10:25:16 -04:00
Todd Kennedy
bbfb1c174a Use category DEFAULT home actions
When querying for activities that support action HOME, only consider
those that also have category DEFAULT.

Bug: 29899206
Change-Id: I0cd95c90dff5ed90896205eb6c0ec9be1306eb25
2016-07-01 06:55:41 -07:00
Michael Wright
863ae3e51a N MR1 is API 25
Also, finalize resource IDs for N MR1

Bug: 29816674
Change-Id: Ie880adb2544f4e2e32b439fe975a68a3928e6fe5
2016-07-01 14:42:46 +01:00
Chris Wren
e33c939685 Merge "add neko metrics" into nyc-mr1-dev 2016-07-01 13:41:36 +00:00
Jason Monk
8d947520c3 Merge "QS: Fix clipping for some font sizes" into nyc-mr1-dev 2016-07-01 13:25:10 +00:00
TreeHugger Robot
d3ed87b222 Merge "Quick settings icons have focus" into nyc-mr1-dev 2016-07-01 13:24:30 +00:00
Lorenzo Colitti
767708db54 Make the NetworkRequest list private to NetworkAgentInfo.
This allows us to keep track of how many live requests a network
is satisfying without having to count them every time.

Bug: 23113288
Change-Id: Ic4756676491e09071dbf80b7c48da3be028d68eb
2016-07-01 21:14:26 +09:00
Lorenzo Colitti
b35d40d4e2 Move the request type from NetworkRequestInfo to NetworkRequest.
This will allow us to simplify code that deals with
NetworkRequests outside ConnectivityService.

Bug: 23113288
Change-Id: I9b3a859d0c68cad73d7f6baa4b584d13ffd2ae36
2016-07-01 20:15:19 +09:00
Lorenzo Colitti
09e3715661 Make registerDefaultNetwork work on metered networks.
Bug: 29927488
Change-Id: I3b705c2ab0d1493546ffa5185bb5b07d5e25c897
2016-07-01 04:42:58 +00:00
Jorim Jaggi
23bb84b03e Force lock icon animations on UI thread
Change-Id: Ibe1936a09f475a9ec2ba5c838a66dffb9fd8f99b
Fixes: 29900888
2016-06-30 19:11:38 -07:00
smain@google.com
8562ab5ab8 remove "referenceonly" flag from the offline-docs build.
Add new offline-docs-referenceonly make rule.
And update online-sdk and offline-sdk to use the new site templates.

Change-Id: I1a9b8e3ff4973a147c6878092ae960a6980cb3d8
2016-06-30 19:08:11 -07:00
TreeHugger Robot
c7b1d74ae8 Merge "Disabling account modification on demo users" into nyc-mr1-dev 2016-07-01 01:17:33 +00:00
Yohei Yukawa
d2e046a720 Merge "Automatically grant URI permission as needed." into nyc-mr1-dev 2016-07-01 01:09:56 +00:00
Andrii Kulian
dc0f8933da Don't update task to return to type for last task over home
Resizing docked stack to fullscreen size results in dismissal of
docked stack and moving of tasks to fullscreen stack. When tasks,
which were originally launched from home or recents, are inserted
on top of fullscreen stack, their mTaskToReturnTo value was
overwritten.
This CL doesn't allow to overwrite this field of task if there is
no next task in stack and it was launched from home or recents.

Also this reveals issue b/29342752. When app is moved to PiP mode,
system UI shows another overlay activity in separate task in PiP
stack with hint to user. In ActivityStarter#startActivityUnchecked
some logic assumes that new activity is launched from focused stack.
But PiP stack is not focusable, so we end up thinking that overlay
activity was launched from home stack. This sets mTaskToReturnTo of
overlay task to HOME_ACTIVITY_TYPE instead of
APPLICATION_ACTIVITY_TYPE.
This CL checks if stack id is specified and checks preferred stack
if available instead of currently focused one.

Bug: 29237751
Change-Id: I3a55b84d6a57be758705db51dec60592683e4e02
2016-07-01 01:02:47 +00:00
fionaxu
99973d9852 DO NOT MERGE revert system api loadSafeLabel
Bug: 28557603
Change-Id: Ib2dd0fc19217655a4d6b49cdf49ce36dfd6577d5
2016-06-30 17:57:46 -07:00
Makoto Onuki
ee6b6e4a18 ShortcutManager: Make sure persisted default launcher still exists.
- Also make sure to ignore unexported activities.
(e.g. unexported activities shouldn't have shortcuts.)

- Also add unit tests for package manager related operations.

- Also remove stale TODOs (per-activity shortcut count check is
implemented already.)

Bug 29699769
Bug 29516954

Change-Id: Ia18301baf6bec1ad71ae195d9ae3d10bd8386fc4
2016-06-30 17:30:30 -07:00
Christopher Tate
9ecf5010d3 Make sure SELinux labels are correct after move-to operations
am: fa7d97fa15

Change-Id: I913e54c6269f75b10b51030d0b2921007107281d
2016-07-01 00:29:33 +00:00
Christopher Tate
fa7d97fa15 Make sure SELinux labels are correct after move-to operations
In some circumstances wallpaper-related files are moved into position,
and must then take proper effect.  Make sure that they have the
correct SELinux labels afterwards to avoid preventing some valid
accesses.

Bug 29469965

Change-Id: I6d7c86be63d568fa0ad8841d109a7ff2149fdd54
2016-07-01 00:16:51 +00:00
Makoto Onuki
ff14f73152 Make sure re-published dynamic shortcuts are always enabled
- Originally there was explicit code to take over the disabled flag,
which was simply not necessary.

- Also fix the startShortcut() tests that have temporarily
been disabled.

(Also remove the stale TODOs to avoid conflict with Ia18301ba)

Bug 29633681

Change-Id: I58b12ad6918d7fef4b79059b0c2c7f2df6e32269
2016-06-30 17:11:25 -07:00
fionaxu
8aa4a84bc8 DO NOT MERGE revert public api loadSafeLabel am: f44c73abb2 am: a0263a9909 am: a3b851d352 -s ours am: f52501d2d4 -s ours am: cbb7b8c7a4 am: c666ebef33 am: 1e1974705b -s ours am: c7824b3de3 am: 0b2c2b2a8c am: b281795c12 am: 17414d65fa -s ours
am: 4ce343881c

Change-Id: Iead6e156fdf407e2cadc992bffd8c2df2322f25f
2016-06-30 23:45:10 +00:00