Commit Graph

255075 Commits

Author SHA1 Message Date
Yorke Lee
07452c37ab Check for detached view in drag-related APIs
Bug: 29253539
Change-Id: I26285404ee15bb17e87ac23c67f7c3c6aaa2d968
2016-06-13 11:32:23 -07:00
Gerry Fan
da66010cd8 Merge "Update validation-layer.jd for NDK-R12: use packed layer binaries punt building layers to Khronos github repo" into nyc-dev 2016-06-13 18:27:09 +00:00
TreeHugger Robot
0809964452 Merge "Fix QS edit view accessibility classes" into nyc-dev 2016-06-13 18:24:48 +00:00
ggfan
f22d094a30 Update validation-layer.jd for NDK-R12:
use packed layer binaries
   punt building layers to Khronos github repo

Change-Id: Icf840de42856d2488a87174b2cd6c604ef8d8770
2016-06-13 11:09:55 -07:00
David Gross
d749245b88 Merge "Delete simple reduction implementation." into nyc-dev 2016-06-13 17:58:32 +00:00
Winson
0aa4bb9e6b Prevent trimming recent tasks belonging in different stacks.
am: 29dbc3cc47

Change-Id: Iae15714c3bbca6cdb7fc52191c47dd80c47c7b03
2016-06-13 17:30:52 +00:00
Doris Liu
caa2ebf814 Fix setCurrentPlayTime for started but not yet pulsed animations
Also fix the behavior for calling reverse() immediately after
start(). Such case now triggers end() right away, which is
consistent with what the animation would do in M.

Bug: 29271714
Change-Id: I045e36e039179a3c462f22bc6a3a765437de4074
2016-06-13 17:29:03 +00:00
Winson
29dbc3cc47 Prevent trimming recent tasks belonging in different stacks.
- When launching an adjacent task, we usually have the same activity
  not necessarily launched with MULTIPLE_TASK, so the old recent task
  is incorrectly found removed.

Bug: 29121819
Change-Id: Id3bbafe0d3c535fd1a05bb373e521345c18f43d5
2016-06-13 17:16:03 +00:00
Jason Monk
50a352bc8d Fix QS edit view accessibility classes
Change-Id: I6aecd900ac6123e3499ab65db8896d51b70e2f89
Fixes: 29126464
2016-06-13 12:43:47 -04:00
Paul Jensen
f8e903fe2c Show sign-in to network notification to all users, not just owner.
All users should be made aware a captive portal is in place and be
given the opportunity to sign into the network.  Without this fix
other users are not notified and given a chance to sign-in.

Change-Id: I1bf823d5f6a36f391dca4be5f6a584e8562a72a7
Fixes: 23079964
2016-06-13 09:39:28 -04:00
Ricky Wai
8513817a74 Merge \"Disable quiet mode after UserManager.trySetQuietModeDisabled() is unlocked\" into nyc-dev
am: 6f1ed200b3

Change-Id: Ib9f627511c46a1e23c02e73a008edf264dc01f79
2016-06-13 13:22:27 +00:00
Ricky Wai
6f1ed200b3 Merge "Disable quiet mode after UserManager.trySetQuietModeDisabled() is unlocked" into nyc-dev 2016-06-13 13:12:48 +00:00
Tony Mak
5f9c1b342f Merge \"Use startActivityDismissingKeyguard to show vpn setting page in keyguard\" into nyc-dev
am: becebcbc6d

Change-Id: I8882135a4c1f8e385d6cef563f01913350260013
2016-06-13 12:34:39 +00:00
Tony Mak
becebcbc6d Merge "Use startActivityDismissingKeyguard to show vpn setting page in keyguard" into nyc-dev 2016-06-13 12:22:47 +00:00
Andrii Kulian
21893824c1 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.

Bug: 29237751
Change-Id: If56cd3f68b6b400c2d5c945431371acfe6269682
2016-06-10 19:05:08 -07:00
Andrii Kulian
6e6b0ce1a6 Merge \"Reinflate primary action mode view after detach\" into nyc-dev
am: 82f2df6108

Change-Id: I80f1aa56145ea12001942c57161305b3fcdcc226
2016-06-11 01:38:37 +00:00
Robert Carr
f469be4935 Merge \"Restore setCropInTransaction HiddenForCrop behavior.\" into nyc-dev
am: 938a70142e

Change-Id: Ica7e5c31c1c08f9424b5eb44ab843c3ce2526914
2016-06-11 01:36:14 +00:00
TreeHugger Robot
82f2df6108 Merge "Reinflate primary action mode view after detach" into nyc-dev 2016-06-11 01:31:15 +00:00
TreeHugger Robot
938a70142e Merge "Restore setCropInTransaction HiddenForCrop behavior." into nyc-dev 2016-06-11 01:21:22 +00:00
Robert Carr
118b3d23de Merge \"Place a black layer behind SurfaceView.\" into nyc-dev
am: 0360a900f7

Change-Id: I734c68b8bb9334f5e02dd34c69ac4bf4da0058b6
2016-06-11 01:00:52 +00:00
TreeHugger Robot
0360a900f7 Merge "Place a black layer behind SurfaceView." into nyc-dev 2016-06-11 00:51:48 +00:00
Kevin Gabayan
db843c913f Compute AnyMotionDetector angle using atan2.
Bug: 29232136

Change-Id: Ie57d0228eb42246c4ac1d7a01e2782a621b7e78f
(cherry picked from commit b070577d35)
2016-06-11 00:43:11 +00:00
John Reck
306f331f91 Redraw if dirty during stopped when resumed
Change-Id: I0034d1da7704de53c4ba3da3e8ef3109445f9e6a
Fixes: 28283031
2016-06-10 16:28:59 -07:00
Tetsutoki Shiozawa
5bdf449a7a Merge \"Solve the infinite loop on clearExternalStorageDataSync\" into nyc-dev
am: d25c718a12

Change-Id: Ib7f8efc9d74143cedd7ad06aaec7693ca01ae2e7
2016-06-10 23:20:56 +00:00
TreeHugger Robot
d25c718a12 Merge "Solve the infinite loop on clearExternalStorageDataSync" into nyc-dev 2016-06-10 23:13:52 +00:00
Andrii Kulian
8d6ac26504 Reinflate primary action mode view after detach
When app is resized in multi-window mode we preserve the window along
with the decor view. If action mode view was shown before such config
change, its view is detached, but the mPrimaryActionModeView variable
is not cleared. So when action mode view is shown again after that it
thinks that its view is still alive.
This CL adds additional check to inflate new mPrimaryActionModeView
if it is not attached to any window.

Bug: 28971666
Change-Id: Ia8c24d4322be32e8b2c8967301beb3a4d889d501
2016-06-10 16:07:43 -07:00
Robert Carr
086d2929f7 Place a black layer behind SurfaceView.
For SurfaceView's which do not implement
SurfaceRedrawNeeded we can see holes through to the
background in various scenarios. We prevent this by
placing a DimLayer behind opaque SurfaceViews. SurfaceFlinger
will remove it from the visible layers when the SurfaceView
totally obscures it.

Bug: 28763785
Change-Id: I9b4d1ba8be786f30432a6a3b42e5616662cdc090
2016-06-10 15:57:08 -07:00
Adam Lesinski
643fc8341a Merge \"BatteryStats: Fix read/write parcel order\" into nyc-dev
am: e8a442ccd6

Change-Id: Ic0a5b9acedd9ed56aaa189aaf89aaa10f273f019
2016-06-10 22:43:49 +00:00
Robert Carr
4320d33a06 Restore setCropInTransaction HiddenForCrop behavior.
Prior to c/1106850 setCropInTransaction hid the surface
for crop width and height <= 0. That CL allowed
setting -1 for crop width and height which SF
determines as clearing the crop. Other portions of the code
depend on the old behavior though for negative values, so restore
the behavior of setCropInTransaction and use a new clearCrop
method for the new code.

Bug: 29276588
Change-Id: I728666009c362ff635c7ebfb3ef2e83428fb03fe
2016-06-10 15:32:04 -07:00
Adam Lesinski
e8a442ccd6 Merge "BatteryStats: Fix read/write parcel order" into nyc-dev 2016-06-10 22:29:15 +00:00
Adam Lesinski
67c134f849 BatteryStats: Fix read/write parcel order
Also moves discharge coulomb data to BATTERY_DISCHARGE_DATA checkin line.

Bug:29264326
Bug:28743761
Change-Id: I78881e166c11f40b2397e04d2cab8d5200c71eea
2016-06-10 15:24:16 -07:00
Felipe Leme
2ee81a3211 Merge \"Fixed check for visible volume.\" into nyc-dev
am: be0bacda9b

Change-Id: I3802f5025e83826f47d674f6d03e78737d8fe8b3
2016-06-10 21:54:31 +00:00
TreeHugger Robot
be0bacda9b Merge "Fixed check for visible volume." into nyc-dev 2016-06-10 21:48:11 +00:00
Kevin Hufnagle
7ce51cf350 docs: Fixed option for "launchMode" within Android manifest doc.
The "android:launchMode" attribute, which appears within an Android
app's manifest file, now correctly shows "standard" as the default
option within the "syntax overview" section.

Bug: 28424976
Change-Id: Ica2e4868c51f03a653b6c6834478ffa3b751ebda
2016-06-10 14:48:07 -07:00
Sudheer Shanka
0979d718c5 Merge \"Reduce shell power over user management.\" into nyc-dev
am: 1b4124fc95

Change-Id: I5535f68ff670881dfa10bac6b0628d3647be97bd
2016-06-10 21:39:33 +00:00
TreeHugger Robot
1b4124fc95 Merge "Reduce shell power over user management." into nyc-dev 2016-06-10 21:33:28 +00:00
Tetsutoki Shiozawa
99bf020f70 Solve the infinite loop on clearExternalStorageDataSync
5000 msec timeout is set for waiting DefaultContainerService, but
it's not working. It's not possible to exit a wait loop even if it
takes over 5000 msec.

Bug: 29232999

Change-Id: I74a45637e0a3fa5a7b151e6b3dc0b3aaece96d53
2016-06-10 14:31:59 -07:00
Jorim Jaggi
0f31c75051 Merge \"Provide default fallback in theme\" into nyc-dev
am: 7c8360980c

Change-Id: I030fa1b17f02ae18628d19691016f09473d71a26
2016-06-10 21:31:25 +00:00
TreeHugger Robot
7c8360980c Merge "Provide default fallback in theme" into nyc-dev 2016-06-10 21:20:49 +00:00
Svetoslav Ganov
e33f613190 Fix permissions update for VrListenerService on user changes.
- Fixes a bug where we would not update the
overlay restrictions if the VR listener we are bound to
changes bug the VR enabled state doesn't.
- Also fixed a case where the notification listener access
and location permission were not granted/revoked for the
correct user. For example, if a vr activity in one user calls
a VR activity in another (possible for cross profiles) we end
up not revoking the special access for the vr service in the
first user. The notification listener setting was also updated
for the system user instead of the user for which we grant/revoke
specal access.
- Properly remove the overlay restrictions for the old user
if we transition from a vr actiivty in one user to a vr activity
in a profile of this user.

Bug: 29273985
Change-Id: Ib1de6f2f5445001ac61edca5c77ea3a066544307
2016-06-10 14:05:51 -07:00
Sid Soundararajan
74ea3f08f7 Merge \"Recents TV: Add a check for touch enabled mode for starting dismiss animation\" into nyc-dev
am: 7476aaa058

Change-Id: I26e08019093452b30ceeef0b20f2c06a19312093
2016-06-10 20:41:52 +00:00
Sid Soundararajan
7476aaa058 Merge "Recents TV: Add a check for touch enabled mode for starting dismiss animation" into nyc-dev 2016-06-10 20:38:00 +00:00
Felipe Leme
49843f9a0e Merge \"Fixed check for volume name.\" into nyc-dev
am: cbfc6eed32

Change-Id: Ifb1baa23784ec68566b468647a31479c46ad1ff4
2016-06-10 20:24:44 +00:00
TreeHugger Robot
cbfc6eed32 Merge "Fixed check for volume name." into nyc-dev 2016-06-10 20:17:33 +00:00
Andrew Solovay
7ebbf85590 docs: Corrected method name in multi-window docs
Confirmed on nyc-dev, the method name is
Activity.RequestDragAndDropPermissions(), not--as incorrectly
stated--Activity.RequestDropPermissions(). Updating preview docs
accordingly.

See first comment for doc stage location.

bug: 29057218
Change-Id: If147a9a5758abbe8fc46a6b40720e1328c78a095
2016-06-10 13:17:08 -07:00
Svet Ganov
e05d49d610 Merge \"Blame only location observers that actually receive updates\" into nyc-dev
am: 4e85376fe1

Change-Id: I875a1c2764db6ceee5a71830395ffc36ae4f1dd5
2016-06-10 20:13:57 +00:00
Eino-Ville Talvala
932fe93df7 Merge changes I069e2b7e,Ic5e9e58a into nyc-dev
am: f4de8dd77c

Change-Id: I4cc7b4855573e8e5817c5166b5d0f6cdf3d3a4a8
2016-06-10 20:13:53 +00:00
Adrian Roos
776922d543 Correclty capitalize Date in status bar panel
Use ICU's DateFormat and set the appropriate context to get
correclty capitalized dates in languages where dates are not always
capitalized.

Change-Id: I0e99db4e14762b32833e8c0c7a59e4762c57116d
Fixes: 29064624
2016-06-10 13:08:03 -07:00
Sudheer Shanka
f5cea03eb0 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-10 13:05:18 -07:00
Felipe Leme
1f160df10d Merge \"Check for valid paths when getVolumeList() returns invisible volumes.\" into nyc-dev
am: 6da2fb61ce

Change-Id: I57e257307eb854d04f298eeefc8a55b55ee6ea78
2016-06-10 19:58:44 +00:00