OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Update transport tests for binding on-demand to support SDK 26 API"
TreeHugger Robot [Mon, 15 Jan 2018 15:32:28 +0000 (15:32 +0000)]
Merge "Update transport tests for binding on-demand to support SDK 26 API"

6 years agoMerge "change NMS removeNetwork to netd binder variant" am: e61ee4198e am: b73571b981
Erik Kline [Mon, 15 Jan 2018 14:54:30 +0000 (14:54 +0000)]
Merge "change NMS removeNetwork to netd binder variant" am: e61ee4198e am: b73571b981
am: ddeaa31b7d

Change-Id: I38905b12f24f16860de1db18cd12d93fc661c684

6 years agoMerge "change NMS removeNetwork to netd binder variant" am: e61ee4198e
Erik Kline [Mon, 15 Jan 2018 14:38:08 +0000 (14:38 +0000)]
Merge "change NMS removeNetwork to netd binder variant" am: e61ee4198e
am: b73571b981

Change-Id: I6de7f38c7081e14d817cc7aad44cb5b6a978328b

6 years agoMerge "change NMS removeNetwork to netd binder variant"
Erik Kline [Mon, 15 Jan 2018 14:28:48 +0000 (14:28 +0000)]
Merge "change NMS removeNetwork to netd binder variant"
am: e61ee4198e

Change-Id: I789653740c8cb1bb879215eaa3101f56d5bf7096

6 years agoMerge "Move startUserInBackground to standalone and avoid user from being stopped...
TreeHugger Robot [Mon, 15 Jan 2018 13:56:36 +0000 (13:56 +0000)]
Merge "Move startUserInBackground to standalone and avoid user from being stopped unnecessarily"

6 years agoMerge "Expose API android.icu.util.IllformedLocaleException" am: a5fed7f526 am: 3c848...
vichang [Mon, 15 Jan 2018 13:53:29 +0000 (13:53 +0000)]
Merge "Expose API android.icu.util.IllformedLocaleException" am: a5fed7f526 am: 3c84896ced
am: 7d5e542dd9  -s ours

Change-Id: I778da1f78b1244e6bad6f13c16725500e39e05b4

6 years agoMerge "Expose API android.icu.util.IllformedLocaleException" am: a5fed7f526
vichang [Mon, 15 Jan 2018 13:37:49 +0000 (13:37 +0000)]
Merge "Expose API android.icu.util.IllformedLocaleException" am: a5fed7f526
am: 3c84896ced

Change-Id: Iea46598fce566f6075428cca9b10279dcb28eae4

6 years agoMerge "Remove redundant comments"
TreeHugger Robot [Mon, 15 Jan 2018 13:37:35 +0000 (13:37 +0000)]
Merge "Remove redundant comments"

6 years agoMerge "Expose API android.icu.util.IllformedLocaleException"
vichang [Mon, 15 Jan 2018 13:21:57 +0000 (13:21 +0000)]
Merge "Expose API android.icu.util.IllformedLocaleException"
am: a5fed7f526

Change-Id: I30faa7bfd7076f86abce9b31c546d1e49e34e7da

6 years agoMerge "change NMS removeNetwork to netd binder variant"
Treehugger Robot [Mon, 15 Jan 2018 12:39:09 +0000 (12:39 +0000)]
Merge "change NMS removeNetwork to netd binder variant"

6 years agoUpdate transport tests for binding on-demand to support SDK 26 API
Annie Meng [Mon, 15 Jan 2018 12:10:38 +0000 (12:10 +0000)]
Update transport tests for binding on-demand to support SDK 26 API

After Robo 3.5.1 upgrade, these tests should support the new SDK.

Bug: 69153972
Test: m -j RunFrameworkServicesRoboTests
Change-Id: I12be8668b0c8bb7933cc1a30717356d86f1f3737

6 years agoMerge "Expose API android.icu.util.IllformedLocaleException"
vichang [Mon, 15 Jan 2018 11:56:58 +0000 (11:56 +0000)]
Merge "Expose API android.icu.util.IllformedLocaleException"

6 years agoAdd DISALLOW_AMBIENT_DISPLAY.
yuemingw [Wed, 10 Jan 2018 18:59:43 +0000 (18:59 +0000)]
Add DISALLOW_AMBIENT_DISPLAY.

Bug: 67675787
Test: cts will be added in b/67675794

Change-Id: Ic859783e05e54ea88d98db517891d41353ad033d

6 years agoMerge "Making TextClassifier helper objects parcelable"
TreeHugger Robot [Mon, 15 Jan 2018 11:26:06 +0000 (11:26 +0000)]
Merge "Making TextClassifier helper objects parcelable"

6 years agochange NMS removeNetwork to netd binder variant
Erik Kline [Mon, 15 Jan 2018 08:05:07 +0000 (17:05 +0900)]
change NMS removeNetwork to netd binder variant

Also: require NETWORK_STACK instead of CONNECTIVITY_INTERNAL.

Bug: 34953048
Bug: 64133961
Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net
Change-Id: I26f07f51a8a2f4a8bb43a276da7c5e66c355c848

6 years agoRemove redundant comments
Rubin Xu [Mon, 15 Jan 2018 09:04:22 +0000 (09:04 +0000)]
Remove redundant comments

Bug: 63911046
Test: compiles
Change-Id: I0428f3c8d9675d8dcddba306f9569e6b3fc9b4c2

6 years agoMerge changes I30b40c48,I7d02c54c,Id68ebd35
TreeHugger Robot [Mon, 15 Jan 2018 02:19:15 +0000 (02:19 +0000)]
Merge changes I30b40c48,I7d02c54c,Id68ebd35

* changes:
  Use lambda when appropriate
  Remove redundant type casts
  Fix JavaDoc errors

6 years agoUse lambda when appropriate
Yohei Yukawa [Mon, 15 Jan 2018 00:30:59 +0000 (16:30 -0800)]
Use lambda when appropriate

This is a safe refactoring that should have no behavior change in
terms of semantics and performance characteristics.

Test: make -j checkbuild
Change-Id: I30b40c483e490ff42c1c707233ca5cc7b67da28f

6 years agoRemove redundant type casts
Yohei Yukawa [Mon, 15 Jan 2018 00:24:26 +0000 (16:24 -0800)]
Remove redundant type casts

Test: make -j checkbuild
Change-Id: I7d02c54c09543848711c1f3204719a79593a3cbd

6 years agoFollow method renamings
Yohei Yukawa [Mon, 15 Jan 2018 00:15:31 +0000 (16:15 -0800)]
Follow method renamings

This is a follow up CL to a recent CL [1], which deprecated several
APIs InputMethodManager class but forgot to update some of existing
call sites in InputMethodService to use new method names.

This CL only addresses deprecated API usage warnings.  There should be
no behavior change.

 [1]: I3163f3cbe557c85103ca287bee0874a3b4194032
      d8d03a8e1b5b7f4b05d7f99a19d356ffd95edb58

Bug: 70282603
Test: atest CtsInputMethodTestCases
Change-Id: I709ca997523ac9a9cd2d236f3158bbb18cf2edc3

6 years agoFix JavaDoc errors
Yohei Yukawa [Mon, 15 Jan 2018 00:06:16 +0000 (16:06 -0800)]
Fix JavaDoc errors

Test: make -j checkbuild
Change-Id: Id68ebd3588cd286c821da49e3bda4299d311e8b9

6 years agoMerge "Remove junit classes from legacy-android-test" am: 4418418adb am: d724c112f3
Paul Duffin [Sat, 13 Jan 2018 21:36:33 +0000 (21:36 +0000)]
Merge "Remove junit classes from legacy-android-test" am: 4418418adb am: d724c112f3
am: 8e632576ed

Change-Id: I5b8f7a0c93e90741f0eba1d0761d2c26e8b24513

6 years agoMerge "Remove junit classes from legacy-android-test" am: 4418418adb
Paul Duffin [Sat, 13 Jan 2018 21:25:58 +0000 (21:25 +0000)]
Merge "Remove junit classes from legacy-android-test" am: 4418418adb
am: d724c112f3

Change-Id: I82688070910b342152f4076425ac2fedbf41be7c

6 years agoMerge "Remove junit classes from legacy-android-test"
Paul Duffin [Sat, 13 Jan 2018 21:13:12 +0000 (21:13 +0000)]
Merge "Remove junit classes from legacy-android-test"
am: 4418418adb

Change-Id: Id2966fd487ff95aa5a8e485756366df804765800

6 years agoMerge "Remove junit classes from legacy-android-test"
Paul Duffin [Sat, 13 Jan 2018 19:33:39 +0000 (19:33 +0000)]
Merge "Remove junit classes from legacy-android-test"

6 years agoMerge "Implement DISALLOW_SHARE_INTO_MANAGED_PROFILE"
TreeHugger Robot [Sat, 13 Jan 2018 16:40:41 +0000 (16:40 +0000)]
Merge "Implement DISALLOW_SHARE_INTO_MANAGED_PROFILE"

6 years agoMerge changes from topic "fix-legacy-android-test-spam" am: 22bd015cba am: fdc58270ef
Paul Duffin [Sat, 13 Jan 2018 13:10:35 +0000 (13:10 +0000)]
Merge changes from topic "fix-legacy-android-test-spam" am: 22bd015cba am: fdc58270ef
am: 765a976936  -s ours

Change-Id: I5fe3e5d0e1b955a279646c6d1701f79c1700a773

6 years agoMove legacy-test to test-base am: 2141827700 am: 3f200744ae
Paul Duffin [Sat, 13 Jan 2018 13:04:50 +0000 (13:04 +0000)]
Move legacy-test to test-base am: 2141827700 am: 3f200744ae
am: 14e8a359da  -s ours

Change-Id: I573351f84fc18e4a1b4ca8fe63675e9c87f8113f

6 years agoMerge changes from topic "fix-legacy-android-test-spam" am: 22bd015cba
Paul Duffin [Sat, 13 Jan 2018 11:22:25 +0000 (11:22 +0000)]
Merge changes from topic "fix-legacy-android-test-spam" am: 22bd015cba
am: fdc58270ef

Change-Id: I2f6dca4843d6f61efee1577ba5e88d16844cfbfe

6 years agoMove legacy-test to test-base am: 2141827700
Paul Duffin [Sat, 13 Jan 2018 11:17:46 +0000 (11:17 +0000)]
Move legacy-test to test-base am: 2141827700
am: 3f200744ae

Change-Id: I50ea451e6f8c80e47b7ff28b128d713e24aeb5f0

6 years agoMerge changes from topic "fix-legacy-android-test-spam"
Paul Duffin [Sat, 13 Jan 2018 11:06:08 +0000 (11:06 +0000)]
Merge changes from topic "fix-legacy-android-test-spam"
am: 22bd015cba

Change-Id: Ib2be0591aba3b4a2f6b06becc9cd3f5de1a40532

6 years agoMove legacy-test to test-base
Paul Duffin [Sat, 13 Jan 2018 11:00:30 +0000 (11:00 +0000)]
Move legacy-test to test-base
am: 2141827700

Change-Id: I231aa9f47f0bb8d6985eedc4db6630772dcc8c27

6 years agoRemove junit classes from legacy-android-test
Paul Duffin [Fri, 12 Jan 2018 16:08:35 +0000 (16:08 +0000)]
Remove junit classes from legacy-android-test

A mistake during the conversion of the legacy-android-test target from
Android.mk to Android.bp caused some junit classes to be accidentally
included in the legacy-android-test target. That caused some warnings
about duplicate classes to be output during the build.

The junit classes are being included as part of the static library
android.test.runner. This fixes that by adding a new
android.test.runner-minus-junit which excludes the junit classes
and then using that instead.

Test: make checkbuild
Change-Id: Icd00b38c64d3416a55c1055f9716ddb78ec278f8

6 years agoMerge changes from topic "fix-legacy-android-test-spam"
Paul Duffin [Sat, 13 Jan 2018 09:33:05 +0000 (09:33 +0000)]
Merge changes from topic "fix-legacy-android-test-spam"

* changes:
  Added new android.test.base targets
  Move legacy-test to test-base

6 years agoMerge "Refactor KeyStore Recovery Manager."
Dmitry Dementyev [Sat, 13 Jan 2018 09:00:26 +0000 (09:00 +0000)]
Merge "Refactor KeyStore Recovery Manager."

6 years agoMerge "Add the user mobile data state into PhoneStateListener so that applications...
zxuan [Sat, 13 Jan 2018 07:06:17 +0000 (07:06 +0000)]
Merge "Add the user mobile data state into PhoneStateListener so that applications can listen to the change of the user mobile data state." am: 895148087b am: 5cea30c4ec
am: 78d54b01df

Change-Id: I798433851c10c7dc252d8773e6bbf1d3608ce66d

6 years agoMerge "Add the user mobile data state into PhoneStateListener so that applications...
zxuan [Sat, 13 Jan 2018 05:55:22 +0000 (05:55 +0000)]
Merge "Add the user mobile data state into PhoneStateListener so that applications can listen to the change of the user mobile data state." am: 895148087b
am: 5cea30c4ec

Change-Id: Ife2ac4b12d698f6db09bb3194eaea6994357828d

6 years agoMerge "Add the user mobile data state into PhoneStateListener so that applications...
zxuan [Sat, 13 Jan 2018 05:42:00 +0000 (05:42 +0000)]
Merge "Add the user mobile data state into PhoneStateListener so that applications can listen to the change of the user mobile data state."
am: 895148087b

Change-Id: I1c3e4b67c4ab3e21f955b5fffcc2e019c73d6140

6 years agoRefactor KeyStore Recovery Manager.
Dmitry Dementyev [Sat, 13 Jan 2018 03:14:07 +0000 (19:14 -0800)]
Refactor KeyStore Recovery Manager.

1) Parameters -> Params
2) Use byte[] for serivice parameters.
2) Move Exception into separate class.

Bug: 66499222
Test: adb shell am instrument -w -e package \
com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I1b9a8748830f7deb9eeb57693f5a818a49a7aabe

6 years agoMerge "Add the user mobile data state into PhoneStateListener so that applications...
Treehugger Robot [Sat, 13 Jan 2018 04:09:42 +0000 (04:09 +0000)]
Merge "Add the user mobile data state into PhoneStateListener so that applications can listen to the change of the user mobile data state."

6 years agoMerge "Used LinkAddress insteaad of InterfaceAddress" am: 277c7d248c am: bd681cab22
Jack Yu [Sat, 13 Jan 2018 03:56:10 +0000 (03:56 +0000)]
Merge "Used LinkAddress insteaad of InterfaceAddress" am: 277c7d248c am: bd681cab22
am: 25993fc579  -s ours

Change-Id: I3dfed09e54d3484096101d4eee141fcd4b91c905

6 years agoMerge "Used LinkAddress insteaad of InterfaceAddress" am: 277c7d248c
Jack Yu [Sat, 13 Jan 2018 03:32:58 +0000 (03:32 +0000)]
Merge "Used LinkAddress insteaad of InterfaceAddress" am: 277c7d248c
am: bd681cab22

Change-Id: Ic683f7fcc854e0e44e145da1fafc58f76f580637

6 years agoMerge "Used LinkAddress insteaad of InterfaceAddress"
Jack Yu [Sat, 13 Jan 2018 03:18:58 +0000 (03:18 +0000)]
Merge "Used LinkAddress insteaad of InterfaceAddress"
am: 277c7d248c

Change-Id: Ib5f7151d0738e73067e734d7943cdc5b734a1039

6 years agoMerge "Add permission check for old call handover apis." am: e8fc3d2399 am: 7a97ee9acd
Sanket Padawe [Sat, 13 Jan 2018 02:59:49 +0000 (02:59 +0000)]
Merge "Add permission check for old call handover apis." am: e8fc3d2399 am: 7a97ee9acd
am: 440bd9cb05

Change-Id: Ibd08720dba54949234376d5a5ca021c722330091

6 years agoMerge "Add permission check for old call handover apis." am: e8fc3d2399
Sanket Padawe [Sat, 13 Jan 2018 02:39:06 +0000 (02:39 +0000)]
Merge "Add permission check for old call handover apis." am: e8fc3d2399
am: 7a97ee9acd

Change-Id: I864f2e645fd5ffd76ebd1e0d44a99c8f0b006504

6 years agoMerge "Treat ACTION_CANCEL as ACTION_UP for magnification"
TreeHugger Robot [Sat, 13 Jan 2018 02:34:55 +0000 (02:34 +0000)]
Merge "Treat ACTION_CANCEL as ACTION_UP for magnification"

6 years agoMerge "Prevent race condition when iterating over bound services"
TreeHugger Robot [Sat, 13 Jan 2018 02:32:04 +0000 (02:32 +0000)]
Merge "Prevent race condition when iterating over bound services"

6 years agoMerge "Add permission check for old call handover apis."
Sanket Padawe [Sat, 13 Jan 2018 02:22:21 +0000 (02:22 +0000)]
Merge "Add permission check for old call handover apis."
am: e8fc3d2399

Change-Id: I27f8d4eabbf979404ca5954161f0973012a4c484

6 years agoMerge "Turn on app info v2 feature."
TreeHugger Robot [Sat, 13 Jan 2018 02:02:39 +0000 (02:02 +0000)]
Merge "Turn on app info v2 feature."

6 years agoMerge "Used LinkAddress insteaad of InterfaceAddress"
Treehugger Robot [Sat, 13 Jan 2018 01:42:52 +0000 (01:42 +0000)]
Merge "Used LinkAddress insteaad of InterfaceAddress"

6 years agoMerge "Allow custom keyguard "prompt reason""
Lucas Dupin [Sat, 13 Jan 2018 01:13:26 +0000 (01:13 +0000)]
Merge "Allow custom keyguard "prompt reason""

6 years agoMerge "PhoneWindowManager: allow force default rotation for TV"
TreeHugger Robot [Sat, 13 Jan 2018 00:56:41 +0000 (00:56 +0000)]
Merge "PhoneWindowManager: allow force default rotation for TV"

6 years agoMerge "Change scan flags before applying policy"
TreeHugger Robot [Sat, 13 Jan 2018 00:46:25 +0000 (00:46 +0000)]
Merge "Change scan flags before applying policy"

6 years agoMerge "Remove @hide for KEYCODE_ALL_APPS"
TreeHugger Robot [Sat, 13 Jan 2018 00:41:56 +0000 (00:41 +0000)]
Merge "Remove @hide for KEYCODE_ALL_APPS"

6 years agoMerge "Screenshot global actions item."
TreeHugger Robot [Sat, 13 Jan 2018 00:34:42 +0000 (00:34 +0000)]
Merge "Screenshot global actions item."

6 years agoMerge "Add unique id for sms APIs to be able to trigger correct smstracker"
Mohamed Abdalkader [Sat, 13 Jan 2018 00:32:17 +0000 (00:32 +0000)]
Merge "Add unique id for sms APIs to be able to trigger correct smstracker"

6 years agoMerge "Used LinkAddress insteaad of InterfaceAddress"
TreeHugger Robot [Sat, 13 Jan 2018 00:21:28 +0000 (00:21 +0000)]
Merge "Used LinkAddress insteaad of InterfaceAddress"

6 years agoMerge "Set selection bounds when we try to copy, so it will work with nonselectable...
Richard Ledley [Sat, 13 Jan 2018 00:15:19 +0000 (00:15 +0000)]
Merge "Set selection bounds when we try to copy, so it will work with nonselectable text."

6 years agoMerge "Create /data/misc/stats-data/ and /data/misc/stats-service/ in statsd.rc rathe...
TreeHugger Robot [Sat, 13 Jan 2018 00:09:29 +0000 (00:09 +0000)]
Merge "Create /data/misc/stats-data/ and /data/misc/stats-service/ in statsd.rc rather than during the runtime of statsd"

6 years agoTurn on app info v2 feature.
Doris Ling [Sat, 13 Jan 2018 00:02:27 +0000 (16:02 -0800)]
Turn on app info v2 feature.

Bug: 69384089
Test: rebuild
Change-Id: I362de6232fa0cc790f4884e2fec9715342882167

6 years agoMerge "Add permission check for old call handover apis."
Sanket Padawe [Fri, 12 Jan 2018 23:50:40 +0000 (23:50 +0000)]
Merge "Add permission check for old call handover apis."

6 years agoMerge "Add Permission performance tests"
TreeHugger Robot [Fri, 12 Jan 2018 23:48:41 +0000 (23:48 +0000)]
Merge "Add Permission performance tests"

6 years agoMerge "Add VDSO global setting and mapping to sys property."
Shikhar Srivastav [Fri, 12 Jan 2018 23:39:32 +0000 (23:39 +0000)]
Merge "Add VDSO global setting and mapping to sys property."

6 years agoMerge "android.os.VintfObject: update for VNDK version format change." am: eac8c121fe...
Yifan Hong [Fri, 12 Jan 2018 23:37:34 +0000 (23:37 +0000)]
Merge "android.os.VintfObject: update for VNDK version format change." am: eac8c121fe am: d9b9d49a66
am: bb2d749981

Change-Id: I330d9cd4fe23b62a605bd95790046c2e0b1aebb0

6 years agoMerge "Add performance test for BroadcastReceiver"
TreeHugger Robot [Fri, 12 Jan 2018 23:31:15 +0000 (23:31 +0000)]
Merge "Add performance test for BroadcastReceiver"

6 years agoMerge "Merge "Bluetooth in band ring" am: c9082cecb3 am: cb87262975 am: d0e8859123"
Android Build Merger (Role) [Fri, 12 Jan 2018 23:28:28 +0000 (23:28 +0000)]
Merge "Merge "Bluetooth in band ring" am: c9082cecb3 am: cb87262975 am: d0e8859123"

6 years agoMerge "Fix object pool for lifecycler"
TreeHugger Robot [Fri, 12 Jan 2018 23:27:55 +0000 (23:27 +0000)]
Merge "Fix object pool for lifecycler"

6 years agoMerge "Bluetooth in band ring" am: c9082cecb3 am: cb87262975
Joseph Pirozzo [Fri, 12 Jan 2018 23:27:25 +0000 (23:27 +0000)]
Merge "Bluetooth in band ring" am: c9082cecb3 am: cb87262975
am: d0e8859123

Change-Id: Icc37bbcf039497b9fa14406038764240ec6dcd4d

6 years agoMerge "android.os.VintfObject: update for VNDK version format change." am: eac8c121fe
Yifan Hong [Fri, 12 Jan 2018 23:22:02 +0000 (23:22 +0000)]
Merge "android.os.VintfObject: update for VNDK version format change." am: eac8c121fe
am: d9b9d49a66

Change-Id: I69512885ec3372e45f775bb7f6a8b828f8be490e

6 years agoMerge "Remove @SystemApi from the fields of R.styleable"
TreeHugger Robot [Fri, 12 Jan 2018 23:20:58 +0000 (23:20 +0000)]
Merge "Remove @SystemApi from the fields of R.styleable"

6 years agoMerge "Bluetooth in band ring" am: c9082cecb3
Joseph Pirozzo [Fri, 12 Jan 2018 23:11:03 +0000 (23:11 +0000)]
Merge "Bluetooth in band ring" am: c9082cecb3
am: cb87262975

Change-Id: I7d2b7843fd74e4505085ef693e4dc47d791b115a

6 years agoMerge "Use proper classloader when reading from parcel" am: d3cb6380a4 am: 03a515aed4
Hall Liu [Fri, 12 Jan 2018 23:11:03 +0000 (23:11 +0000)]
Merge "Use proper classloader when reading from parcel" am: d3cb6380a4 am: 03a515aed4
am: ff63c83237

Change-Id: If91f694b4f9c396e118dcf47ebaa480ff4cd44d0

6 years agoMerge "android.os.VintfObject: update for VNDK version format change."
Yifan Hong [Fri, 12 Jan 2018 23:05:35 +0000 (23:05 +0000)]
Merge "android.os.VintfObject: update for VNDK version format change."
am: eac8c121fe

Change-Id: Ia32c4395546ef58dee88bfbae77ea52d506a1c63

6 years agoMerge "Use proper classloader when reading from parcel" am: d3cb6380a4
Hall Liu [Fri, 12 Jan 2018 23:01:16 +0000 (23:01 +0000)]
Merge "Use proper classloader when reading from parcel" am: d3cb6380a4
am: 03a515aed4

Change-Id: I65070de075e8d09512d771c805c82043f04b3275

6 years agoMerge "Bluetooth in band ring"
Joseph Pirozzo [Fri, 12 Jan 2018 22:58:42 +0000 (22:58 +0000)]
Merge "Bluetooth in band ring"
am: c9082cecb3

Change-Id: I819b5510c45612b25d4fc1101d358f6d77691f12

6 years agoMerge "Use proper classloader when reading from parcel"
Hall Liu [Fri, 12 Jan 2018 22:48:14 +0000 (22:48 +0000)]
Merge "Use proper classloader when reading from parcel"
am: d3cb6380a4

Change-Id: I79c21859aa657b7a61e5cc8e7d60f79f736f34be

6 years agoChange scan flags before applying policy
Todd Kennedy [Fri, 12 Jan 2018 22:41:03 +0000 (14:41 -0800)]
Change scan flags before applying policy

Change-Id: I902e4d8eb4297e1d03ebc6d492773e1e10605689
Fixes: 71891222
Test: sideload GMS core and reboot
Test: notice that GMS core remained system & privileged and kept all of its permissions

6 years agoScreenshot global actions item.
Alison Cichowlas [Wed, 6 Dec 2017 15:51:21 +0000 (10:51 -0500)]
Screenshot global actions item.

Refactor TakeScreenshot code out of PhoneWindowManager;
add power menu item for Screenshot.

Test: runtest systemui

Change-Id: Ie8602386cd59f8fd991369d2117f7c4d76f65e41

6 years agoMerge "Remove bogus SkASSERT"
TreeHugger Robot [Fri, 12 Jan 2018 22:27:35 +0000 (22:27 +0000)]
Merge "Remove bogus SkASSERT"

6 years agoMerge "Rename trySetQuietModeEnabled to requestQuietModeEnabled as per ... the feedba...
TreeHugger Robot [Fri, 12 Jan 2018 22:26:03 +0000 (22:26 +0000)]
Merge "Rename trySetQuietModeEnabled to requestQuietModeEnabled as per ... the feedback from API council"

6 years agoRename trySetQuietModeEnabled to requestQuietModeEnabled as per ...
Tony Mak [Fri, 12 Jan 2018 12:10:17 +0000 (12:10 +0000)]
Rename trySetQuietModeEnabled to requestQuietModeEnabled as per ...
the feedback from API council

trySetQuietModeEnabled will be kept for a while until next
Launcher prebuilt is dropped.

FIXES: 71818127

Test: Build

Change-Id: I3d4fd64862c7d924b8da630522a30a3899676b4b

6 years agoMerge "android.os.VintfObject: update for VNDK version format change."
Treehugger Robot [Fri, 12 Jan 2018 22:12:39 +0000 (22:12 +0000)]
Merge "android.os.VintfObject: update for VNDK version format change."

6 years agoMerge "Skip "sync didn't run" WTF when job is stopped too soon"
TreeHugger Robot [Fri, 12 Jan 2018 22:12:26 +0000 (22:12 +0000)]
Merge "Skip "sync didn't run" WTF when job is stopped too soon"

6 years agoMerge "Bluetooth in band ring"
Joseph Pirozzo [Fri, 12 Jan 2018 22:11:50 +0000 (22:11 +0000)]
Merge "Bluetooth in band ring"

6 years agoMerge "Minor LoadedApk refactoring." am: 6ca155f8c2 am: e6fee297a2
Jeff Hamilton [Fri, 12 Jan 2018 21:55:33 +0000 (21:55 +0000)]
Merge "Minor LoadedApk refactoring." am: 6ca155f8c2 am: e6fee297a2
am: 2fd131b492  -s ours

Change-Id: Idd758a3b1e0f18812c67187ab820859b239d1834

6 years agoCreate /data/misc/stats-data/ and /data/misc/stats-service/ in statsd.rc
yro [Fri, 12 Jan 2018 08:00:15 +0000 (00:00 -0800)]
Create /data/misc/stats-data/ and /data/misc/stats-service/ in statsd.rc
rather than during the runtime of statsd

The purpose of this change is to prevent causing selinux violation by
trying to mkdir to /data/misc/ directory when statsd doesn't have
permission to do so.

Bug: 71537285
Test: manually tested to make sure that there's no sepolicy violation

Change-Id: I9c4ccecc416f41923c9b24dd44a388d135fecc07

6 years agoMerge "Minor LoadedApk refactoring." am: 6ca155f8c2
Jeff Hamilton [Fri, 12 Jan 2018 21:43:44 +0000 (21:43 +0000)]
Merge "Minor LoadedApk refactoring." am: 6ca155f8c2
am: e6fee297a2

Change-Id: I919f7e7e11b64f6155919f7ea631f3f6fd84ce03

6 years agoMerge "Add target package to VisualVoicemailFilterSettings."
TreeHugger Robot [Fri, 12 Jan 2018 21:32:55 +0000 (21:32 +0000)]
Merge "Add target package to VisualVoicemailFilterSettings."

6 years agoMerge "Minor LoadedApk refactoring."
Jeff Hamilton [Fri, 12 Jan 2018 21:30:13 +0000 (21:30 +0000)]
Merge "Minor LoadedApk refactoring."
am: 6ca155f8c2

Change-Id: I96fb0215bc09e2c190900be47dcca4de2c752d47

6 years agoMerge "Create Notification.Action.SemanticAction intdef."
Kodlee Yin [Fri, 12 Jan 2018 21:20:54 +0000 (21:20 +0000)]
Merge "Create Notification.Action.SemanticAction intdef."

6 years agoFix object pool for lifecycler
Andrii Kulian [Wed, 10 Jan 2018 23:32:31 +0000 (15:32 -0800)]
Fix object pool for lifecycler

The original implementation of object pool for lifecycle
transactions tried to always recycle objects after a
transaction was scheduled. In case when a client was running
in the same process this lead to objects being emptied before
it could actually perform the transaction.
Also when checking if object was already in the pool we should
use "==" instead of equality check.

Bug: 70554032
Bug: 71346774
Test: com.android.server.am.ClientLifecycleManagerTests
Test: android.app.servertransaction.ObjectPoolTests
Change-Id: I85fb3dae4589c2390e00a37144da0d285d16d151

6 years agoMerge "Fix destruction order of NinePatchPeeker"
TreeHugger Robot [Fri, 12 Jan 2018 21:04:20 +0000 (21:04 +0000)]
Merge "Fix destruction order of NinePatchPeeker"

6 years agoMerge "Create an empty stub for Vulkan readback"
TreeHugger Robot [Fri, 12 Jan 2018 21:03:24 +0000 (21:03 +0000)]
Merge "Create an empty stub for Vulkan readback"

6 years agoAdd VDSO global setting and mapping to sys property.
Shikhar Srivastav [Wed, 10 Jan 2018 00:58:36 +0000 (16:58 -0800)]
Add VDSO global setting and mapping to sys property.

This will help us run P/H experiments by controlling the VDSO
system property through P/H.

Bug: 70518189
Test: Will manually test it later through opt-in P/H experiment.
Change-Id: I95fd51085aed229358e2cefd472da1116c6073b3

6 years agoMerge "Add another pass of commont lint rules."
TreeHugger Robot [Fri, 12 Jan 2018 20:57:05 +0000 (20:57 +0000)]
Merge "Add another pass of commont lint rules."

6 years agoMerge "Expose Global.LOW_POWER_MODE for CTS"
TreeHugger Robot [Fri, 12 Jan 2018 20:56:43 +0000 (20:56 +0000)]
Merge "Expose Global.LOW_POWER_MODE for CTS"

6 years agoMerge "Use proper classloader when reading from parcel"
Hall Liu [Fri, 12 Jan 2018 20:56:36 +0000 (20:56 +0000)]
Merge "Use proper classloader when reading from parcel"

6 years agoMerge "Minor LoadedApk refactoring."
Treehugger Robot [Fri, 12 Jan 2018 20:52:14 +0000 (20:52 +0000)]
Merge "Minor LoadedApk refactoring."

6 years agoAdd unique id for sms APIs to be able to trigger correct smstracker
Mohamed Abdalkader [Fri, 12 Jan 2018 19:52:31 +0000 (11:52 -0800)]
Add unique id for sms APIs to be able to trigger correct smstracker

In old APIs the SmsTracker itself was being passed to the RIL
and onSendComplete the tracker's pending intent was triggered
and then the updated messageRef was used as the id.

Instead of passing the tracker, passing a unique id to be used
for the lifetime of the message.

Doing same thing for receiving flow.

Test: None, APIs not exercised yet.
BUG=69846044

Change-Id: Id19f854e2c48649db8f2031ee4f49cdac331451c

6 years agoSkip "sync didn't run" WTF when job is stopped too soon
Makoto Onuki [Thu, 11 Jan 2018 23:51:23 +0000 (15:51 -0800)]
Skip "sync didn't run" WTF when job is stopped too soon

Job scheduler may call onStopJob() right after onStartJob() when a
constraint is no longer satisfied. In that case this WTF shouldn't fire.

Bug: 71866667
Test: manual test (trigger some syncs)
Change-Id: I2ba3b076b60692b02019f3e74b384aea63e27bb4