Commit Graph

12838 Commits

Author SHA1 Message Date
Songchun Fan
4889c7a823 Merge "Incremental native lib extraction" 2020-02-07 23:32:00 +00:00
TreeHugger Robot
2f2cae9438 Merge "Fix tag skip and add tests for component-override" 2020-02-07 23:28:57 +00:00
Ryan Mitchell
1ba81d6fcf Fix tag skip and add tests for component-override
Add SystemConfig parsing tests for component-override. Also fix an
issue where component-override causes the next tag to be skipped.

Bug: 148297212
Bug: 138458609
Test: atest SystemConfigTest
Change-Id: Ifc0d02f705f3f0ffe710729310779a1d41226acb
2020-02-07 14:13:41 -08:00
Antoan Angelov
c0fce3043e Merge "Change color of the tab underline to match the UX mocks." 2020-02-07 21:03:27 +00:00
Songchun Fan
0f8b6fe950 Incremental native lib extraction
Basically we configure all the lib files inside Incremental Service,
e.g., create lib dirs, make lib files, extract original
lib file data from zip and then write data to the lib files on incfs.

Test: manual with incremental installation
BUG: b/136132412 b/133435829
Change-Id: I7544d2e78bcf3bdd76ce4c0766ec31ff13fd2011
2020-02-07 11:35:48 -08:00
Songchun Fan
623777c2c5 Merge "Refactor to prepare for incremental native lib extraction" 2020-02-07 19:20:11 +00:00
arangelov
a6f73b83a8 Change color of the tab underline to match the UX mocks.
Even though the color can be changed by updating
Theme.DeviceDefault.ResolverCommon's colorControlActivated,
that also changes the background color when selecting a
list item in the resolver list. Instead, we change only
the tab-specific styling.

Fixes: 149085716
Test: manual
Change-Id: I9c3399828048ffe71db5e15d09c5cad1fd205d0d
2020-02-07 19:07:33 +00:00
Peter_Liang
9e3fe0c513 Add clickable attribute into list item view version 2.
Root cause: can't click item to trigger function.
Goal: set clickable to true when legacy type service item is disabled status.

Bug: 148834576
Test: manual test
Change-Id: I4788711e49e507bdc50e3c29681d8461d3f5e1ef
2020-02-07 12:10:27 +08:00
Songchun Fan
03f92b2ab9 Refactor to prepare for incremental native lib extraction
Easier for follow up CLs to do make incremental-specific changes.

Test: atest CtsExtractNativeLibsHostTestCases
BUG: b/136132412
Change-Id: I69f05b4779fb229597fe3140bb117db28fbac938
2020-02-06 17:34:00 -08:00
Alex Buynytskyy
d8b25b838f Incremental Delivery: Add device feature.
Feature is present if ro.incremental.enable set to true.

Test: builds
Bug: b/136132412 b/133435829

Change-Id: I99ad307cbd3428e0b3964a369930658ee1c8ac0f
2020-02-06 14:05:55 -08:00
TreeHugger Robot
75e65fa6bc Merge "Add the tabs height when determining the height of the share sheet" 2020-02-06 15:22:21 +00:00
Narayan Kamath
85e2378965 Merge "Reland: Rework platform version to hide codenames." 2020-02-06 10:51:15 +00:00
Dianne Hackborn
db0074542c Reland: Rework platform version to hide codenames.
The public platform version no longer can be a codename, it is
always the most recently released platform.  A new build property
and API provides either the offical version or the current codename
as appropriate.  This will avoid breaking apps that look at the
platform version while development is under a codename.

Bug:  143175463
Test: manual
Exempt-From-Owner-Approval: Relanding change with zero delta in this project.
Change-Id: I4407df40151d884293fa9d301a401b65bedb5527
2020-02-06 10:50:43 +00:00
Automerger Merge Worker
ea25aa5d95 Merge changes I5a01d709,I1b7da86d am: 95d9c6164b am: 3e07b3a7f3 am: f45c114c4e
Change-Id: Icf066ed0634f01597d6c4273131d9ed67f0935f9
2020-02-06 01:44:23 +00:00
Automerger Merge Worker
3e07b3a7f3 Merge changes I5a01d709,I1b7da86d am: 95d9c6164b
Change-Id: I7079ddf41c18c3c073e3a0234fbd15f40a339315
2020-02-06 01:10:49 +00:00
Benedict Wong
95d9c6164b Merge changes I5a01d709,I1b7da86d
* changes:
  Add Skeleton Ikev2VpnRunner class
  Add VpnRunner abstract class
2020-02-06 00:55:05 +00:00
arangelov
a69e67638b Add the tabs height when determining the height of the share sheet
Test: atest com.android.internal.app.ResolverActivityTest
Test: atest com.android.internal.app.ChooserActivityTest
Bug: 142537267
Bug: 142538125
Change-Id: I056730d69163591a84d7c3b70c52a646579c8830
2020-02-05 21:25:15 +00:00
PETER LIANG
bfd6004044 Merge "Fix the accessibility event for clicking disabled item." 2020-02-05 11:15:35 +00:00
PETER LIANG
eb241932c7 Merge "Fix services don't be triggered when clicking selection item from shortcut key." 2020-02-05 09:51:32 +00:00
Peter_Liang
17234aa738 Fix services don't be triggered when clicking selection item from shortcut key.
Root cause: should call corresponding function
Goal: using performAccessibilityShortcut function from AccessibilityManager

Bug: 148779579
Test: manual test
Change-Id: Ibc3fcb77e1aef54683328d1e7a71afabccffc523
2020-02-05 09:48:37 +00:00
Peter_Liang
73842240db Fix the accessibility event for clicking disabled item.
Root cause: shouldn't speak "Double tap to activate" for disabled item.
Goal: set disable for the item.

Bug: 148834576
Test: manual test
Change-Id: I40a083ec4f7d18073dd46636719d6b64fb674f67
2020-02-05 16:14:24 +08:00
Yuhan Zhao
f3b3d41560 Intercepting activites that could cause lock task mode violation in ActivityStartInterceptor.
Test: Manual
Test: atest WmTests:ActivityRecordTests
Test: atest WmTests:ActivityStartInterceptorTest
Test: atest WmTests:LockTaskControllerTest
Bug: b/131614258
Screenshot: https://screenshot.googleplex.com/hPy1b9NgkNj
Change-Id: Ibba62d4cd0065cab9c46fcb575c207d1a88bd02f
2020-02-04 14:38:39 -08:00
Benedict Wong
e0b672d117 Add VpnRunner abstract class
This change adds a VpnRunner superclass to the LegacyVpnRunner in
preparation for the PlatformVpnRunner

Bug: 144246767
Test: FrameworksNetTests passing
Change-Id: I1b7da86d59c34f5d8c1ac13fb621f2e5d3bf8d26
2020-02-04 21:17:37 +00:00
Evan Laird
043736647d Allow the visual dismissal of foreground service notifs
This CL adds support for a new feature flag
(notifications_allow_fgs_dismissal) that enables a user to visually
dismiss a notificationg that represents FLAG_ONGOING_EVENT or
FLAG_FOREGROUND_SERVICE into a new bottom section of the shade. Tapping
on the list items in the new section reinstantiates them back to the
shade.

In this CL:
- the new device_config flag + feature controller for it
- ForegroundServiceSectionController that can track dismissed FGS
notifications and then show them in its own decor view
- ForegroundServiceDungeonView that is optionally added at the bottom of
the shade
- Changes to the logic for NotificationEntry#isClearable to take into
account the new flag

Todo:
- Minify the dungeon view before first tap
- pin the dungeon view to the bottom of the notification shade

Test: atest SystemUITests
Test: adb shell device_config put systemui notifications_use_people_filtering false && adb shell kill $(pid com.android.systemui)
Bug: 136562823
Change-Id: I8359e8c3ad9de89cd867f5ac147d62e22b9cf816
2020-02-04 12:47:27 -05:00
Automerger Merge Worker
64fdcebb5f Merge changes Icb062ffb,I66c4e8f5,I85247411,Id47c19b7,Ib713c4ae, ... am: 0b32981970 am: 5f603929da am: 699cea6988
Change-Id: I213d2cdca4187ed30293dc433cfee9e8af782b6e
2020-02-04 13:48:46 +00:00
Automerger Merge Worker
5f603929da Merge changes Icb062ffb,I66c4e8f5,I85247411,Id47c19b7,Ib713c4ae, ... am: 0b32981970
Change-Id: I6b601f88b8411de9d1a5551d9b9b6c3e329087f4
2020-02-04 13:30:03 +00:00
Chalard Jean
0b32981970 Merge changes Icb062ffb,I66c4e8f5,I85247411,Id47c19b7,Ib713c4ae, ...
* changes:
  [NS A36] Add a test for lost trusted capability
  [NS A35] Send updated scores to factories at the end.
  [NS A34] Still more simplification
  [NS A33] Unify changing the default network
  [NS A32] More simplification
  [NS A31] Simplification
  [NS A30] Note linger out of the rematch loop
  [NS A29] Call LOST callbacks at the end of the rematch.
  [NS A28] Move setting the default network out of the rematch loop.
2020-02-04 13:14:27 +00:00
PETER LIANG
0c83c8098a Merge "Multiple shortcut menu for android R (9/n)." 2020-02-04 11:43:02 +00:00
Automerger Merge Worker
74e1f6e4cb Merge "ims:rcs uce update Add call composer, standalone chatbot feature tags for UCE" am: b20182a741 am: 12dbda915d am: c3ed1f39e3
Change-Id: I6831d36962cf7c219524c95c5cf95a2df8034c1f
2020-02-04 07:46:31 +00:00
Peter_Liang
5a0aeffe27 Multiple shortcut menu for android R (9/n).
1. Fix didn't reset attributes when reusing target item view.
2. Add gray out color filter for disabled icon item.
3. Remove unused icon resource.

Fix: 148834159
Test: manual test
Change-Id: If05833a7c52a62131db250589fcf8c820ec08ff4
2020-02-04 15:45:58 +08:00
Chalard Jean
9f0e8ddad5 [NS A28] Move setting the default network out of the rematch loop.
Bug: 113554781
Test: FrameworkNetTests NetworkStackTests
Change-Id: I02d85f17bf0ea37ae173f306f5a47d7551773c3a
2020-02-04 16:23:58 +09:00
Automerger Merge Worker
12dbda915d Merge "ims:rcs uce update Add call composer, standalone chatbot feature tags for UCE" am: b20182a741
Change-Id: I13834d78aca6739151935b8730370ca79e0088c1
2020-02-04 07:20:32 +00:00
Treehugger Robot
b20182a741 Merge "ims:rcs uce update Add call composer, standalone chatbot feature tags for UCE" 2020-02-04 07:08:51 +00:00
TreeHugger Robot
27e12881e4 Merge "Use FrameworkStatsLog instead of StatsLog" 2020-02-03 21:36:22 +00:00
TreeHugger Robot
e378131ece Merge "Do not require reauth when turning on profile with unified challenge" 2020-02-03 17:32:06 +00:00
Muhammad Qureshi
e2b2432bc6 Use FrameworkStatsLog instead of StatsLog
As part of statsd becoming a Mainline module in R, autogenerated
StatsLog.write() calls are going away and replaced by
*StatsLog.java
that is autogenerated for each module.
This CL replaces some usages of StatsLog with
FrameworkStatsLog.

Bug: 145952197
Test: m
Change-Id: Iaa2db34a7be4c3215f62cc36661ba8ac81656baa
2020-02-03 09:17:40 -08:00
Andrei-Valentin Onea
af747cef1e Merge "Use FrameworkStatsLog instead of StatsLog" 2020-02-03 16:49:04 +00:00
TreeHugger Robot
c62ab87518 Merge "Check for feature flag when creating the package monitor." 2020-02-03 14:37:10 +00:00
TreeHugger Robot
c055ea0dc3 Merge "Verify personal package monitor is initialized before unregister" 2020-02-03 14:05:36 +00:00
Muhammad Qureshi
18b77a0cc5 Use FrameworkStatsLog instead of StatsLog
As part of statsd becoming a Mainline module in R, autogenerated
StatsLog.write() calls are going away and replaced by *StatsLog.java
that is autogenerated for each module.
This CL replaces some usages of StatsLog with FrameworkStatsLog.
Re-landing of http://ag/10194708 .

Bug: 145952197
Test: m
Change-Id: Ie5dcc3c677c0f3667d6505a76b91c05649787fba
2020-02-03 13:30:26 +00:00
Automerger Merge Worker
ea2a336113 Merge "Minor refactor of ChangeReporter and PlatformCompat" am: 55d16fac97 am: a8116d930c am: f8f7f29b32
Change-Id: Ic7db4dd118dceb1f8fe618cf341cbf725c818520
2020-02-03 13:10:18 +00:00
Automerger Merge Worker
a8116d930c Merge "Minor refactor of ChangeReporter and PlatformCompat" am: 55d16fac97
Change-Id: I691696fa0ffa50c87bb3afb26173f4cc595453a2
2020-02-03 12:46:12 +00:00
Treehugger Robot
55d16fac97 Merge "Minor refactor of ChangeReporter and PlatformCompat" 2020-02-03 12:37:48 +00:00
arangelov
e0cceb28dd Check for feature flag when creating the package monitor.
Fixes: 148657395
Test: manually used share sheet on both personal and work
profiles with the feature flag disabled

Change-Id: I02617454a57fb1933ba8e0e2a6d5598a3bb4016d
2020-02-03 12:20:26 +00:00
arangelov
96dec88059 Verify personal package monitor is initialized before unregister
The package monitor instances are now initialized after
configureContentView, which means we have to null check
when we autolaunch.

Test: none
Fixes: 148656667
Change-Id: If0bed185c7ee85840f691290a7718a6ff3b81b12
2020-02-03 12:20:09 +00:00
Automerger Merge Worker
ef21e5aefe Merge "Fix comments on ChangeId." am: 74e47edc82 am: c9f42024cd am: 4a54329474
Change-Id: If39b9bf0833327e9f13e7d39d6704efa2b2e0f96
2020-02-01 16:17:35 +00:00
Automerger Merge Worker
c9f42024cd Merge "Fix comments on ChangeId." am: 74e47edc82
Change-Id: I4c10072f6d20071cefb08338c9903275ba6ad69e
2020-02-01 16:00:13 +00:00
Jorim Jaggi
0e1ac39a06 Merge "Replace OnContentApplyWindowInsetsListener with simple boolean" 2020-02-01 15:44:51 +00:00
Jorim Jaggi
1f08f649c8 Replace OnContentApplyWindowInsetsListener with simple boolean
The concept will move into the support library (androidx), so in
the framework we only need a simple boolean to toggle the default
behavior.

Also remove redundant methods on WIC to control IME.

Bug: 143556682
Bug: 118118435
Test: WindowTest CTS
Change-Id: I30fbffdfbe79a57b0f4166f0657c78370c7bcf02
2020-02-01 12:51:42 +01:00
Sudheer Shanka
fe830f9760 Merge "Validate input arguments to BlobStoreManager APIs." 2020-01-31 22:19:23 +00:00