Commit Graph

71686 Commits

Author SHA1 Message Date
Svet Ganov
45bd1bbd33 Merge "Detect isVisibleToUser post layout" into oc-dev am: a7af385208
am: 73d5b089b9

Change-Id: I1369c5ccb51f7b147144a4cd3576729f920e5bbd
2017-05-12 02:06:50 +00:00
Jocelyn Dang
61960cec37 Merge "Don't allocate new array in Parcel#readByteArray" 2017-05-11 23:48:40 +00:00
Svet Ganov
73d5b089b9 Merge "Detect isVisibleToUser post layout" into oc-dev
am: a7af385208

Change-Id: Ie6f7a111a329cde1e5cd674ec395af11c8a24e2b
2017-05-11 22:00:20 +00:00
Tony Mak
f4a8eb6623 Merge "Relax the sharedpreference check to look at StorageManager.isUserKeyUnlocked" into oc-dev am: e35e223a81
am: dc37e5251f

Change-Id: Iea2d49976f7608cf63809060d6857cd61d42ca2f
2017-05-11 21:37:12 +00:00
Bryce Lee
2ad3219be0 Merge "Allow for SDK 26 Activities to specify orientation when not fullscreen." into oc-dev am: e53243cb92
am: cc835a7929

Change-Id: I6e14669424e7c531a48e91e7c01fb6840123f48c
2017-05-11 21:13:52 +00:00
Tony Mak
dc37e5251f Merge "Relax the sharedpreference check to look at StorageManager.isUserKeyUnlocked" into oc-dev
am: e35e223a81

Change-Id: Ic55181bb635be2844b46cb546a24daa9c4ea4b68
2017-05-11 21:04:18 +00:00
Bryce Lee
cc835a7929 Merge "Allow for SDK 26 Activities to specify orientation when not fullscreen." into oc-dev
am: e53243cb92

Change-Id: I282eb577bb1b04e9121fa218765578e93e5a5ab6
2017-05-11 21:00:35 +00:00
TreeHugger Robot
a7af385208 Merge "Detect isVisibleToUser post layout" into oc-dev 2017-05-11 20:38:28 +00:00
TreeHugger Robot
e35e223a81 Merge "Relax the sharedpreference check to look at StorageManager.isUserKeyUnlocked" into oc-dev 2017-05-11 20:25:52 +00:00
Bryce Lee
e53243cb92 Merge "Allow for SDK 26 Activities to specify orientation when not fullscreen." into oc-dev 2017-05-11 20:06:24 +00:00
Dianne Hackborn
a54a0df596 Merge "Fix issue #37360626: Apps can schedule alarms (and other things) with temp whitelist" into oc-dev am: c3b938ca5e
am: 8b4c4f09f6

Change-Id: Ia6dd41e08ea31ccc902c4d9ba714e6448898fac4
2017-05-11 19:34:30 +00:00
Dianne Hackborn
8b4c4f09f6 Merge "Fix issue #37360626: Apps can schedule alarms (and other things) with temp whitelist" into oc-dev
am: c3b938ca5e

Change-Id: I585bf57074064761c7d216f05be23d7f044208fa
2017-05-11 18:45:00 +00:00
Dianne Hackborn
c3b938ca5e Merge "Fix issue #37360626: Apps can schedule alarms (and other things) with temp whitelist" into oc-dev 2017-05-11 18:28:46 +00:00
Albert Chaulk
bcee3cc3fa Merge "Propagate UIDs for all SurfaceControl instances" into oc-dev am: 6c34dd58f6
am: eccbbe4ca2

Change-Id: I350bb7899eaa1e9919d6fdf8079afd11be4e9918
2017-05-11 15:52:48 +00:00
Albert Chaulk
eccbbe4ca2 Merge "Propagate UIDs for all SurfaceControl instances" into oc-dev
am: 6c34dd58f6

Change-Id: Ia3aa4d9537f141a3132afefbcdac5b0bda61722b
2017-05-11 15:43:47 +00:00
Bryce Lee
d1ac18c7c9 Allow for SDK 26 Activities to specify orientation when not fullscreen.
Change-Id: I9137a7ba7593dcd6031e1fcbcd6dcc0a287d707b
Fixes: 38221413
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerAppConfigurationTests#testNonfullscreenAppOrientationRequests
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerAppConfigurationTests#testLegacyNonFullscreenActivityPermitted
2017-05-11 08:23:54 -07:00
Albert Chaulk
6c34dd58f6 Merge "Propagate UIDs for all SurfaceControl instances" into oc-dev 2017-05-11 15:19:28 +00:00
Derek Sollenberger
ef16269e41 Merge "Add an O-release targetAPI check for Canvas.setBitmap. am: d70695ee34" into oc-dev-plus-aosp
am: 172bd07308

Change-Id: Iddc0babe08b2e1a9abe1bebe117fa66832417cff
2017-05-11 14:56:32 +00:00
Hugo Benichi
36af98c6ba Merge "Merge changes Ie762ce75,I611fd791 am: 21a57f263f am: cc9f695ba0 am: 164854bde2" into oc-dev-plus-aosp
am: b09b85471c

Change-Id: I8b1b20d81efa2d86345b3b15600bed4cd40bb6e8
2017-05-11 14:52:23 +00:00
Android Build Merger (Role)
172bd07308 Merge "Add an O-release targetAPI check for Canvas.setBitmap. am: d70695ee34" into oc-dev-plus-aosp 2017-05-11 14:34:45 +00:00
Derek Sollenberger
cfc55617b5 Add an O-release targetAPI check for Canvas.setBitmap.
am: d70695ee34

Change-Id: Ic486fce9a8471c298ba2cd2413eeb9d1b218ac71
2017-05-11 14:32:07 +00:00
Hugo Benichi
3ec835303c Merge changes Ie762ce75,I611fd791 am: 21a57f263f am: cc9f695ba0
am: 164854bde2

Change-Id: I1495249f1ced84438dbd5dd0ad6678e2ee4062cb
2017-05-11 14:28:23 +00:00
Hugo Benichi
164854bde2 Merge changes Ie762ce75,I611fd791 am: 21a57f263f
am: cc9f695ba0

Change-Id: I39dbc3c3c7e69e87e12977fb173379e60c74a3d9
2017-05-11 13:56:22 +00:00
Derek Sollenberger
d70695ee34 Add an O-release targetAPI check for Canvas.setBitmap.
For apps targeting releases earlier than O setBitmap will attempt
to preserve the matrix from the previous bitmap.  It does not however
attempt to reconstruct the save/restore stack or the clip.

Test: manual test of messenger app referenced in the bug
Bug: 37589964
Change-Id: I67f0928a3f84a8be41da38ef1868e79bdeb03e46
2017-05-11 09:28:02 -04:00
Hugo Benichi
21a57f263f Merge changes Ie762ce75,I611fd791
* changes:
  ConnectivityManager: unit test for argument validation
  ConnectivityManager: uses service error codes and exceptions
2017-05-11 12:31:41 +00:00
Philip P. Moltmann
eb013ab31d Merge "Speed up structure update before OnFillRequest" into oc-dev am: 6ab00addb1
am: fc89e4fab1

Change-Id: Ie0b0674a5c415858ae0c3332761682597a0f78af
2017-05-11 09:38:50 +00:00
Fyodor Kupolov
10f628cda2 Merge "Added isUserNameSet" into oc-dev am: a9154ab391
am: 0e861d3e25

Change-Id: I335995890354ce7e4e591782af1188c093e89a6d
2017-05-11 09:35:14 +00:00
Phil Weaver
c3a67fca97 Merge "Remove outdated security note from A11yEvent" into oc-dev am: ea60efa8ef
am: 052bf032cb

Change-Id: I0ef433251e0e53af6ed00a34433cdea0edaf18eb
2017-05-11 09:20:31 +00:00
Phil Weaver
4354c4d6ad Merge "Hiding text from obscured text fields." into oc-dev am: bcc6cc84bf
am: 4a40d25743

Change-Id: I14b6224fef4b428bc9c13517f4803704ad8d7765
2017-05-11 08:10:54 +00:00
Phil Weaver
066fdf5d3f Merge "Clarify documentation for notification a11y events" into oc-dev am: 69a0f3f020
am: ce67e46e9a

Change-Id: I4ce14090b8a203f838dbb3d9fb18b2225ac053ce
2017-05-11 07:15:45 +00:00
Svet Ganov
84390348ea Merge "Properly position dataset picker UI" into oc-dev am: d915aecfaa
am: d0bfa95b4c

Change-Id: I8387cbce6e288c02a5e469dc80245528ae2381e1
2017-05-11 07:08:00 +00:00
Michael Wachenschwanz
6517ae695a Merge "WTF Logging for catching memory issue in Parcel" into oc-dev am: 9254322192
am: c7373d1f5e

Change-Id: If27d23f8423337bf7c9290d9e00a55fb021679ff
2017-05-11 06:59:10 +00:00
Kevin Chyn
966adcbcea Merge "AuthenticationCallback should not be cleared onAuthenticationFailed" into oc-dev am: 6fddc2472e
am: 7096712148

Change-Id: I398d64f93c5061d031c18fcd5a1bfcba9fb96898
2017-05-11 06:52:24 +00:00
Jeremy Joslin
f4491b7103 Merge "Merge "Adding a new config and Setting for WiFi Wakeup." into oc-dev am: b569eedf37" into oc-dev-plus-aosp
am: 3f3a19183e

Change-Id: I01a5285918e355004d25cc9fbb04c70926a28cfa
2017-05-11 06:18:28 +00:00
Makoto Onuki
70dfa834ee Merge "Reconnect to DAService after binding is dead" into oc-dev am: ef5700667f
am: 0d9425e3e4

Change-Id: I597a3a5382ebf9798b322fc8bb3c88749d117170
2017-05-11 06:09:05 +00:00
Makoto Onuki
b6511a60e0 Merge "Offload saving bitmaps from binder threads" into oc-dev am: 31ef139466
am: 3b178f77ce

Change-Id: I12603ba93310abaa8612c118ebf77ac25e6918c5
2017-05-11 05:30:01 +00:00
Makoto Onuki
d7a168e11a Merge "Tweak for b/37809561." into oc-dev am: ca50e88b6b
am: 07db193ebc

Change-Id: I1f2580577da505bb11fdb0445c2d30e87f632a48
2017-05-11 05:26:45 +00:00
Philip P. Moltmann
fc89e4fab1 Merge "Speed up structure update before OnFillRequest" into oc-dev
am: 6ab00addb1

Change-Id: Ia109ee243482ca0ac5622ec415ca5bfffba7d8e3
2017-05-11 05:26:10 +00:00
Fyodor Kupolov
0e861d3e25 Merge "Added isUserNameSet" into oc-dev
am: a9154ab391

Change-Id: I013381eab8809b98d17e7cf9063a62e4884b0e2a
2017-05-11 05:22:19 +00:00
Hugo Benichi
cb88323dd2 ConnectivityManager: uses service error codes and exceptions
This patch introduces between ConnectivityManager and
ConnectivityService a mechanism for propagating back to clients
informative errors in the form of error codes and associated custom
runtime exceptions.

Without error code, the service can only throw a limited number of
different exceptions over Binder. Furthermore the throw site stack
traces are always loss. Although for individual instances of a throw,
the error message can be inspected, aggregations of stack traces from
app crashes sanitize error messages and only leaves the stack traces.

This makes debugging dificult for some service calls such as
requestNetwork that can have a variety of failure modes.

In this patch only one failure mode is codified. More can be added later
at a light cost by: 1) defining an error code, 2) defining an
associated exception, 3) mapping the code to the exception. This patch
can serves as a template for doing so.

Test: $ runtest frameworks-net,
      #testNetworkRequestMaximum() detects the new exception type.
Bug:  36556809, 36701874
Change-Id: I611fd7915575c9e418f7149fcdc8a879d2a3716d
2017-05-11 14:15:15 +09:00
Phil Weaver
052bf032cb Merge "Remove outdated security note from A11yEvent" into oc-dev
am: ea60efa8ef

Change-Id: I8cf9a60c6fe0911fa485b902bf6f4eb3968baef1
2017-05-11 05:06:17 +00:00
Ruben Brunk
cc9089817d Merge "Fix VR component enforcement for "2D in 3D" apps." into oc-dev am: 4d73fd5765
am: dbe6a24331

Change-Id: I7de9452a95aebf7a658d9d0552426146d1bf8e73
2017-05-11 04:51:09 +00:00
Adrian Roos
25664896dd Merge "AOD: Notification groups on Ambient Display" into oc-dev am: bafe438d71
am: ec9559ddc6

Change-Id: I176adacd40cce9d0b321501e8fe8d29f1168f0d5
2017-05-11 04:34:09 +00:00
Colin Cross
065405ca83 Merge "Bluetooth: HID: Add support for Set Idle and Get Idle Commands (3/4)" 2017-05-11 04:23:05 +00:00
Hemant Gupta
56048c446a Bluetooth: HID: Add support for Set Idle and Get Idle Commands (3/4)
Provides an interface for application to send Set Idle
and Get Idle commands to remote HID Device. Support for these
two commands was missing from existing code, so existing code
design is reused to add support for these two commands.

Without this support following mandatory PTS test cases for HID 1.0
cannot be passed, TC_HOS_HID_BV_05/06.

Test: Executed PTS tests TC_HOS_HID_BV_05/06 and confirmed if they can
pass

Bug: 34344715
Change-Id: I21f37d7638c80da99a69c38d55d741b5fb107961
(cherry picked from commit cef9ce368c)
2017-05-10 21:19:46 -07:00
Stanley Tng
09dae065c5 Merge "Merge "Add Save and Restore of BluetoothOn setting" am: bbcc641317 am: 1755a4af45 am: 6682651b2b" into oc-dev-plus-aosp
am: 4c47458094

Change-Id: I5a19fd8f898c726d8d94df7a15cfac0161fd28b0
2017-05-11 04:09:24 +00:00
Geoffrey Pitsch
a82814f0ee Merge "Fix Toast exception in NotificationManagerService" into oc-dev am: 3ee2bfd8f5
am: 92f7c861b0

Change-Id: I694b5476cdea81f751cbb15421862589e9217e3f
2017-05-11 04:02:48 +00:00
Phil Weaver
4a40d25743 Merge "Hiding text from obscured text fields." into oc-dev
am: bcc6cc84bf

Change-Id: I06ac2af600c9703d5af9b583b63ff79ab01d6c68
2017-05-11 03:57:37 +00:00
TreeHugger Robot
424e328bba Merge "Add uniqueId to Virtual Display and pass through to inputflinger (1/2)" into oc-dev 2017-05-11 03:55:40 +00:00
Svet Ganov
c82357bd2c Merge "Revert "Fixed placemente of Autofill UI for virtual views."" into oc-dev am: e59c6ef346
am: c911e0e76f

Change-Id: I8a1f7f4eabebe3b00ee0dfe5ae502be32486b5af
2017-05-11 03:54:10 +00:00