Commit Graph

458303 Commits

Author SHA1 Message Date
TreeHugger Robot
c79d2b8b43 Merge "Replace com.android.internal.util.Preconditions.checkNotNull with java.util.Objects.requireNonNull" 2020-01-06 14:17:23 +00:00
TreeHugger Robot
30b90101c7 Merge "Add NETWORK_AIRPLANE_MODE permission" 2020-01-06 14:15:46 +00:00
TreeHugger Robot
c4a819f5f5 Merge "Replace com.android.internal.util.Preconditions.checkNotNull with java.util.Objects.requireNonNull" 2020-01-06 13:46:54 +00:00
TreeHugger Robot
58a3e64bfd Merge "Replace com.android.internal.util.Preconditions.checkNotNull with java.util.Objects.requireNonNull" 2020-01-06 13:43:44 +00:00
JW Wang
d301ecf55f Merge "Convert rollback type to string to improve logging" 2020-01-06 12:46:05 +00:00
Daulet Zhanguzin
90e91ce0a7 Replace com.android.internal.util.Preconditions.checkNotNull with
java.util.Objects.requireNonNull

Bug: 126528330

Test: Treehugger
Change-Id: If8e54d8479223342a56e93f0659bcb553ac63624
2020-01-06 12:22:01 +00:00
JW Wang
9aa5a8dbd8 Merge "Don't clean the sleep queue" 2020-01-06 11:32:32 +00:00
Ruslan Tkhakokhov
564e8f32c1 Merge "Handle uncaught exceptions in BackupHandler" 2020-01-06 11:27:18 +00:00
TreeHugger Robot
ba512a4e99 Merge "Allow R targeting apps a legacy view" 2020-01-06 11:10:50 +00:00
TreeHugger Robot
17d86ec701 Merge "Added WC#showToCurrentUser (83/n)" 2020-01-06 11:07:36 +00:00
TreeHugger Robot
d10dc73df9 Merge "Add target SDK restriction to SmartSelectionEventTracker." 2020-01-06 11:04:04 +00:00
TreeHugger Robot
7a21c31315 Merge "Refactor reporting activity idle" 2020-01-06 10:45:43 +00:00
TreeHugger Robot
5836a31fc2 Merge "Reduce getting thread statically" 2020-01-06 10:36:23 +00:00
Riddle Hsu
fc8ab26162 Refactor reporting activity idle
- Separate the logic of stopping and finishing from idle.
- Correct the condition of stop profiling from idle.
- Remove the resuming of focused stack if an activity is
  removed while idle, because if idle is scheduled or reported,
  the next focused activity should be ready to show, then the
  resuming from background destruction is a no-op.

Bug: 130340090
Test: atest ActivityLifecycleTests

Change-Id: Iabccc26f40c8cbccb8e4a260d8aff84322193f2b
2020-01-06 10:27:00 +00:00
Ruslan Tkhakokhov
e9388dacfe Handle uncaught exceptions in BackupHandler
Bug: 144431410
Test: 1. atest BackupHandlerTest
      2. Manual (with and without the fix):
           1) Locally create a host-side CTS test that extends
              BaseMultiUserBackupHostSideTest
           2) Modify the test so that it creates a user, starts backup
              init and removes the user
           3) Add log in BackupHandler to indicate when an exception is
              suppressed.
           3) If the fix is applied, verify the crash doesn't happen and
              the log message from 3) is present. If the fix isn't applied
              verify that the crash happens.

After backup service for a  user is stopped, leftover work on the
corresponding BackupHandler can throw exceptions. If uncaught, they
can crash the system process. Catch all uncaught BackupHandler
exceptions after the backup service has entered the stopping state, to
allow any leftover work to finish harmlessly.

Change-Id: I8c233ad0e117ec0ae65599a762d87f15f8a3cec2
2020-01-06 10:23:31 +00:00
Daulet Zhanguzin
f472e23be5 Merge "Replace com.android.internal.util.Preconditions.checkNotNull with java.util.Objects.requireNonNull" 2020-01-06 10:19:28 +00:00
Daulet Zhanguzin
af3819cf52 Merge "Replace com.android.internal.util.Preconditions.checkNotNull with java.util.Objects.requireNonNull" 2020-01-06 10:18:20 +00:00
Daulet Zhanguzin
47361c2bec Merge "Replace com.android.internal.util.Preconditions.checkNotNull with java.util.Objects.requireNonNull" 2020-01-06 10:18:13 +00:00
Joanne Chung
cd2547197d Merge "Finish autofill integration with keyboard cleanup tasks" 2020-01-06 10:11:26 +00:00
Nandana Dutt
dc15bb4e3d Allow R targeting apps a legacy view
Allow R targeting apps to have a legacy view when accessing sdcard via
raw file paths temporarily.

This will let us bring back a986bc6420

This will also let apps that target R and keep
the legacy flag to use raw paths continue to work until we enable FUSE

BUG: 137755945
BUG: 131432978
Test: atest CtsDeqpTestCases
Test: atest RestrictedPermissionsTest
Test: atest RestrictedStoragePermissionSharedUidTest
Change-Id: I0d49eca9d4e1769dcd3c0e2338db5b5e5a473032
2020-01-06 10:07:16 +00:00
Wale Ogunwale
9bb1a1eaf3 Added WC#showToCurrentUser (83/n)
Helps clean-up some of the usages in WM.

Test: Existing tests pass.
Bug: 80414790
Change-Id: Ie77f7ffa5024c75cf68bc4d35e9a4306c43d5533
2020-01-06 09:57:59 +00:00
Martijn Coenen
53af5b24a6 Merge "Use new setupAppDir() API for creating app-specific directories." 2020-01-06 09:04:12 +00:00
TreeHugger Robot
533c200eef Merge "MAP: Add string for BluetoothMapVersionPreferenceController" 2020-01-06 08:59:19 +00:00
Joanne Chung
d9a916fe4d Finish autofill integration with keyboard cleanup tasks
1. Only print log when debug is on.
2. Callback be notified when input does not start.
3. Avoid using hard code tag in Log class.
4. onCreateInlineSuggestionsRequest() do nothing in NOP.
5. Add missing javadoc.

Bug: 146525448
Test: manual verification
Change-Id: I41e1de92ffcdb8020aef99acbfec274e0294bad3
2020-01-06 16:43:45 +08:00
TreeHugger Robot
007d37bcab Merge "Updates the cached service while the package re-enabling" 2020-01-06 08:42:48 +00:00
Louis Chang
d89d8d3d57 Merge "Allow activities be reparented to same affinity task" 2020-01-06 08:13:43 +00:00
PETER LIANG
fad4dd6c29 Merge "Multiple shortcut menu for android R (2/n)." 2020-01-06 07:53:41 +00:00
JW Wang
bcd9e60e5e Convert rollback type to string to improve logging
Bug: 147204526
Test: atest StagedRollbackTest#testNativeWatchdogTriggersRollback
Change-Id: I63303853ed2179fecd7037dd1e76a4d3653c3039
2020-01-06 15:44:07 +08:00
TYM Tsai
9376b90d3f Updates the cached service while the package re-enabling
The autofill would flag to use the augmented service only when try
to start the autofill service which was disabled. The behavior keeps
the same even if the autofill service is re-enabled.
To fix the issue, updates the invalid cached service to reflash while
the default service package has changed.

Fixes: 146392487
Test: atest CtsAutoFillServiceTestCases
Change-Id: I44383a25ea4fb83cb38e4166272beb1ac2ebfa59
2020-01-06 15:35:42 +08:00
Shafik Nassar
729e4d7422 Merge "Add permission for MANAGE_EXTERNAL_STORAGE AppOp" 2020-01-06 07:09:11 +00:00
Wilson Wu
1b59b9d102 Merge "Use the main thread to update alignment indication" 2020-01-06 07:06:08 +00:00
Wilson Wu
0e72713fdf Use the main thread to update alignment indication
The alignment status is reported from WLC-HAL level and runs
on another thread. It may cause CalledFromWrongThreadException,
if use that thread to update UI directly.

Bug: 146770234
Test: atest SystemUITests:KeyguardIndicationControllerTest
Change-Id: I89bf1c188d6ba094106e059f1590c9eaf3703bb8
2020-01-06 07:05:04 +00:00
Automerger Merge Worker
cdbf667823 Merge "VerificationActivity clones calling Intent" am: ff266fb064 am: 3244294cad am: e9d1f45a19
Change-Id: Ie491f94c488ae69b5cffe461d02509ade3c339bd
2020-01-06 06:30:13 +00:00
TreeHugger Robot
dadb169ca5 Merge "Typo: Gabeldorche > Gabeldorsche" 2020-01-06 06:19:45 +00:00
Automerger Merge Worker
e9d1f45a19 Merge "VerificationActivity clones calling Intent" am: ff266fb064 am: 3244294cad
Change-Id: Ib96899dffff1b07d260ccb68bdc4209d56ab2902
2020-01-06 06:18:08 +00:00
Louis Chang
621d1026a1 Merge "Clean up the logic of selecting launching stack" 2020-01-06 06:10:05 +00:00
Yo Chiang
3244294cad Merge "VerificationActivity clones calling Intent"
am: ff266fb064

Change-Id: I95b7b712d64f058a527a9b72a315a62f60897284
2020-01-05 22:07:34 -08:00
Treehugger Robot
ff266fb064 Merge "VerificationActivity clones calling Intent" 2020-01-06 06:01:37 +00:00
Peter_Liang
3960d7ae36 Multiple shortcut menu for android R (2/n).
1. Update AccessibilityButtonChooserActivity:
  - Refactor the design
  - Add shortcut type checker and the corresponding UI
2. Add new icons

Bug: 142528666
Test: maunal
Change-Id: Ia58742f094535d42b748f56dfef84e5e06f2b0aa
2020-01-06 13:55:11 +08:00
TreeHugger Robot
eb623de20a Merge "Import translations. DO NOT MERGE" 2020-01-06 05:42:41 +00:00
Automerger Merge Worker
3e6e522619 Merge "Merge "Add permissions for FrameworksNetIntegrationTests" am: eb1eac5931 am: b6bf5042c1" into qt-qpr1-dev-plus-aosp am: 68c7733ebe
Change-Id: If2d58d553dacfa675638b215df4b17bd96e3b9bb
2020-01-06 05:30:46 +00:00
Automerger Merge Worker
75e4c85394 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: 835a9b4e4f -s ours am: aaba45d717 -s ours
am skip reason: subject contains skip directive

Change-Id: Ib42a12a9c88d60ef5c790a42f40975209b613549
2020-01-06 05:30:04 +00:00
TreeHugger Robot
53d40324e2 Merge "Move blocking surface operations out of lock" 2020-01-06 05:27:39 +00:00
Chris Manton
525b400d46 Typo: Gabeldorche > Gabeldorsche
Bug: 146994862
Test: Manual inspection
Change-Id: I53fe0375ab2522314739850ea1cf24090514e7dc
2020-01-05 21:22:13 -08:00
Automerger Merge Worker
68c7733ebe Merge "Merge "Add permissions for FrameworksNetIntegrationTests" am: eb1eac5931 am: b6bf5042c1" into qt-qpr1-dev-plus-aosp 2020-01-06 05:20:03 +00:00
Automerger Merge Worker
12f123b164 Merge "Add permissions for FrameworksNetIntegrationTests" am: eb1eac5931 am: b6bf5042c1
Change-Id: Ied4f6bbefbe81032e3cadca667771b5a64e75304
2020-01-06 05:19:54 +00:00
Automerger Merge Worker
aaba45d717 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: 835a9b4e4f -s ours
am skip reason: subject contains skip directive

Change-Id: Id7debdc5e8211bff3fe71667afad3b0db591c0dd
2020-01-06 05:19:47 +00:00
TreeHugger Robot
835a9b4e4f Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2020-01-06 05:10:55 +00:00
Paul Hu
b6bf5042c1 Merge "Add permissions for FrameworksNetIntegrationTests"
am: eb1eac5931

Change-Id: I27ecd6182ff3794098b6486cb48736df7a849b0e
2020-01-05 21:07:51 -08:00
Paul Hu
eb1eac5931 Merge "Add permissions for FrameworksNetIntegrationTests" 2020-01-06 05:01:44 +00:00