OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Address API council feedback." into oc-dev
George Mount [Thu, 27 Apr 2017 14:18:10 +0000 (14:18 +0000)]
Merge "Address API council feedback." into oc-dev
am: 4a71842dbd

Change-Id: Ia9511f1031463b6e65437e27e6012b8e83e8961d

7 years agoMerge "Address API council feedback." into oc-dev
George Mount [Thu, 27 Apr 2017 14:06:10 +0000 (14:06 +0000)]
Merge "Address API council feedback." into oc-dev

7 years agoMerge "SmartSelection: Use downloaded model file." into oc-dev
Abodunrinwa Toki [Thu, 27 Apr 2017 13:58:36 +0000 (13:58 +0000)]
Merge "SmartSelection: Use downloaded model file." into oc-dev
am: a97608caa8

Change-Id: If5dbd82ad5150a1d4f3cfe35dd7325468f36a94c

7 years agoMerge "Guard against incorrect context use." into oc-dev
Jason Monk [Thu, 27 Apr 2017 13:56:42 +0000 (13:56 +0000)]
Merge "Guard against incorrect context use." into oc-dev
am: 2cddbcaa0f

Change-Id: Ia2905116802bf9d1ed88abb75aefded34d130853

7 years agoMerge "SmartSelection: Use downloaded model file." into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 13:50:52 +0000 (13:50 +0000)]
Merge "SmartSelection: Use downloaded model file." into oc-dev

7 years agoMerge "Guard against incorrect context use." into oc-dev
Jason Monk [Thu, 27 Apr 2017 13:46:48 +0000 (13:46 +0000)]
Merge "Guard against incorrect context use." into oc-dev

7 years agoMerge "Track libcore change 03e8c7dca78a95ccf719a7." into oc-dev
Narayan Kamath [Thu, 27 Apr 2017 13:43:50 +0000 (13:43 +0000)]
Merge "Track libcore change 03e8c7dca78a95ccf719a7." into oc-dev
am: 2e0e7f3c94

Change-Id: I14acd4352f04f16294bfc1b97c2ad9a0b9a533d4

7 years agoMerge "Create a metrics events for ag/2085657 (DO disclosure screens)" into oc-dev
Denis Kuznetsov [Thu, 27 Apr 2017 13:35:55 +0000 (13:35 +0000)]
Merge "Create a metrics events for ag/2085657 (DO disclosure screens)" into oc-dev
am: 28f9ada2ac

Change-Id: Id024cab7c0edc1ebf8626f671ac281f68d71e86f

7 years agoMerge "Track libcore change 03e8c7dca78a95ccf719a7." into oc-dev
Narayan Kamath [Thu, 27 Apr 2017 13:30:30 +0000 (13:30 +0000)]
Merge "Track libcore change 03e8c7dca78a95ccf719a7." into oc-dev

7 years agoMerge "Create a metrics events for ag/2085657 (DO disclosure screens)" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 13:26:21 +0000 (13:26 +0000)]
Merge "Create a metrics events for ag/2085657 (DO disclosure screens)" into oc-dev

7 years agoMerge "NsdManager: unit tests for argument validation" am: 3cff7deecb am: d97e358f7a
Hugo Benichi [Thu, 27 Apr 2017 13:09:02 +0000 (13:09 +0000)]
Merge "NsdManager: unit tests for argument validation" am: 3cff7deecb am: d97e358f7a
am: 48947de481

Change-Id: I8a51ff51071adc60fe9f4d99ec629edabbed353d

7 years agoMerge "NsdService: disentangle NativeDaemonConnector from ctor" am: fa97f11b20 am...
Hugo Benichi [Thu, 27 Apr 2017 13:06:59 +0000 (13:06 +0000)]
Merge "NsdService: disentangle NativeDaemonConnector from ctor" am: fa97f11b20 am: 47748b754c
am: 5d0bd13538

Change-Id: Ic8ddf92c7c64d4214a75bea6d6e5083f4612a76a

7 years agoresolve merge conflicts of 01f050f21fb2 to oc-dev-plus-aosp
Nicolas Geoffray [Thu, 27 Apr 2017 12:56:20 +0000 (13:56 +0100)]
resolve merge conflicts of 01f050f21fb2 to oc-dev-plus-aosp

Test: I solemnly swear I tested this conflict resolution.
Change-Id: If3796f456fa80c2f9c649855d39f4dab01e54f3c

7 years agoMerge "NsdManager: unit tests for argument validation" am: 3cff7deecb
Hugo Benichi [Thu, 27 Apr 2017 12:49:36 +0000 (12:49 +0000)]
Merge "NsdManager: unit tests for argument validation" am: 3cff7deecb
am: d97e358f7a

Change-Id: Ibd6090d57908da159409bd1e886914446e6ba2da

7 years agoMerge "NsdService: disentangle NativeDaemonConnector from ctor" am: fa97f11b20
Hugo Benichi [Thu, 27 Apr 2017 12:44:37 +0000 (12:44 +0000)]
Merge "NsdService: disentangle NativeDaemonConnector from ctor" am: fa97f11b20
am: 47748b754c

Change-Id: Ie66587e82e13957d4a802699f78c41a1bce378b2

7 years agoMerge "NsdManager: unit tests for argument validation"
Hugo Benichi [Thu, 27 Apr 2017 12:44:35 +0000 (12:44 +0000)]
Merge "NsdManager: unit tests for argument validation"
am: 3cff7deecb

Change-Id: I24d3bda00236fe8c49df0ea7f53109625b3b4f9d

7 years agoMerge "NsdService: disentangle NativeDaemonConnector from ctor"
Hugo Benichi [Thu, 27 Apr 2017 12:39:00 +0000 (12:39 +0000)]
Merge "NsdService: disentangle NativeDaemonConnector from ctor"
am: fa97f11b20

Change-Id: I4e5dc9df1f4de256b34c0140ea5ae7ec1bb6fce6

7 years agoMerge "NsdManager: unit tests for argument validation"
Hugo Benichi [Thu, 27 Apr 2017 12:36:41 +0000 (12:36 +0000)]
Merge "NsdManager: unit tests for argument validation"

7 years agoMerge "NsdService: disentangle NativeDaemonConnector from ctor"
Hugo Benichi [Thu, 27 Apr 2017 12:30:20 +0000 (12:30 +0000)]
Merge "NsdService: disentangle NativeDaemonConnector from ctor"

7 years agoMerge "Update frameworks/base to new compiler filters." am: 431bc34096
Nicolas Geoffray [Thu, 27 Apr 2017 11:57:54 +0000 (11:57 +0000)]
Merge "Update frameworks/base to new compiler filters." am: 431bc34096
am: fee9c65f40

Change-Id: I19bfb0fff74e9660029f8a6eee4dd010d2f6c702

7 years agoMerge "Update frameworks/base to new compiler filters."
Nicolas Geoffray [Thu, 27 Apr 2017 11:51:02 +0000 (11:51 +0000)]
Merge "Update frameworks/base to new compiler filters."
am: 431bc34096

Change-Id: I2eb42fb2aad718f71c8c0a7a81ca4e17d0aaa9c5

7 years agoMerge "Update frameworks/base to new compiler filters."
Nicolas Geoffray [Thu, 27 Apr 2017 11:40:05 +0000 (11:40 +0000)]
Merge "Update frameworks/base to new compiler filters."

7 years agoCreate a metrics events for ag/2085657 (DO disclosure screens)
Denis Kuznetsov [Thu, 13 Apr 2017 09:41:33 +0000 (11:41 +0200)]
Create a metrics events for ag/2085657 (DO disclosure screens)

Bug: 32692748
Test: Tests for functional changes are in ag/2085657
Change-Id: I6988a950ab2aa78dcb3f848b59a5b0905da7b204
Merged-In: I6988a950ab2aa78dcb3f848b59a5b0905da7b204
(cherry picked from commit 7152a41d25f0296ec5ed41c497f7666e185890eb)

7 years agoMerge "Deprecate internal Calendar methods." into oc-dev
Joachim Sauer [Thu, 27 Apr 2017 10:57:40 +0000 (10:57 +0000)]
Merge "Deprecate internal Calendar methods." into oc-dev
am: ccac69e11a

Change-Id: I255eab1358585094b43d21a21b3feab578a97e4f

7 years agoMerge "Deprecate internal Calendar methods." into oc-dev
Joachim Sauer [Thu, 27 Apr 2017 10:49:40 +0000 (10:49 +0000)]
Merge "Deprecate internal Calendar methods." into oc-dev

7 years agoMerge "setAffiliationIds and getAffiliationIds uses set instead of list" into oc-dev
Tony Mak [Thu, 27 Apr 2017 09:49:14 +0000 (09:49 +0000)]
Merge "setAffiliationIds and getAffiliationIds uses set instead of list" into oc-dev
am: 424dd39e25

Change-Id: I5e0f9a3f556ae0a078577e68694054ead19d268a

7 years agoMerge "bindDeviceAdminService requires service to be proected by BIND_DEVICE_ADMIN...
Tony Mak [Thu, 27 Apr 2017 09:48:13 +0000 (09:48 +0000)]
Merge "bindDeviceAdminService requires service to be proected by BIND_DEVICE_ADMIN" into oc-dev
am: f4362fda59

Change-Id: I130dc84ecfb47263679f6645a0b243f047c04e33

7 years agoMerge "setAffiliationIds and getAffiliationIds uses set instead of list" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 09:41:08 +0000 (09:41 +0000)]
Merge "setAffiliationIds and getAffiliationIds uses set instead of list" into oc-dev

7 years agoMerge "bindDeviceAdminService requires service to be proected by BIND_DEVICE_ADMIN...
TreeHugger Robot [Thu, 27 Apr 2017 09:41:08 +0000 (09:41 +0000)]
Merge "bindDeviceAdminService requires service to be proected by BIND_DEVICE_ADMIN" into oc-dev

7 years agoNsdManager: unit tests for argument validation
Hugo Benichi [Tue, 25 Apr 2017 06:04:10 +0000 (15:04 +0900)]
NsdManager: unit tests for argument validation

Test: new tests pass.
Bug: 3701336933298084
Change-Id: Ia514d2bbd967d46fed54e379f319b572ade22c62

7 years agoNsdService: disentangle NativeDaemonConnector from ctor
Hugo Benichi [Mon, 24 Apr 2017 07:19:58 +0000 (16:19 +0900)]
NsdService: disentangle NativeDaemonConnector from ctor

This patch disentangles the creation of NativeDaemonConnector from the
creation of NsdService by introducing a wrapper type DaemonConnection.

This allows to mock this dependency in unit tests.

Test: enhanced previously introduced new tests.
Bug: 3701336933298084
Change-Id: I894b7cddfc509f86d0134d214c88c063b81b5e0a

7 years agoMerge "Adds a comment to EXTRA_CONTENT_ANNOTATIONS to prevent developers from using...
Kang Li [Thu, 27 Apr 2017 07:33:39 +0000 (07:33 +0000)]
Merge "Adds a comment to EXTRA_CONTENT_ANNOTATIONS to prevent developers from using colons in their customized annotations." into oc-dev
am: 6b36aeb491

Change-Id: Id08aa99bc81d260731fae25457b30e648171b291

7 years agoMerge "Adds a comment to EXTRA_CONTENT_ANNOTATIONS to prevent developers from using...
TreeHugger Robot [Thu, 27 Apr 2017 07:26:09 +0000 (07:26 +0000)]
Merge "Adds a comment to EXTRA_CONTENT_ANNOTATIONS to prevent developers from using colons in their customized annotations." into oc-dev

7 years agoMerge "Address API Council feedback." into oc-dev
Steve McKay [Thu, 27 Apr 2017 06:33:19 +0000 (06:33 +0000)]
Merge "Address API Council feedback." into oc-dev
am: f147688149

Change-Id: I3f4e3f74058b1f1e0af4cf5a2c095fb0c265c003

7 years agoMerge "Address API Council feedback." into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 06:26:00 +0000 (06:26 +0000)]
Merge "Address API Council feedback." into oc-dev

7 years agoMerge "Expose Companion API via shell command" into oc-dev
Eugene Susla [Thu, 27 Apr 2017 06:03:59 +0000 (06:03 +0000)]
Merge "Expose Companion API via shell command" into oc-dev
am: 60c17e06e8

Change-Id: I0d8301000f9fef4a2c13ae64798d13bb16029878

7 years agoMerge "Expose Companion API via shell command" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 05:55:58 +0000 (05:55 +0000)]
Merge "Expose Companion API via shell command" into oc-dev

7 years agoMerge "NsdService: bootstrap unit tests" am: 7ca060aa95 am: dd53c962b2
Hugo Benichi [Thu, 27 Apr 2017 05:49:47 +0000 (05:49 +0000)]
Merge "NsdService: bootstrap unit tests" am: 7ca060aa95 am: dd53c962b2
am: d29ce6ae8c

Change-Id: Iaf0679790e934baaaf48bcb04098aa18deca4d60

7 years agoMerge "NsdService: bootstrap unit tests" am: 7ca060aa95
Hugo Benichi [Thu, 27 Apr 2017 05:42:36 +0000 (05:42 +0000)]
Merge "NsdService: bootstrap unit tests" am: 7ca060aa95
am: dd53c962b2

Change-Id: If2782297ecd3b6bef8d8be5b1427aed8fcdb7aee

7 years agoMerge "NsdService: bootstrap unit tests"
Hugo Benichi [Thu, 27 Apr 2017 05:34:05 +0000 (05:34 +0000)]
Merge "NsdService: bootstrap unit tests"
am: 7ca060aa95

Change-Id: I3ce2d85afb5e085c8c49731f3d18a96d17542271

7 years agoMerge "docs: Update EditText JavaDoc comments" into oc-dev
Joe Fernandez [Thu, 27 Apr 2017 05:33:23 +0000 (05:33 +0000)]
Merge "docs: Update EditText JavaDoc comments" into oc-dev
am: cc7f08e997

Change-Id: I756fae9374b0bd2f30c7c1a856acdc09fe249adb

7 years agoMerge "docs: Update Button JavaDoc comments" into oc-dev
Joe Fernandez [Thu, 27 Apr 2017 05:31:24 +0000 (05:31 +0000)]
Merge "docs: Update Button JavaDoc comments" into oc-dev
am: 1e5d0768cd

Change-Id: Ice1626bc12b0b605a97c8d921c352c5e600bc43a

7 years agoMerge "docs: Update EditText JavaDoc comments" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 05:24:46 +0000 (05:24 +0000)]
Merge "docs: Update EditText JavaDoc comments" into oc-dev

7 years agoMerge "NsdService: bootstrap unit tests"
Hugo Benichi [Thu, 27 Apr 2017 05:22:52 +0000 (05:22 +0000)]
Merge "NsdService: bootstrap unit tests"

7 years agoMerge "docs: Update Button JavaDoc comments" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 05:21:17 +0000 (05:21 +0000)]
Merge "docs: Update Button JavaDoc comments" into oc-dev

7 years agoMerge "Autofill binding permission fixes." into oc-dev
Felipe Leme [Thu, 27 Apr 2017 05:11:38 +0000 (05:11 +0000)]
Merge "Autofill binding permission fixes." into oc-dev
am: d915c42150

Change-Id: I355fe15bed198f2db1bd819bbeb138be9bea56d2

7 years agoMerge "Api updates" into oc-dev
Julia Reynolds [Thu, 27 Apr 2017 05:04:18 +0000 (05:04 +0000)]
Merge "Api updates" into oc-dev
am: f84467e19f

Change-Id: I136a7713ee8f2b625b58aac29f5315c5b336256b

7 years agoMerge "[Stability]: fix system_server crash issue caused by fd leak." into oc-dev
Peng Xu [Thu, 27 Apr 2017 05:00:12 +0000 (05:00 +0000)]
Merge "[Stability]: fix system_server crash issue caused by fd leak." into oc-dev
am: 3ab258c98d

Change-Id: I2c36bf36a085f9c4535d74dc3245abfe56a2b322

7 years agoMerge "Autofill binding permission fixes." into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 04:56:39 +0000 (04:56 +0000)]
Merge "Autofill binding permission fixes." into oc-dev

7 years agoMerge "Api updates" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 04:51:37 +0000 (04:51 +0000)]
Merge "Api updates" into oc-dev

7 years agoMerge "Fix volume key events are dispatched when screen is off" into oc-dev
David Lin [Thu, 27 Apr 2017 04:50:55 +0000 (04:50 +0000)]
Merge "Fix volume key events are dispatched when screen is off" into oc-dev
am: 0db47f9364

Change-Id: I0a7c23f9ad342de17a427c0f22ab683d727a3166

7 years agoMerge "[Stability]: fix system_server crash issue caused by fd leak." into oc-dev
Peng Xu [Thu, 27 Apr 2017 04:49:11 +0000 (04:49 +0000)]
Merge "[Stability]: fix system_server crash issue caused by fd leak." into oc-dev

7 years agoMerge "Fix volume key events are dispatched when screen is off" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 04:46:29 +0000 (04:46 +0000)]
Merge "Fix volume key events are dispatched when screen is off" into oc-dev

7 years agoMerge "docs: Update ScrollView JavaDoc comments" into oc-dev
Joe Fernandez [Thu, 27 Apr 2017 04:42:27 +0000 (04:42 +0000)]
Merge "docs: Update ScrollView JavaDoc comments" into oc-dev
am: 47ca22e361

Change-Id: I420d715eb686c1a27f888a394d764358cb227df6

7 years agoMerge "docs: Update RelativeLayout.LayoutParams JavaDoc comments" into oc-dev
Joe Fernandez [Thu, 27 Apr 2017 04:40:19 +0000 (04:40 +0000)]
Merge "docs: Update RelativeLayout.LayoutParams JavaDoc comments" into oc-dev
am: b312d38868

Change-Id: I1452e7e30f5eea7da222b093b0e8d6d1fb400c10

7 years agoMerge "Handle package changes in autofill manager service" into oc-dev
Svet Ganov [Thu, 27 Apr 2017 04:36:08 +0000 (04:36 +0000)]
Merge "Handle package changes in autofill manager service" into oc-dev
am: 01d51288df

Change-Id: Idcc327443e903d7b5b09526babf62426e3b83291

7 years agoMerge "docs: Update LinearLayout JavaDoc comments" into oc-dev
Joe Fernandez [Thu, 27 Apr 2017 04:33:16 +0000 (04:33 +0000)]
Merge "docs: Update LinearLayout JavaDoc comments" into oc-dev
am: ca105f6c29

Change-Id: I474bae032506243df9035056155fc0738f49e445

7 years agoMerge "docs: Update ProgressBar JavaDoc comments" into oc-dev
Joe Fernandez [Thu, 27 Apr 2017 04:31:10 +0000 (04:31 +0000)]
Merge "docs: Update ProgressBar JavaDoc comments" into oc-dev
am: 80fe019f6b

Change-Id: Ia821d6edb1c0c1b44b7a1f33490c4046d81ff2cc

7 years agoMerge "docs: Update ScrollView JavaDoc comments" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 04:29:09 +0000 (04:29 +0000)]
Merge "docs: Update ScrollView JavaDoc comments" into oc-dev

7 years agoMerge "docs: Update RelativeLayout.LayoutParams JavaDoc comments" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 04:28:31 +0000 (04:28 +0000)]
Merge "docs: Update RelativeLayout.LayoutParams JavaDoc comments" into oc-dev

7 years agoMerge "Handle package changes in autofill manager service" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 04:22:20 +0000 (04:22 +0000)]
Merge "Handle package changes in autofill manager service" into oc-dev

7 years agoMerge "docs: Update LinearLayout JavaDoc comments" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 04:21:09 +0000 (04:21 +0000)]
Merge "docs: Update LinearLayout JavaDoc comments" into oc-dev

7 years agoMerge "Blame services for slow operations" into oc-dev
Fyodor Kupolov [Thu, 27 Apr 2017 04:14:24 +0000 (04:14 +0000)]
Merge "Blame services for slow operations" into oc-dev
am: 3acd16b43d

Change-Id: I17dabe18c63f1743b8b7586f27e4c3a16d7303b0

7 years agoMerge "docs: Update ProgressBar JavaDoc comments" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 04:12:44 +0000 (04:12 +0000)]
Merge "docs: Update ProgressBar JavaDoc comments" into oc-dev

7 years agoMerge "Add device ID attestation method to keymaster" into oc-dev
Bartosz Fabianowski [Thu, 27 Apr 2017 04:04:45 +0000 (04:04 +0000)]
Merge "Add device ID attestation method to keymaster" into oc-dev
am: 9138c5dfa7

Change-Id: I27c7bd606df0c584d897523c787ae684e9c0c30c

7 years agoMerge "Call getAllowedUid on a separate thread" into oc-dev
Fyodor Kupolov [Thu, 27 Apr 2017 04:00:09 +0000 (04:00 +0000)]
Merge "Call getAllowedUid on a separate thread" into oc-dev
am: 21c34e2b50

Change-Id: I7df45a4b0124b68e049bd0b80f7ab6cef2cda4d1

7 years agoMerge "Blame services for slow operations" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 03:59:53 +0000 (03:59 +0000)]
Merge "Blame services for slow operations" into oc-dev

7 years agoMerge "Clarify some IpManager/ApfFilter debugging output." into oc-dev
Erik Kline [Thu, 27 Apr 2017 03:58:12 +0000 (03:58 +0000)]
Merge "Clarify some IpManager/ApfFilter debugging output." into oc-dev
am: 40ccb1b5aa

Change-Id: Ie883f62bdc731c8da3b3d5ac1df827e1fd5b44be

7 years agoMerge "Add device ID attestation method to keymaster" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 03:51:29 +0000 (03:51 +0000)]
Merge "Add device ID attestation method to keymaster" into oc-dev

7 years agoMerge "Call getAllowedUid on a separate thread" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 03:50:47 +0000 (03:50 +0000)]
Merge "Call getAllowedUid on a separate thread" into oc-dev

7 years agoMerge "Clarify some IpManager/ApfFilter debugging output." into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 03:45:50 +0000 (03:45 +0000)]
Merge "Clarify some IpManager/ApfFilter debugging output." into oc-dev

7 years agoMerge "Drop uses-feature requirement for system process" into oc-dev
Svetoslav Ganov [Thu, 27 Apr 2017 03:06:14 +0000 (03:06 +0000)]
Merge "Drop uses-feature requirement for system process" into oc-dev
am: 8ba6fdb3fa

Change-Id: Ic306e331e0eac1d8559cea71a56211eaadbf35e1

7 years agoMerge "Drop uses-feature requirement for system process" into oc-dev
Svetoslav Ganov [Thu, 27 Apr 2017 03:01:55 +0000 (03:01 +0000)]
Merge "Drop uses-feature requirement for system process" into oc-dev

7 years ago[Stability]: fix system_server crash issue caused by fd leak.
songjinshi [Wed, 15 Mar 2017 08:16:05 +0000 (16:16 +0800)]
[Stability]: fix system_server crash issue caused by fd leak.

If an app incorrect use of registerListener, it will cause
system_server socket fd leak, for example:
    protected void onResume() {
        super.onResume();
        mSensorManager.registerListener(new MySensorEventListener(),
                mSensor, SensorManager.SENSOR_DELAY_UI);
Each time a new SensorEventQueue, then in the system_server
will open a new socket fd, as time increases system_server's
fd will be more than 1024 and crash, so we needed add count limit
for sensor listener to improve the system stability.

Test: use the apk attached in the issue
      https://code.google.com/p/android/issues/detail?id=258634
Bug: 37543280

Change-Id: I35006966a1638c25bb0f54611e117e16a764e12b
Signed-off-by: songjinshi <songjinshi@xiaomi.com>
7 years agoHandle package changes in autofill manager service
Svet Ganov [Thu, 27 Apr 2017 01:49:30 +0000 (18:49 -0700)]
Handle package changes in autofill manager service

Autofill manager service was not observing package changes thus
we did not properly handle the cases of the service being updated,
added, and removed. Handling, additions is needed to properly
support restore from a backup. Fixed a few missing locks.

Test: all autofill CTS tests pass and manually tested update, add,
      and remove of autofill services.

bug:36638606
bug:36978445

Change-Id: Idd47891774ba2a4e562a1952cbb5a048211fd4e3

7 years agoMerge "Avoid ClassCastException in ArrayMap." into oc-dev
Daniel Sandler [Thu, 27 Apr 2017 01:31:40 +0000 (01:31 +0000)]
Merge "Avoid ClassCastException in ArrayMap." into oc-dev
am: f9e5395081

Change-Id: I2b8b50865bd6db37092ac5752bf280a74e840074

7 years agoMerge "Avoid ClassCastException in ArrayMap." into oc-dev
Daniel Sandler [Thu, 27 Apr 2017 01:23:52 +0000 (01:23 +0000)]
Merge "Avoid ClassCastException in ArrayMap." into oc-dev

7 years agoMerge "Check only task's override config for adjusting bounds" into oc-dev
Andrii Kulian [Thu, 27 Apr 2017 01:06:51 +0000 (01:06 +0000)]
Merge "Check only task's override config for adjusting bounds" into oc-dev
am: 1ad18abedb

Change-Id: I59cc12ece55b02a30dbd9f5f6ae741632dbbbccc

7 years agoMerge "Temporary tracking of JobStatus unprepare" into oc-dev
Christopher Tate [Thu, 27 Apr 2017 01:03:48 +0000 (01:03 +0000)]
Merge "Temporary tracking of JobStatus unprepare" into oc-dev
am: ddd55793bc

Change-Id: I612beb12fa9ca39f6fb0c745dec8439e3581953a

7 years agoAutofill binding permission fixes.
Felipe Leme [Thu, 27 Apr 2017 00:42:38 +0000 (17:42 -0700)]
Autofill binding permission fixes.

- Removed deprecated BIND_AUTO_FILL
- Renamed BIND_AUTOFILL to BIND_AUTOFILL_SERVICE
- Kept BIND_AUTOFILL as @hide
- Fixed the permission code

The permission check was actually ignored; it was probably broken when we
introduced support to settings.

Fixes: 37723410
Bug: 37563972
Test: manual verification with existing client
Test: CtsAutoFillServiceTestCases pass

Change-Id: If3abdcb0ae850f0a327bfdbb9ca6c44a24823047

7 years agoFixing issue with lingering dismiss PiP overlay.
Winson Chung [Thu, 27 Apr 2017 00:49:33 +0000 (00:49 +0000)]
Fixing issue with lingering dismiss PiP overlay.
am: b54b65b001

Change-Id: Iedc5f922b8e4db9cec6fc9f2b28e59846682df2c

7 years agoFix issue with dismiss scrim not spanning full screen
Winson Chung [Thu, 27 Apr 2017 00:48:42 +0000 (00:48 +0000)]
Fix issue with dismiss scrim not spanning full screen
am: ef16fa9842

Change-Id: I3514eb5bf1a7fe42f55dce5bc84b35d433272096

7 years agoPrevent IME adjustment for stacks not affected by docked stack resizing
Winson Chung [Thu, 27 Apr 2017 00:47:30 +0000 (00:47 +0000)]
Prevent IME adjustment for stacks not affected by docked stack resizing
am: fef058d7d0

Change-Id: I18ce84aa67b20b0fbbc44279c89edff107b9d7be

7 years agoUpdating PiP API and documentation.
Winson Chung [Thu, 27 Apr 2017 00:46:25 +0000 (00:46 +0000)]
Updating PiP API and documentation.
am: 709904f800

Change-Id: I28e4de6ab2072c53cc5d7da77b7d70acb63d8ef0

7 years agoMerge "Check only task's override config for adjusting bounds" into oc-dev
Andrii Kulian [Thu, 27 Apr 2017 00:46:05 +0000 (00:46 +0000)]
Merge "Check only task's override config for adjusting bounds" into oc-dev

7 years agoMerge "Allow Bluetooth CAP_SYS_NICE" am: ebc94ecac9 am: dedc04978e
Philip Cuadra [Thu, 27 Apr 2017 00:39:46 +0000 (00:39 +0000)]
Merge "Allow Bluetooth CAP_SYS_NICE" am: ebc94ecac9 am: dedc04978e
am: a63131321e  -s ours

Change-Id: I0eddaabb2aee9e521389905882b42d2cd362e64e

7 years agoMerge "Clarify some IpManager/ApfFilter debugging output." am: ce94c07ffd am: 3cc7ccfc69
Erik Kline [Thu, 27 Apr 2017 00:35:25 +0000 (00:35 +0000)]
Merge "Clarify some IpManager/ApfFilter debugging output." am: ce94c07ffd am: 3cc7ccfc69
am: b1914ebb50

Change-Id: If64f2b8a5cdf8b946a82a0c97a42cf61ef5e0b08

7 years agoMerge "Temporary tracking of JobStatus unprepare" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 00:33:16 +0000 (00:33 +0000)]
Merge "Temporary tracking of JobStatus unprepare" into oc-dev

7 years agoMerge "Allow Bluetooth CAP_SYS_NICE" am: ebc94ecac9
Philip Cuadra [Thu, 27 Apr 2017 00:26:39 +0000 (00:26 +0000)]
Merge "Allow Bluetooth CAP_SYS_NICE" am: ebc94ecac9
am: dedc04978e

Change-Id: I5fa80631fe566771525a94c54d8cbbe543b783e0

7 years agoMerge "Clarify some IpManager/ApfFilter debugging output." am: ce94c07ffd
Erik Kline [Thu, 27 Apr 2017 00:23:55 +0000 (00:23 +0000)]
Merge "Clarify some IpManager/ApfFilter debugging output." am: ce94c07ffd
am: 3cc7ccfc69

Change-Id: I85ba7fe2da509c4581a27400170a537accd844ee

7 years agoFixing issue with lingering dismiss PiP overlay.
Winson Chung [Wed, 26 Apr 2017 21:02:13 +0000 (14:02 -0700)]
Fixing issue with lingering dismiss PiP overlay.

- Always try and remove the dismiss overlay when animating touch ends, or
  if the input consumer is unregistered to handle cases where the
  interaction is interrupted by the pip animation.

Bug: 37309693
Test: Intermittent, enter pip and try to tap and then tap-drag the PIP
Change-Id: I05f360f1d9d264590725e13eb2cc9254a3f21eef

7 years agoFix issue with dismiss scrim not spanning full screen
Winson Chung [Wed, 26 Apr 2017 15:46:24 +0000 (08:46 -0700)]
Fix issue with dismiss scrim not spanning full screen

Bug: 37309741
Test: Launch PIP activity, go to landscape, drag and ensure dismiss
      overlay spans fullscreen

Change-Id: I449c9f2bdaf01357ebdb652665e884c1ada5ea46

7 years agoPrevent IME adjustment for stacks not affected by docked stack resizing
Winson Chung [Tue, 25 Apr 2017 21:43:10 +0000 (14:43 -0700)]
Prevent IME adjustment for stacks not affected by docked stack resizing

Bug: 37358175
Test: Resize docked stack while PIP is up
Change-Id: I4f057f6671e8c164624359bf3532f9a22fdf768e

7 years agoMerge "Allow Bluetooth CAP_SYS_NICE"
Philip Cuadra [Thu, 27 Apr 2017 00:17:06 +0000 (00:17 +0000)]
Merge "Allow Bluetooth CAP_SYS_NICE"
am: ebc94ecac9

Change-Id: Ibf14ca3ac79d2e522584ad80dc5bf3ffc32c48bc

7 years agoMerge "Clarify some IpManager/ApfFilter debugging output."
Erik Kline [Thu, 27 Apr 2017 00:14:50 +0000 (00:14 +0000)]
Merge "Clarify some IpManager/ApfFilter debugging output."
am: ce94c07ffd

Change-Id: If5e0628c3e8ec5c918fe29fea25c24d0fae53614

7 years agoUpdating PiP API and documentation.
Winson Chung [Tue, 25 Apr 2017 18:00:48 +0000 (11:00 -0700)]
Updating PiP API and documentation.

- Renaming PictureInPictureArgs to PictureInPictureParams, making it
  immutable and built with a builder class.  In addition, making the
  aspect ratio rational.
- Moving the check to get max number of actions to the activity to have
  more flexibility going forward
- Also ensures that enterPictureInPictureMode() returns true if the
  activity is already in PiP mode.
- Will follow up with CL to remove PictureInPictureArgs and related methods
  once this CL drops

Bug: 35765211
Bug: 37638323
Bug: 37637423
Bug: 37636674
Bug: 36342780
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: android.app.cts.PictureInPictureParamsBuilderTest

Change-Id: I54a487d55a59c9ce8ac7bd6c80c61209c8b26224
Signed-off-by: Winson Chung <winsonc@google.com>
7 years agoMerge "Allow Bluetooth CAP_SYS_NICE"
Treehugger Robot [Thu, 27 Apr 2017 00:01:53 +0000 (00:01 +0000)]
Merge "Allow Bluetooth CAP_SYS_NICE"

7 years agoMerge "Clarify some IpManager/ApfFilter debugging output."
Erik Kline [Wed, 26 Apr 2017 23:56:58 +0000 (23:56 +0000)]
Merge "Clarify some IpManager/ApfFilter debugging output."

7 years agoMerge "Provide support for optimized ACTION_REQUEST_SET_AUTOFILL_SERVICE." into oc-dev
Felipe Leme [Wed, 26 Apr 2017 23:54:31 +0000 (23:54 +0000)]
Merge "Provide support for optimized ACTION_REQUEST_SET_AUTOFILL_SERVICE." into oc-dev
am: 62bb027d12

Change-Id: If9e223a9cc7585568eb86995f0d0ef458d2c658c

7 years agoMerge "Enhance DeviceAdminService javadoc and remove TODO." into oc-dev
Makoto Onuki [Wed, 26 Apr 2017 23:49:58 +0000 (23:49 +0000)]
Merge "Enhance DeviceAdminService javadoc and remove TODO." into oc-dev
am: 397335d926

Change-Id: Ie69d82114c5df99261c3d9fcfe2dd47eb6d7ddf1