OSDN Git Service

android-x86/frameworks-base.git
4 years agoLog native crashing process
Gavin Corkery [Tue, 10 Dec 2019 19:48:50 +0000 (19:48 +0000)]
Log native crashing process

Use the new sys.init.updatable_crashing_process_name in
Watchdog-triggered rollback logs in order to track the
process that causes updatable_crashing to be set.

Test: Run atest StagedRollbackTest#testNativeWatchdogTriggersRollback,
      manually test correct process "zygote" is sent to logs.
Bug: 138782888

Change-Id: I81b55dbf9dc74c9b8d505988b99f7e97ef659fe9

4 years agoMerge "framework is not available to APEXes"
TreeHugger Robot [Wed, 11 Dec 2019 12:42:56 +0000 (12:42 +0000)]
Merge "framework is not available to APEXes"

4 years agoMerge changes from topic "native-crash"
Mohammad Samiul Islam [Wed, 11 Dec 2019 12:40:14 +0000 (12:40 +0000)]
Merge changes from topic "native-crash"

* changes:
  Mitigate native crash without depending on ModuleMetaData
  Rollback everything that is available when crash is unattributable

4 years agoMerge "Make MediaParser.SeekMap a final class"
Santiago Seifert [Wed, 11 Dec 2019 10:35:26 +0000 (10:35 +0000)]
Merge "Make MediaParser.SeekMap a final class"

4 years agoMitigate native crash without depending on ModuleMetaData
Mohammad Samiul Islam [Tue, 10 Dec 2019 12:09:54 +0000 (12:09 +0000)]
Mitigate native crash without depending on ModuleMetaData

Mitigation attempts should be made whenever rollbacks are available.

Bug: 141843321
Test: atest StagedRollbackTest#testNativeWatchdogTriggersRollback
Change-Id: I2dde8c6415191ff3787a82ea3abc0fcc9a3cd7b1

4 years agoRollback everything that is available when crash is unattributable
Mohammad Samiul Islam [Thu, 21 Nov 2019 17:16:41 +0000 (17:16 +0000)]
Rollback everything that is available when crash is unattributable

When there is an unattributatble crash in native process, there is no
way to tell which staged install is the culprit. As such, the safest
approach is to rollback everything that is available.

Notes:
- Logging events require moduleMetadataPackage. They are only available
when we are rolling back "modules". We don't log when the rollback is
not related to "modules".

Bug: 141843321
Test: atest StagedRollbackTest#testNativeWatchdogTriggersRollback
Change-Id: Ib96dcd8c728a3b5a22cce672128e475c5ad4ac8c

4 years agoMerge "Skip remountUid for system_server"
Martijn Coenen [Wed, 11 Dec 2019 09:22:18 +0000 (09:22 +0000)]
Merge "Skip remountUid for system_server"

4 years agoMerge "Disable resetting OP_LEGACY_STORAGE"
Martijn Coenen [Wed, 11 Dec 2019 09:22:18 +0000 (09:22 +0000)]
Merge "Disable resetting OP_LEGACY_STORAGE"

4 years agoMerge "Only remountUid when uid is active"
Martijn Coenen [Wed, 11 Dec 2019 09:22:18 +0000 (09:22 +0000)]
Merge "Only remountUid when uid is active"

4 years agoMerge changes from topic "fuse_bindmount"
Martijn Coenen [Wed, 11 Dec 2019 07:51:37 +0000 (07:51 +0000)]
Merge changes from topic "fuse_bindmount"

* changes:
  Deal with MediaProvider process dying.
  Don't delay starting sessions.
  Tell StorageSessionController when a user is stopping.

4 years agoMerge "Add TetherConfigParcel to improve startTetheringWithConfiguration" am: 67dfdbc...
Automerger Merge Worker [Wed, 11 Dec 2019 07:09:59 +0000 (07:09 +0000)]
Merge "Add TetherConfigParcel to improve startTetheringWithConfiguration" am: 67dfdbc94f am: 321a47ef38 am: 2f90e05834

Change-Id: I2e6737b29030f9947b686530ea187a7887de0753

4 years agoMerge "Add TetherConfigParcel to improve startTetheringWithConfiguration" am: 67dfdbc...
Automerger Merge Worker [Wed, 11 Dec 2019 06:51:44 +0000 (06:51 +0000)]
Merge "Add TetherConfigParcel to improve startTetheringWithConfiguration" am: 67dfdbc94f am: 321a47ef38

Change-Id: Id7218310a22f538ced2030f8b1131b7be6bb332b

4 years agoMerge "Add TetherConfigParcel to improve startTetheringWithConfiguration"
Chiachang Wang [Wed, 11 Dec 2019 06:34:36 +0000 (22:34 -0800)]
Merge "Add TetherConfigParcel to improve startTetheringWithConfiguration"
am: 67dfdbc94f

Change-Id: Idb387329c9f5db8cfc4bf600bc86aca09c1a5eca

4 years agoMerge "Use full config to check size compat"
TreeHugger Robot [Wed, 11 Dec 2019 06:33:35 +0000 (06:33 +0000)]
Merge "Use full config to check size compat"

4 years agoMerge "Add TetherConfigParcel to improve startTetheringWithConfiguration"
Chiachang Wang [Wed, 11 Dec 2019 06:28:25 +0000 (06:28 +0000)]
Merge "Add TetherConfigParcel to improve startTetheringWithConfiguration"

4 years agoMerge changes Ibebdae14,I0c097e77,I6c889b15,I4771f2e9,I2a52f7f4 am: b24e34c19b am...
Automerger Merge Worker [Wed, 11 Dec 2019 04:59:42 +0000 (04:59 +0000)]
Merge changes Ibebdae14,I0c097e77,I6c889b15,I4771f2e9,I2a52f7f4 am: b24e34c19b am: f2a571424d am: 2afe144970

Change-Id: Ibec3f2ac8b0860d4be316da284c5535b8722cbe2

4 years agoMerge changes Ibebdae14,I0c097e77,I6c889b15,I4771f2e9,I2a52f7f4 am: b24e34c19b am...
Automerger Merge Worker [Wed, 11 Dec 2019 04:38:04 +0000 (04:38 +0000)]
Merge changes Ibebdae14,I0c097e77,I6c889b15,I4771f2e9,I2a52f7f4 am: b24e34c19b am: f2a571424d

Change-Id: Ie95647b87b89337a7556f46ebf1fb577677959bf

4 years agoMerge changes Ibebdae14,I0c097e77,I6c889b15,I4771f2e9,I2a52f7f4
Chalard Jean [Wed, 11 Dec 2019 04:13:20 +0000 (20:13 -0800)]
Merge changes Ibebdae14,I0c097e77,I6c889b15,I4771f2e9,I2a52f7f4
am: b24e34c19b

Change-Id: I8162ce9e5b1cb813d2b50325cc3a986d6a846a65

4 years agoMerge "Minor style fix."
Meng Wang [Wed, 11 Dec 2019 04:11:22 +0000 (04:11 +0000)]
Merge "Minor style fix."

4 years agoMerge "Use max value from resources"
TreeHugger Robot [Wed, 11 Dec 2019 04:08:48 +0000 (04:08 +0000)]
Merge "Use max value from resources"

4 years agoMerge changes Ibebdae14,I0c097e77,I6c889b15,I4771f2e9,I2a52f7f4
Chalard Jean [Wed, 11 Dec 2019 04:08:46 +0000 (04:08 +0000)]
Merge changes Ibebdae14,I0c097e77,I6c889b15,I4771f2e9,I2a52f7f4

* changes:
  [NS A23.1] Minor cleanup
  [NS A23] Move a synchronized block in a central place
  [NS A22] Small refactoring
  [NS A21] More cleanup
  [NS A20] Cleanup

4 years ago[automerger skipped] Merge "[TelephonyMainline] Cannot use UnsupportedAppUsage API...
Automerger Merge Worker [Wed, 11 Dec 2019 03:55:36 +0000 (03:55 +0000)]
[automerger skipped] Merge "[TelephonyMainline] Cannot use UnsupportedAppUsage API, use appropriate method to replace it." am: a9ef0e9bb4 am: 82587a57bf am: 8aba2bbb7a -s ours
am skip reason: Change-Id Ie2b330e23911198bd6a1aaaa3e03c0ff1ed12ac9 with SHA-1 4841a275c4 is in history

Change-Id: If3b51d182f1d20a60d18335f3b63ea42d3628eab

4 years agoMerge "Move 'privapp_whitelist_com.android.launcher3' to system_ext"
TreeHugger Robot [Wed, 11 Dec 2019 03:53:17 +0000 (03:53 +0000)]
Merge "Move 'privapp_whitelist_com.android.launcher3' to system_ext"

4 years agoMerge "Config to debug overflow"
TreeHugger Robot [Wed, 11 Dec 2019 03:45:31 +0000 (03:45 +0000)]
Merge "Config to debug overflow"

4 years agoMerge "[TelephonyMainline] Cannot use UnsupportedAppUsage API, use appropriate method...
Automerger Merge Worker [Wed, 11 Dec 2019 03:37:15 +0000 (03:37 +0000)]
Merge "[TelephonyMainline] Cannot use UnsupportedAppUsage API, use appropriate method to replace it." am: a9ef0e9bb4 am: 82587a57bf

Change-Id: Ie9fe05531c97bb50e6bf2c4792b59f1bca931db1

4 years agoMerge "statsd: Allow wifi mainline module to log its metrics (contd)"
TreeHugger Robot [Wed, 11 Dec 2019 03:26:59 +0000 (03:26 +0000)]
Merge "statsd: Allow wifi mainline module to log its metrics (contd)"

4 years agoMerge "[TelephonyMainline] Cannot use UnsupportedAppUsage API, use appropriate method...
Zoey Chen [Wed, 11 Dec 2019 03:18:23 +0000 (19:18 -0800)]
Merge "[TelephonyMainline] Cannot use UnsupportedAppUsage API, use appropriate method to replace it."
am: a9ef0e9bb4

Change-Id: Ieb80dc5b79b2af1bd57be3f38547d6258e4b0ea1

4 years agoMerge "[TelephonyMainline] Cannot use UnsupportedAppUsage API, use appropriate method...
Zoey Chen [Wed, 11 Dec 2019 03:10:33 +0000 (03:10 +0000)]
Merge "[TelephonyMainline] Cannot use UnsupportedAppUsage API, use appropriate method to replace it."

4 years agoMerge "Overflow activity scaffold, xml, manifest, style"
TreeHugger Robot [Wed, 11 Dec 2019 03:00:38 +0000 (03:00 +0000)]
Merge "Overflow activity scaffold, xml, manifest, style"

4 years ago[automerger skipped] Merge "Add more error codes." into qt-qpr1-dev-plus-aosp am...
Automerger Merge Worker [Wed, 11 Dec 2019 02:51:44 +0000 (02:51 +0000)]
[automerger skipped] Merge "Add more error codes." into qt-qpr1-dev-plus-aosp am: 2abcb6be3f -s ours
am skip reason: Change-Id I6f386bfcf75236e30141fab89e2b62ee3a8cb59e with SHA-1 12e0e6d24b is in history

Change-Id: Ic74b63394bf14fe701e04ec07dfc99a407e8b511

4 years ago[automerger skipped] Add more error codes. am: 12e0e6d24b -s ours
Automerger Merge Worker [Wed, 11 Dec 2019 02:38:34 +0000 (02:38 +0000)]
[automerger skipped] Add more error codes. am: 12e0e6d24b -s ours
am skip reason: Change-Id I6f386bfcf75236e30141fab89e2b62ee3a8cb59e with SHA-1 8cbbed00df is in history

Change-Id: Ic9a3d18a0e2c64d8407e068d3777963c66e870fd

4 years agoMerge "Add more error codes." into qt-qpr1-dev-plus-aosp
Daniel Huang [Wed, 11 Dec 2019 02:31:00 +0000 (02:31 +0000)]
Merge "Add more error codes." into qt-qpr1-dev-plus-aosp

4 years agoMerge "Add methods for the contacts provider local account"
Marcus Hagerott [Wed, 11 Dec 2019 02:20:33 +0000 (02:20 +0000)]
Merge "Add methods for the contacts provider local account"

4 years agoMinor style fix.
Meng Wang [Wed, 11 Dec 2019 02:18:09 +0000 (18:18 -0800)]
Minor style fix.

To align with AOSP master branch.

Test: make
Change-Id: I6a53878c3be28eb37c3a5421fecc6266dc7d5cf0

4 years agoMerge "Accessibility shortcut improvement (5/n)"
Rhed Jao [Wed, 11 Dec 2019 02:17:29 +0000 (02:17 +0000)]
Merge "Accessibility shortcut improvement (5/n)"

4 years agoUse max value from resources
Lyn Han [Wed, 11 Dec 2019 02:16:35 +0000 (18:16 -0800)]
Use max value from resources

Test: SystemUITests
Change-Id: I6c3d7a257547ebb0ec4bcf309d9ea1e97df0fc02

4 years agoMerge "Fix boot failure on aosp_pixel-userdebug"
PO HUNG CHEN [Wed, 11 Dec 2019 02:09:09 +0000 (02:09 +0000)]
Merge "Fix boot failure on aosp_pixel-userdebug"

4 years agoConfig to debug overflow
Lyn Han [Wed, 11 Dec 2019 02:02:23 +0000 (18:02 -0800)]
Config to debug overflow

Bug: 138116789
Test: manual => compiles; bubble controller logs like before
Change-Id: I86672f7f23d521da64d21813250784d33514a767

4 years agoMerge "Add services-stubs for in-process APIs in services.jar"
TreeHugger Robot [Wed, 11 Dec 2019 01:58:15 +0000 (01:58 +0000)]
Merge "Add services-stubs for in-process APIs in services.jar"

4 years agoMerge "Update Bluetooth api on SettingsLib"
TreeHugger Robot [Wed, 11 Dec 2019 01:57:11 +0000 (01:57 +0000)]
Merge "Update Bluetooth api on SettingsLib"

4 years agoOverflow activity scaffold, xml, manifest, style
Lyn Han [Mon, 9 Dec 2019 23:14:17 +0000 (15:14 -0800)]
Overflow activity scaffold, xml, manifest, style

Bug: 138116789
Test: manual - overflow compiles and works as expected in separate xl cl
Test: atest SystemUITests
Change-Id: I7142527442c01dca87c88fd6034af184df6f93d6

4 years agoMerge "Rename ApkVerityTests to ApkVerityTest for consistency"
TreeHugger Robot [Wed, 11 Dec 2019 01:46:47 +0000 (01:46 +0000)]
Merge "Rename ApkVerityTests to ApkVerityTest for consistency"

4 years agoMerge "Fix InstrumentationInfo publicSourceDir"
TreeHugger Robot [Wed, 11 Dec 2019 01:46:40 +0000 (01:46 +0000)]
Merge "Fix InstrumentationInfo publicSourceDir"

4 years agoMerge "Make StatusBar optional in NotificationClicker."
Tadashi G. Takaoka [Wed, 11 Dec 2019 01:25:25 +0000 (01:25 +0000)]
Merge "Make StatusBar optional in NotificationClicker."

4 years agoMerge "Add logging upon failure to edit SystemSettings" into qt-qpr1-dev am: 5895c90f...
Automerger Merge Worker [Wed, 11 Dec 2019 01:18:28 +0000 (01:18 +0000)]
Merge "Add logging upon failure to edit SystemSettings" into qt-qpr1-dev am: 5895c90fe2 am: f79c3db4bd

Change-Id: I23b0c0cc6a88ec8a36c575c3389d321a65f0cc56

4 years agoMerge "Do not use hidden HandlerExecutor"
TreeHugger Robot [Wed, 11 Dec 2019 01:06:31 +0000 (01:06 +0000)]
Merge "Do not use hidden HandlerExecutor"

4 years agoMerge "Add logging upon failure to edit SystemSettings" into qt-qpr1-dev am: 5895c90fe2
Automerger Merge Worker [Wed, 11 Dec 2019 00:59:29 +0000 (00:59 +0000)]
Merge "Add logging upon failure to edit SystemSettings" into qt-qpr1-dev am: 5895c90fe2

Change-Id: I4ed0188904848f022067a38cd99d06e542881847

4 years agoMerge "Isolate mAnimationCompleteLock from mSync."
TreeHugger Robot [Wed, 11 Dec 2019 00:49:19 +0000 (00:49 +0000)]
Merge "Isolate mAnimationCompleteLock from mSync."

4 years agoMerge "Add logging upon failure to edit SystemSettings" into qt-qpr1-dev
Nate Myren [Wed, 11 Dec 2019 00:37:07 +0000 (00:37 +0000)]
Merge "Add logging upon failure to edit SystemSettings" into qt-qpr1-dev

4 years agoMerge "Use default attr instead of styleable"
TreeHugger Robot [Wed, 11 Dec 2019 00:23:08 +0000 (00:23 +0000)]
Merge "Use default attr instead of styleable"

4 years agoRename ApkVerityTests to ApkVerityTest for consistency
Victor Hsieh [Wed, 11 Dec 2019 00:07:44 +0000 (16:07 -0800)]
Rename ApkVerityTests to ApkVerityTest for consistency

This also makes TEST_MAPPING work.

Test: atest com.android.apkverity.ApkVerityTest
Test: atest -p frameworks/base/tests/ApkVerityTest:presubmit
Bug: 112039386
Change-Id: I721285770208b2a1b18ead2fa34c43e9e8bc0c46

4 years agoFix InstrumentationInfo publicSourceDir
Winson [Wed, 11 Dec 2019 00:01:08 +0000 (16:01 -0800)]
Fix InstrumentationInfo publicSourceDir

Assigned the wrong value, broke tests.

Bug: 145973535

Test: atest com.android.providers.media.scan.ModernMediaScannerTest#testPlaylistWpl succeeds
Change-Id: If222f52b3442cf95c7420056e6e059297584a9a1

4 years agoMerge "Work around per-package app op mode set for runtime permission app op."
TreeHugger Robot [Tue, 10 Dec 2019 23:57:28 +0000 (23:57 +0000)]
Merge "Work around per-package app op mode set for runtime permission app op."

4 years agoMerge "Define ril request for enableUiccApplications."
Xiangyu/Malcolm Chen [Tue, 10 Dec 2019 23:38:05 +0000 (23:38 +0000)]
Merge "Define ril request for enableUiccApplications."

4 years ago[automerger skipped] Merge "Strings for no randomized MAC support notification" into...
Automerger Merge Worker [Tue, 10 Dec 2019 23:34:24 +0000 (23:34 +0000)]
[automerger skipped] Merge "Strings for no randomized MAC support notification" into qt-qpr1-dev am: aabbd3c873 am: aa3059bee2 -s ours
am skip reason: Change-Id Ide9708c87c2a9b3c943744decff639ad1dfde985 with SHA-1 3ab732bce1 is in history

Change-Id: Ib78733b7b37230d34291f5a90549135268fa13e2

4 years agoMerge "Remove logspam"
Soonil Nagarkar [Tue, 10 Dec 2019 23:28:33 +0000 (23:28 +0000)]
Merge "Remove logspam"

4 years agoMerge "Fix StatsEvent memory usage for pulled events"
TreeHugger Robot [Tue, 10 Dec 2019 23:18:07 +0000 (23:18 +0000)]
Merge "Fix StatsEvent memory usage for pulled events"

4 years agoMerge "Strings for no randomized MAC support notification" into qt-qpr1-dev am: aabbd...
Automerger Merge Worker [Tue, 10 Dec 2019 23:16:32 +0000 (23:16 +0000)]
Merge "Strings for no randomized MAC support notification" into qt-qpr1-dev am: aabbd3c873

Change-Id: I935d9c628e027bb397120a36e3afd70c694d23f7

4 years agoMerge "Do not modify passed in intent"
Jordan Liu [Tue, 10 Dec 2019 23:13:15 +0000 (23:13 +0000)]
Merge "Do not modify passed in intent"

4 years agoMerge "wifi-services-srcs: JarJar IpConfiguration"
Roshan Pius [Tue, 10 Dec 2019 23:11:53 +0000 (23:11 +0000)]
Merge "wifi-services-srcs: JarJar IpConfiguration"

4 years ago[automerger skipped] Merge "Whitelist new lint errors" am: be64b53449 am: 4f685a77a5...
Automerger Merge Worker [Tue, 10 Dec 2019 23:10:44 +0000 (23:10 +0000)]
[automerger skipped] Merge "Whitelist new lint errors" am: be64b53449 am: 4f685a77a5 am: e2f35e7bbb -s ours
am skip reason: Change-Id Id89b15ba34df01584d3d5afe9d4112fad9613dbc with SHA-1 3e8f84f82f is in history

Change-Id: Iae96081fcc2c95efd723bca9f8fe1e032779015d

4 years agoMerge "Fix to handle duplicate call id for conference call" am: e31b09c825 am: 8d5477...
Automerger Merge Worker [Tue, 10 Dec 2019 23:10:13 +0000 (23:10 +0000)]
Merge "Fix to handle duplicate call id for conference call" am: e31b09c825 am: 8d54779726 am: 5b07e901bf

Change-Id: I0986961bc1d08079b2fada7d9615133a954c26fc

4 years ago[automerger skipped] Merge "Do not cache enabled tags in Java." am: e280c89075 am...
Automerger Merge Worker [Tue, 10 Dec 2019 23:09:47 +0000 (23:09 +0000)]
[automerger skipped] Merge "Do not cache enabled tags in Java." am: e280c89075 am: 2dcd338a46 am: 08135b313a -s ours
am skip reason: Change-Id I1a07fefd751ee28ca9a632a3d78a2925e8827b9c with SHA-1 9fd210224a is in history

Change-Id: I4108fdd80d8cedb0cb79259ad84ca2f35b66349d

4 years ago[automerger skipped] Merge "DO NOT MERGE - Add AUTOMOTIVE_USER_SETUP_IN_PROGRESS...
Automerger Merge Worker [Tue, 10 Dec 2019 23:09:09 +0000 (23:09 +0000)]
[automerger skipped] Merge "DO NOT MERGE - Add AUTOMOTIVE_USER_SETUP_IN_PROGRESS to Settings" into qt-qpr1-dev am: f345ab53bc am: 695aca210a -s ours
am skip reason: subject contains skip directive

Change-Id: Id880bc2816378d5b06d10b75e95fb3c14262f8f9

4 years ago[automerger skipped] DO NOT MERGE - Add AUTOMOTIVE_USER_SETUP_IN_PROGRESS to Settings...
Automerger Merge Worker [Tue, 10 Dec 2019 23:08:53 +0000 (23:08 +0000)]
[automerger skipped] DO NOT MERGE - Add AUTOMOTIVE_USER_SETUP_IN_PROGRESS to Settings am: ba4b561c3e am: 5e1e8b2756 -s ours
am skip reason: subject contains skip directive

Change-Id: I898448cbbfe59046b958b0b6a09337814346a42b

4 years ago[automerger skipped] Merge "Revoke granted permission when the permission defining...
Automerger Merge Worker [Tue, 10 Dec 2019 23:08:24 +0000 (23:08 +0000)]
[automerger skipped] Merge "Revoke granted permission when the permission defining app is removed." into qt-dev am: a2e31e4794 am: c4b58c3a53 am: 074e96df99 am: 0e1a621723 -s ours
am skip reason: Change-Id I20c4c975a1dd41a0a6c3e068988fe60be51dd1b4 with SHA-1 bc4d010e10 is in history

Change-Id: I98c112f6ec81f94264378bbc799df6ffc3fbc5d9

4 years agoMerge "Whitelist new lint errors" am: be64b53449 am: 4f685a77a5
Automerger Merge Worker [Tue, 10 Dec 2019 23:04:10 +0000 (23:04 +0000)]
Merge "Whitelist new lint errors" am: be64b53449 am: 4f685a77a5

Change-Id: I00c37c7533cfc0ea31ba66e36f8a4062d9c75a3d

4 years agoMerge "Whitelist new lint errors"
Anton Hansson [Tue, 10 Dec 2019 23:01:00 +0000 (15:01 -0800)]
Merge "Whitelist new lint errors"
am: be64b53449

Change-Id: I89af3be9e173478268d18bcd0d5d35024e6793de

4 years agoMerge "Fix to handle duplicate call id for conference call" am: e31b09c825 am: 8d54779726
Automerger Merge Worker [Tue, 10 Dec 2019 22:57:13 +0000 (22:57 +0000)]
Merge "Fix to handle duplicate call id for conference call" am: e31b09c825 am: 8d54779726

Change-Id: Ia7ce47824a9610e28c7b333e3d6b4e7a73872fa9

4 years agoMerge "Do not cache enabled tags in Java." am: e280c89075 am: 2dcd338a46
Automerger Merge Worker [Tue, 10 Dec 2019 22:56:23 +0000 (22:56 +0000)]
Merge "Do not cache enabled tags in Java." am: e280c89075 am: 2dcd338a46

Change-Id: I631b07420837c5271e2162c98d6f2c5150a8528e

4 years agoMerge "Whitelist new lint errors"
Anton Hansson [Tue, 10 Dec 2019 22:51:55 +0000 (22:51 +0000)]
Merge "Whitelist new lint errors"

4 years agoMerge changes I6aaa0b56,I5bb9b8b4
Alexander Dorokhine [Tue, 10 Dec 2019 22:49:36 +0000 (22:49 +0000)]
Merge changes I6aaa0b56,I5bb9b8b4

* changes:
  Add a basic unit test and TEST_MAPPING for AndroidFuture.
  Fix completeExceptionally() wrapping in AndroidFuture.

4 years agoUse default attr instead of styleable
Lyn Han [Tue, 10 Dec 2019 22:34:12 +0000 (14:34 -0800)]
Use default attr instead of styleable

Test: manual => toggle dark theme, pointer changes color
Test: manual => expanded view radius as expected
Change-Id: I5df4f1a6e5295678a08b5cf43f55028d4259e6f2

4 years agostatsd: Allow wifi mainline module to log its metrics (contd)
Roshan Pius [Tue, 10 Dec 2019 22:42:29 +0000 (14:42 -0800)]
statsd: Allow wifi mainline module to log its metrics (contd)

Also, stop relying on Statsd constants in WifiManager.

Bug: 145821723
Test: Compiles
Change-Id: Ie64b174863f5208ea9c23d500daf263bff6fc4bc

4 years agoMerge "Fix to handle duplicate call id for conference call"
Ravi Paluri [Tue, 10 Dec 2019 22:39:01 +0000 (14:39 -0800)]
Merge "Fix to handle duplicate call id for conference call"
am: e31b09c825

Change-Id: I4c9812fcde1a73389e3ded89280e9084ec83aaf7

4 years agoWork around per-package app op mode set for runtime permission app op.
Hai Zhang [Tue, 10 Dec 2019 21:45:54 +0000 (13:45 -0800)]
Work around per-package app op mode set for runtime permission app op.

By resetting the per-package mode if it's still wrong after
setUidMode().

Runtime permissions and their app ops are controlled per-uid so it
never makes sense to have a per-package mode for it. However,
AppOpsService trims per-uid state if it's default (usually allowed),
and falls back to per-package state if per-uid state is not
found. This works fine when everybody behaves and don't touch the
per-package state for runtime permission app ops, so it is also left
in the default (allowed) state.

However, it seems that in Q someone (in the system or with
MANAGE_APP_OPS_MODES permission) used setMode() instead of
setUidMode() for OP_COARSE_LOCATION and set the per-package mode to
MODE_FOREGROUND. This means the affected app will never be able to get
background location access (because even when per-uid mode is set to
allowed by granting location permissions, the per-package mode is
consulted), and there's no way to recover from this in UI because
normally we never change per-package mode. And in R this resulted in
b/145744192 in which PermissionPolicyService wasn't able to sync the
app op mode correctly.

Bug: 145744192
Test: Flash without this workaround.
Test: adb shell appops set com.google.android.gms
      android:coarse_location foreground
Test: Check that the per-package mode for COARSE_LOCATION became
      foreground with adb shell appops get com.google.android.gms
Test: Check that PermissionPolicyService or LocationManagerService is
      looping with stacks system_server
Test: Flash with this workaroud.
Test: Check that the per-package mode for COARSE_LOCATION became
      allowed with adb shell appops get com.google.android.gms
Test: Check that PermissionPolicyService and LocationManagerService is
      not looping with stacks system_server

Change-Id: I2733ffad03a01fc54c961b9d5f382a3460458b8e

4 years agoMerge "Do not cache enabled tags in Java."
Florian Mayer [Tue, 10 Dec 2019 22:35:42 +0000 (14:35 -0800)]
Merge "Do not cache enabled tags in Java."
am: e280c89075

Change-Id: I44cdfc71ccae34ef0975d25881859409924e1363

4 years agoMerge "DO NOT MERGE - Add AUTOMOTIVE_USER_SETUP_IN_PROGRESS to Settings" into qt...
Automerger Merge Worker [Tue, 10 Dec 2019 22:35:03 +0000 (22:35 +0000)]
Merge "DO NOT MERGE - Add AUTOMOTIVE_USER_SETUP_IN_PROGRESS to Settings" into qt-qpr1-dev am: f345ab53bc

Change-Id: Ie169ffb10199d70036f0a4a599fe2bc72f71ed7b

4 years agoDO NOT MERGE - Add AUTOMOTIVE_USER_SETUP_IN_PROGRESS to Settings am: ba4b561c3e
Automerger Merge Worker [Tue, 10 Dec 2019 22:34:47 +0000 (22:34 +0000)]
DO NOT MERGE - Add AUTOMOTIVE_USER_SETUP_IN_PROGRESS to Settings am: ba4b561c3e

Change-Id: I853bb7f04816151b34e7adcd024d31d971561558

4 years agoMerge "Revoke granted permission when the permission defining app is removed." into...
Automerger Merge Worker [Tue, 10 Dec 2019 22:33:27 +0000 (22:33 +0000)]
Merge "Revoke granted permission when the permission defining app is removed." into qt-dev am: a2e31e4794 am: c4b58c3a53 am: 074e96df99

Change-Id: I0cf1c89bd059607d29e880d5f7c9ea28384c675f

4 years agoMerge "Strings for no randomized MAC support notification" into qt-qpr1-dev
Oscar Shu [Tue, 10 Dec 2019 22:28:29 +0000 (22:28 +0000)]
Merge "Strings for no randomized MAC support notification" into qt-qpr1-dev

4 years agoMerge "Fix to handle duplicate call id for conference call"
Treehugger Robot [Tue, 10 Dec 2019 22:28:24 +0000 (22:28 +0000)]
Merge "Fix to handle duplicate call id for conference call"

4 years agoMerge "Remove hidden API usage PhoneConstants.SUBSCRIPTION_KEY/SLOT_KEY" am: b9d73629...
Automerger Merge Worker [Tue, 10 Dec 2019 22:28:10 +0000 (22:28 +0000)]
Merge "Remove hidden API usage PhoneConstants.SUBSCRIPTION_KEY/SLOT_KEY" am: b9d73629d1 am: 619a963c33 am: 5470dde3eb

Change-Id: I5648fd8103f8a73537750ddf4d24b0fae4ae0d9b

4 years agoMerge "expose datafail cause used in telephony-sdk annotation class" am: 20e05a4660...
Automerger Merge Worker [Tue, 10 Dec 2019 22:27:42 +0000 (22:27 +0000)]
Merge "expose datafail cause used in telephony-sdk annotation class" am: 20e05a4660 am: 65f7a4ac6b am: fd536b0cfc

Change-Id: Ieeb034846fb04325268b78bf7908a6527ef3937a

4 years agoMerge "DO NOT MERGE - Add AUTOMOTIVE_USER_SETUP_IN_PROGRESS to Settings" into qt...
TreeHugger Robot [Tue, 10 Dec 2019 22:27:32 +0000 (22:27 +0000)]
Merge "DO NOT MERGE - Add AUTOMOTIVE_USER_SETUP_IN_PROGRESS to Settings" into qt-qpr1-dev

4 years agoMerge "Remove usage of IccCardConstants hidden APIs" am: b181ba61e2 am: b09b13cf38...
Automerger Merge Worker [Tue, 10 Dec 2019 22:26:47 +0000 (22:26 +0000)]
Merge "Remove usage of IccCardConstants hidden APIs" am: b181ba61e2 am: b09b13cf38 am: 19f573a89b

Change-Id: Ic061e0647d108df6fd4837b89555febd5f85b48f

4 years agoMerge "Do not cache enabled tags in Java."
Treehugger Robot [Tue, 10 Dec 2019 22:26:16 +0000 (22:26 +0000)]
Merge "Do not cache enabled tags in Java."

4 years agoDo not use hidden HandlerExecutor
Sooraj Sasindran [Mon, 2 Dec 2019 21:08:23 +0000 (13:08 -0800)]
Do not use hidden HandlerExecutor

Do not use hidden HandlerExecutor

Bug: 140908357
Test: Build

Change-Id: I998224991cb31d642435a23851aa18da3f00f159

4 years agoMerge "Remove hidden API usage PhoneConstants.SUBSCRIPTION_KEY/SLOT_KEY" am: b9d73629...
Automerger Merge Worker [Tue, 10 Dec 2019 22:10:57 +0000 (22:10 +0000)]
Merge "Remove hidden API usage PhoneConstants.SUBSCRIPTION_KEY/SLOT_KEY" am: b9d73629d1 am: 619a963c33

Change-Id: Ie8f8b58cf152b37600a585d9b0ecf9856c92427c

4 years agoMerge "expose datafail cause used in telephony-sdk annotation class" am: 20e05a4660...
Automerger Merge Worker [Tue, 10 Dec 2019 22:10:31 +0000 (22:10 +0000)]
Merge "expose datafail cause used in telephony-sdk annotation class" am: 20e05a4660 am: 65f7a4ac6b

Change-Id: Ibfa10b0c9dadceead0137e10508ce40465a2e7fd

4 years agoMerge "Remove usage of IccCardConstants hidden APIs" am: b181ba61e2 am: b09b13cf38
Automerger Merge Worker [Tue, 10 Dec 2019 22:10:05 +0000 (22:10 +0000)]
Merge "Remove usage of IccCardConstants hidden APIs" am: b181ba61e2 am: b09b13cf38

Change-Id: I5a8974d8cd5d2af70996ec60eae924ddd435c840

4 years agoMerge "Remove hidden API usage PhoneConstants.SUBSCRIPTION_KEY/SLOT_KEY"
Meng Wang [Tue, 10 Dec 2019 22:02:51 +0000 (14:02 -0800)]
Merge "Remove hidden API usage PhoneConstants.SUBSCRIPTION_KEY/SLOT_KEY"
am: b9d73629d1

Change-Id: I70652eb74b6f5638a2ee75c612bc351d9b419c38

4 years agoDefine ril request for enableUiccApplications.
Malcolm Chen [Tue, 26 Nov 2019 19:13:28 +0000 (11:13 -0800)]
Define ril request for enableUiccApplications.

Bug: 141018421
Test: build
Change-Id: Ia071259a3de2bcf78e95e08017c5f207a4ed369a

4 years agoMerge "expose datafail cause used in telephony-sdk annotation class"
Chen Xu [Tue, 10 Dec 2019 21:56:33 +0000 (13:56 -0800)]
Merge "expose datafail cause used in telephony-sdk annotation class"
am: 20e05a4660

Change-Id: Ic4985c7646edb8542ccdd7343694f5931450c802

4 years agoMerge "Remove hidden API usage PhoneConstants.SUBSCRIPTION_KEY/SLOT_KEY"
Meng Wang [Tue, 10 Dec 2019 21:53:26 +0000 (21:53 +0000)]
Merge "Remove hidden API usage PhoneConstants.SUBSCRIPTION_KEY/SLOT_KEY"

4 years agoMerge "Remove usage of IccCardConstants hidden APIs"
Jayachandran Chinnakkannu [Tue, 10 Dec 2019 21:53:13 +0000 (13:53 -0800)]
Merge "Remove usage of IccCardConstants hidden APIs"
am: b181ba61e2

Change-Id: Id24383c88deff304c7fbbc0a4b6f95019bf35283

4 years agoMerge "Set default display to be fullscreen."
TreeHugger Robot [Tue, 10 Dec 2019 21:45:40 +0000 (21:45 +0000)]
Merge "Set default display to be fullscreen."

4 years agoMerge "Remove FakeSystemClock.setAutoIncrement."
TreeHugger Robot [Tue, 10 Dec 2019 21:45:23 +0000 (21:45 +0000)]
Merge "Remove FakeSystemClock.setAutoIncrement."

4 years agoRemove logspam
Soonil Nagarkar [Tue, 10 Dec 2019 21:42:18 +0000 (13:42 -0800)]
Remove logspam

Remove upgrade message for getGpsStatus() which is called at a much
greater frequency than register/unregister.

Bug: 146003205
Test: n/a
Change-Id: I32adde8a8cffa649d373fb394b06ef294481c6cf

4 years agoMerge "expose datafail cause used in telephony-sdk annotation class"
Chen Xu [Tue, 10 Dec 2019 21:39:35 +0000 (21:39 +0000)]
Merge "expose datafail cause used in telephony-sdk annotation class"