OSDN Git Service
Kevin Chyn [Thu, 2 May 2019 01:54:05 +0000 (01:54 +0000)]
Merge "Add configurable ignore-list for acquired messaging" into qt-dev
Kevin Chyn [Wed, 24 Apr 2019 20:53:35 +0000 (13:53 -0700)]
Add configurable ignore-list for acquired messaging
Fixes:
130327061
Test: Builds
Change-Id: Ibdcadf0beeade9c8f4bb10cc08344dad58a02699
Lucas Dupin [Thu, 2 May 2019 01:48:55 +0000 (01:48 +0000)]
Merge "Do not expand NPV when unoccluding with bouncer" into qt-dev
Cosmo Hsieh [Thu, 2 May 2019 01:26:00 +0000 (01:26 +0000)]
Merge "Fix WifiTracker keeps sacnning even if onStop() is called." into qt-dev
TreeHugger Robot [Thu, 2 May 2019 00:59:30 +0000 (00:59 +0000)]
Merge "Fix NPE in findFrameMetricsObserver" into qt-dev
Ian Pedowitz [Thu, 2 May 2019 00:59:09 +0000 (00:59 +0000)]
Merge "Revert "RESTRICT AUTOMERGE Finalizing Q resources"" into qt-dev
Ian Pedowitz [Thu, 2 May 2019 00:59:09 +0000 (00:59 +0000)]
Merge "Revert "RESTRICT AUTOMERGE Remove deprecated System APIs added in Q."" into qt-dev
Ian Pedowitz [Thu, 2 May 2019 00:59:09 +0000 (00:59 +0000)]
Merge "Revert "RESTRICT AUTOMERGE Removing deprecated APIs added to Q"" into qt-dev
Ian Pedowitz [Thu, 2 May 2019 00:59:09 +0000 (00:59 +0000)]
Merge "Revert "RESTRICT AUTOMERGE Android Q is API 29"" into qt-dev
TreeHugger Robot [Thu, 2 May 2019 00:58:15 +0000 (00:58 +0000)]
Merge "Block touches under scrimmed bouncer" into qt-dev
Ian Pedowitz [Thu, 2 May 2019 00:56:02 +0000 (00:56 +0000)]
Revert "RESTRICT AUTOMERGE Removing deprecated APIs added to Q"
This reverts commit
f6ed8afa405dfae445a16f7433e4d8a9f20115b9.
Reason for revert: QT SDK Finalization. Will be merged again on/after May 13th
Bug:
129975435
Change-Id: If94098b7cc9cf75cf9782d2b70e01881f9c40430
Ian Pedowitz [Thu, 2 May 2019 00:55:51 +0000 (00:55 +0000)]
Revert "RESTRICT AUTOMERGE Android Q is API 29"
This reverts commit
8a3d1f96e1736c7e0493ebb71ed2904dffdebbfd.
Reason for revert: QT SDK Finalization. Will be merged again on/after May 13th
Bug:
131429032
Bug:
129975435
Change-Id: I7a48ef6a057a97ebd9903b7e934a7d95ec97f00e
Ian Pedowitz [Thu, 2 May 2019 00:54:54 +0000 (00:54 +0000)]
Revert "RESTRICT AUTOMERGE Finalizing Q resources"
This reverts commit
98cf6895520cb197bb6abec2cdff95d74c38895f.
Reason for revert: QT SDK Finalization. Will be merged again on/after May 13th
Bug:
129975435
Change-Id: Iabc295f996fcd05f0bdfe3f736a22f48536a6e96
Ian Pedowitz [Thu, 2 May 2019 00:54:39 +0000 (00:54 +0000)]
Revert "RESTRICT AUTOMERGE Remove deprecated System APIs added in Q."
This reverts commit
02014297fd1c0e6673a91cf4b4215d4d2da8f133.
Reason for revert: QT SDK Finalization. Will be merged again on/after May 13th
Bug:
129975435
Change-Id: Ia054b193a982dee669630555974d2d7831fe2b50
Ian Pedowitz [Thu, 2 May 2019 00:53:29 +0000 (00:53 +0000)]
Merge "RESTRICT AUTOMERGE Finalizing Q resources" into qt-dev
Ian Pedowitz [Thu, 2 May 2019 00:53:29 +0000 (00:53 +0000)]
Merge "RESTRICT AUTOMERGE Remove deprecated System APIs added in Q." into qt-dev
Ian Pedowitz [Thu, 2 May 2019 00:53:29 +0000 (00:53 +0000)]
Merge changes from topic "QT-SDK-Finalization" into qt-dev
* changes:
RESTRICT AUTOMERGE Android Q is API 29
RESTRICT AUTOMERGE Removing deprecated APIs added to Q
Nader Jawad [Thu, 2 May 2019 00:42:21 +0000 (00:42 +0000)]
Merge "Fixed issue where GradientDrawable would fail inflation with invalid angle parameters" into qt-dev
TreeHugger Robot [Thu, 2 May 2019 00:37:32 +0000 (00:37 +0000)]
Merge "AudioAttributes: fix setInternalLegacyStreamType()" into qt-dev
Mady Mellor [Thu, 2 May 2019 00:24:06 +0000 (00:24 +0000)]
Merge "Bubbles policy: require remote input for messaging" into qt-dev
George Hodulik [Thu, 2 May 2019 00:00:35 +0000 (00:00 +0000)]
Merge "Default to RankerResolver if AppPredictor is disabled" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 23:50:58 +0000 (23:50 +0000)]
Merge "Propogate disabled state to content capture session after changing user restrictions or on ccm.setContentCaptureEnabled()." into qt-dev
TreeHugger Robot [Wed, 1 May 2019 23:39:25 +0000 (23:39 +0000)]
Merge "Set battery paths for each themes." into qt-dev
TreeHugger Robot [Wed, 1 May 2019 23:36:21 +0000 (23:36 +0000)]
Merge "Replace bubble settings icon with "manage" text" into qt-dev
Steve Elliott [Wed, 1 May 2019 23:21:14 +0000 (23:21 +0000)]
Merge "Update GlobalActionPanelPlugin API with lockscreen state notifications" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 22:55:48 +0000 (22:55 +0000)]
Merge "Remove privilege if a priv_app is removed via OTA" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 22:37:36 +0000 (22:37 +0000)]
Merge "Cleanup messages in onDestory in ChooserActivity" into qt-dev
George Hodulik [Fri, 26 Apr 2019 23:17:54 +0000 (16:17 -0700)]
Default to RankerResolver if AppPredictor is disabled
The AppPredictionServiceResolverComparator will use the ResolverRankerService
if APS appears to be disabled for share activities (returning empty despite
being given a non-empty target list).
For Direct share targets, if the share target list returned is empty, we fall
back on calling the ShortcutManager directly and relying on ChooserTargetService
to rank.
Bug:
129014961
Test:Manually tested.
Test: atest frameworks/base/core/tests/coretests/src/com/android/internal/app
Change-Id: I9891a3a4d879e247b84a651408058153ea57c766
TreeHugger Robot [Wed, 1 May 2019 21:43:28 +0000 (21:43 +0000)]
Merge "Make am instrument capture logcat during test run, and return it to the host." into qt-dev
Lucas Dupin [Wed, 1 May 2019 21:41:49 +0000 (14:41 -0700)]
Do not expand NPV when unoccluding with bouncer
Otherwise the notification shade would be expanded behind the
the pin pad.
Test: manual
Test: atest StatusBarKeyguardViewManagerTest
Fixes:
120767257
Change-Id: Ic8f5e4477e75dddbefc5e2c5decd0f5a74289591
Joe Onorato [Wed, 1 May 2019 21:38:58 +0000 (21:38 +0000)]
Merge "Update owners files" into qt-dev
Joe Onorato [Wed, 1 May 2019 21:33:34 +0000 (21:33 +0000)]
Merge "Fix crash in Permission Controller approving bug reports (incident reports were working fine)" into qt-dev
Eric Laurent [Wed, 1 May 2019 21:24:40 +0000 (14:24 -0700)]
AudioAttributes: fix setInternalLegacyStreamType()
Make sure that the content type is always properly set from
legacy stream type in the case where the product strategy matching
this legacy stream type does not specify it.
Bug:
129506383
Test: playback with Youtube and check content type with audio service
dumpsys
Change-Id: Ibaac0edc21bc44a56c632fb420b94deee710869d
Julia Reynolds [Wed, 1 May 2019 21:23:43 +0000 (21:23 +0000)]
Merge "Mirror primary noti assistant to work profile" into qt-dev
Aaron Heuckroth [Wed, 1 May 2019 21:17:15 +0000 (21:17 +0000)]
Merge "Add GlobalActionsColumnLayout to replace HardwareUILayout." into qt-dev
Suprabh Shukla [Mon, 29 Apr 2019 21:16:01 +0000 (14:16 -0700)]
RESTRICT AUTOMERGE Android Q is API 29
Time may be eternal, Captain, but our patience is not. It's time to put
an end to your trek through the stars.
Test: Builds, boots.
Bug:
131429032
Bug:
129975435
Change-Id: Ia2367124afb642dac0fb365e4fa096db1c648adb
Suprabh Shukla [Mon, 29 Apr 2019 21:07:39 +0000 (14:07 -0700)]
RESTRICT AUTOMERGE Removing deprecated APIs added to Q
Test: Builds, boots
Bug:
129975435
Change-Id: If083957effedf7987b200c366f65d6863b99bca1
Tyler Gunn [Wed, 1 May 2019 20:55:39 +0000 (20:55 +0000)]
Merge "Change command like set-default-dialer to be a test override." into qt-dev
Jordan Liu [Wed, 1 May 2019 20:54:14 +0000 (20:54 +0000)]
Merge "Update documntation for getCardId" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 20:38:37 +0000 (20:38 +0000)]
Merge "Catch NPE and add more logging for a crash in Tile" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 20:36:27 +0000 (20:36 +0000)]
Merge "define media.metrics events for statsd" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 20:08:37 +0000 (20:08 +0000)]
Merge "Fix issue #
126884118: API Review: API Review: Enabling Chrome Site Isolation" into qt-dev
Joe Onorato [Wed, 1 May 2019 19:51:05 +0000 (12:51 -0700)]
Make am instrument capture logcat during test run, and return it to the host.
Also makes bit print that logcat, if available, instead of just the
stack trace.
This means that when you run a test you don't also have to run logcat in
some other window, and then scroll around forever looking for the one
test in question.
Test: bit -t GtsIncidentManagerTestCases:com.google.android.incident.gts.IncidentManagerTests\#testFail
Test: bit -t GtsIncidentManagerTestCases:com.google.android.incident.gts.IncidentManagerTests\#testDoesntExist
Bug:
129875642
Change-Id: I8940ff379c919482f4a545cb90d25bdbaa2b4f15
Lajos Molnar [Wed, 1 May 2019 20:01:26 +0000 (20:01 +0000)]
Merge "media: make CodecCapabilities PerformancePoints hashable" into qt-dev
Lajos Molnar [Wed, 1 May 2019 19:58:10 +0000 (19:58 +0000)]
Merge "Make min/max sampling rate configurable" into qt-dev
Edward Cunningham [Wed, 1 May 2019 19:50:20 +0000 (19:50 +0000)]
Merge "Allow holders of SYSTEM_ALERT_WINDOW permission to start activities from background" into qt-dev
Amin Shaikh [Wed, 1 May 2019 12:07:05 +0000 (08:07 -0400)]
Set battery paths for each themes.
Add config_batterymeterErrorPerimeterPath to accommodate for dual tone battery
drawables that are completely filled and only show a perimeter for battery saver.
Bug:
124107387
Test: visual
Change-Id: Id432453f75e1f6f76e9d92747171729028679304
Daniel Rosenberg [Wed, 1 May 2019 19:38:54 +0000 (19:38 +0000)]
Merge "Fix misplaced return in RescueParty" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 19:34:00 +0000 (19:34 +0000)]
Merge "Added VISIBLE_FOR_USER flag for policy visibility" into qt-dev
Lyn Han [Tue, 30 Apr 2019 21:34:49 +0000 (14:34 -0700)]
Replace bubble settings icon with "manage" text
Bug:
130346513
Test: manual
Change-Id: I01e5dbd79976bf58a037258952bbdd3550e2251f
Svetoslav Ganov [Wed, 1 May 2019 19:02:40 +0000 (19:02 +0000)]
Merge "Address API conucil feedback" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 19:02:20 +0000 (19:02 +0000)]
Merge "Fix a couple issues with sysui state" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 19:01:31 +0000 (19:01 +0000)]
Merge "Use theme attributes for dual tone icons" into qt-dev
Nader Jawad [Wed, 1 May 2019 18:17:20 +0000 (11:17 -0700)]
Fixed issue where GradientDrawable would fail inflation
with invalid angle parameters
Previously, GradientDrawable would fail xml parsing if
an angle measurement was not a multiple of 45 and the type
of gradient is linear. Restore the original behavior to only
verify the angle measurement only if the type is linear
instead of verifying this requirement for all gradient types.
Removed restriction that radii must be non-negative as
subsequent logic in GradientDrawable already clamps the radius
to valid parameters.
Bug:
130309904
Test: Updated tests in CtsGradientDrawableTest
Change-Id: Ib1b3a0bb80639ddc00be7e630c62e781dfa6d9cf
Lucas Dupin [Wed, 1 May 2019 18:46:51 +0000 (11:46 -0700)]
Block touches under scrimmed bouncer
Fixes:
131386038
Test: swipe to bouncer and back on LS
Test: tap on notification, hit back on LS
Test: tap on notification on locked shade, try to interact with QS
Test: tap on notification on locked shade, hit back
Change-Id: I4e7c92abd8af2bba1918b7f1680d2a4b7377be12
TreeHugger Robot [Wed, 1 May 2019 18:44:39 +0000 (18:44 +0000)]
Merge "Propagate light nav bar info" into qt-dev
Mehdi Alizadeh [Fri, 26 Apr 2019 00:16:30 +0000 (17:16 -0700)]
Cleanup messages in onDestory in ChooserActivity
Bug:
129679731
Test: Builds and ShareSheet works
Change-Id: I78afd4546e139698213e952495d46fc401fba540
Jonathan Scott [Wed, 1 May 2019 18:38:15 +0000 (18:38 +0000)]
Merge "Add metrics to CrossProfileApps methods." into qt-dev
Selim Cinek [Wed, 1 May 2019 18:09:15 +0000 (18:09 +0000)]
Merge "Made sure smart actions now launch also inline same as activity launches" into qt-dev
Selim Cinek [Tue, 30 Apr 2019 01:42:59 +0000 (18:42 -0700)]
Made sure smart actions now launch also inline same as activity launches
This will make the association with smart actions closer. This changes
the transition when opening an action from a two step close shade - open app
to a direct animation into the app from the notification.
Fixes:
123591046
Test: atest SystemUiTests
Change-Id: I3c92aa20437ca7c37ef27ae6618df1959ef63137
Joe Onorato [Wed, 1 May 2019 17:59:32 +0000 (10:59 -0700)]
Update owners files
Test: none
Bug: 12345
Change-Id: I3e42ce95abca629259608209e5865c76cc01b231
TreeHugger Robot [Wed, 1 May 2019 18:00:27 +0000 (18:00 +0000)]
Merge "call method with mPackages held" into qt-dev
Eric Laurent [Wed, 1 May 2019 18:00:04 +0000 (18:00 +0000)]
Merge "AudioService: fix mute over CEC" into qt-dev
Fan Zhang [Wed, 1 May 2019 17:53:54 +0000 (17:53 +0000)]
Merge "Add metrics for Delete sim dialogs" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 17:48:05 +0000 (17:48 +0000)]
Merge "Add content descriptions to status bar privacy items" into qt-dev
Annie Meng [Wed, 1 May 2019 17:37:03 +0000 (17:37 +0000)]
Merge "Invalidate existing keys when platform_key_generation_id is set" into qt-dev
Jordan Liu [Fri, 26 Apr 2019 19:27:51 +0000 (12:27 -0700)]
Update documntation for getCardId
Test: manual and atest TelephonyManagerTest
Bug:
131423779
Change-Id: I7b384ec7265e219aee82164476d7d2d96e0f94a0
(cherry picked from commit
c43c6b505deb89a63009d7d47f158ca3059dce38)
Mady Mellor [Fri, 26 Apr 2019 20:50:58 +0000 (13:50 -0700)]
Bubbles policy: require remote input for messaging
Test: atest NotificationManagerServiceTest (& see cts CL)
Bug:
130894746
Change-Id: I196cfaa8f89ee328f96c426ff64f76f937495486
Aaron Heuckroth [Wed, 1 May 2019 14:44:59 +0000 (10:44 -0400)]
Add GlobalActionsColumnLayout to replace HardwareUILayout.
Refactor code to improve code re-use and enable testing, and add lots of unit tests.
HardwareUILayout is no longer used.
Test: Automated tests pass. Manual testing with different display sizes and with panel plugin enabled/disabled.
Fixes:
130808177
Fixes:
128372852
Change-Id: I1e48d226973a9b610cece2691af7b233cdb5235c
Matt Pape [Wed, 1 May 2019 17:20:12 +0000 (17:20 +0000)]
Merge "Migrate usage of single property lister to multi prop listener." into qt-dev
TreeHugger Robot [Wed, 1 May 2019 16:57:06 +0000 (16:57 +0000)]
Merge "Un-deprecate PackageManager.replacePreferredActivity." into qt-dev
Keun-young Park [Wed, 1 May 2019 16:50:45 +0000 (16:50 +0000)]
Merge "add dump to MultiClientInputMethodManagerService" into qt-dev
Todd Kennedy [Wed, 1 May 2019 16:22:52 +0000 (09:22 -0700)]
Remove privilege if a priv_app is removed via OTA
If a priv_app is removed from the system via an OTA, any update
to that application retains its privilege for the entirety of
that boot cycle. Once the device reboots a second time, any
update will lose its privilege.
We want to ensure the application loses its privilege as
soon as the version has been removed from the system image.
NOTE: It's still an open question about whether or not the
application's data should be cleared. It potentially had
access to privileged data, so, we may consider clearing
data in this scenario.
Fixes:
122806918
Test: Manual
Test: Put any application into /system/priv-app
Test: Verify application is PRIVILEGED
Test: Install application using 'adb install'
Test: Verify application is still PRIVILEGED
Test: Remove application from /system/priv-app
Test: Restart shell
Test: Verify application is NOT PRIVILEGED
Test: Repeat above up to removing /system/priv-app
Test: Corrupt APK on /data/app [eg. cat /dev/null > base.apk]
Test: Restart shell
Test: Verify application is no longer on the system
Change-Id: I6e9b2806aa1fbc681b56c55d2eba8495836726ef
TreeHugger Robot [Wed, 1 May 2019 16:23:25 +0000 (16:23 +0000)]
Merge "Re-enable dismiss in any direction" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 16:15:48 +0000 (16:15 +0000)]
Merge "Fixed autofill multi-sessions workflow so it only merge sessions flagged with FLAG_DELAY_SAVE." into qt-dev
Eric Laurent [Wed, 1 May 2019 01:34:01 +0000 (18:34 -0700)]
AudioService: fix mute over CEC
Fix conversion of adjust direction to keycode in
ajustStreamVolume() before sending them to HdmiPlaybackClient:
mute adjusts should be ignored except for toggle mute.
Bug:
129778057
Test: make
Change-Id: I64984ea4dd975eed2dba8feafbc486f056a15773
Julia Reynolds [Wed, 1 May 2019 12:42:24 +0000 (08:42 -0400)]
Mirror primary noti assistant to work profile
They should stay in sync because the work profile
one cannot be changed in Settings (and because work
profile notifications are displayed along side primary
profile notifications and should be treated the same
way).
Test: atest, manual confirmation of bugreport
Fixes:
131246841
Change-Id: I74ec250ad4feea2c455c568654e5037118dbcab7
TreeHugger Robot [Wed, 1 May 2019 15:23:47 +0000 (15:23 +0000)]
Merge "Remove STOPSHIP code from CarrierTextControllerTest" into qt-dev
Shafik Nassar [Wed, 1 May 2019 15:00:41 +0000 (15:00 +0000)]
Merge changes from topic "wd-flags" into qt-dev
* changes:
Update PackageWatchdogTest
Make PackageWatchdog variables configurable
Evan Laird [Mon, 22 Apr 2019 22:01:45 +0000 (18:01 -0400)]
Add content descriptions to status bar privacy items
Fixes:
127426607
Test: talkback works
Change-Id: Id409ce5a5eefdafaa90835652cb12bbb4e0ae09f
TreeHugger Robot [Wed, 1 May 2019 14:48:41 +0000 (14:48 +0000)]
Merge "Fix device not rebooting after watchdog triggered staged rollback" into qt-dev
Evan Laird [Wed, 24 Apr 2019 19:22:24 +0000 (15:22 -0400)]
Re-enable dismiss in any direction
Removes dependence on NotificationUtils#useNewInterruptionModel with
regards to swipe direction, but we can still bring it back in the future
Test: swipe notification away to the left
Fixes:
131241720
Bug:
131242807
Change-Id: I7b94057e8b7894186496060a154b053d874a0304
TreeHugger Robot [Wed, 1 May 2019 14:18:01 +0000 (14:18 +0000)]
Merge "Fix idle maintenance wrt checkpoint check" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 13:55:21 +0000 (13:55 +0000)]
Merge "Set limit of Carrier name marquee to forever" into qt-dev
Michal Karpinski [Thu, 25 Apr 2019 16:33:42 +0000 (17:33 +0100)]
Allow holders of SYSTEM_ALERT_WINDOW permission to start
activities from background
Bug:
130222474
Test: manual, seeing log:
mkarpinski@mkarpinski2:~/android/qt-dev$ adb logcat -b system | grep "allowed because SYSTEM"
04-26 15:55:41.761 1283 3067 W ActivityTaskManager: Background activity start for com.facebook.orca allowed because SYSTEM_ALERT_WINDOW permission is granted.
Change-Id: I7d0a2ae7fde9b1f7f96a4936d872397a7e07ce0e
Anton Hansson [Wed, 1 May 2019 13:51:31 +0000 (13:51 +0000)]
Merge "Optimize FileSystemProvider.includeFile" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 13:41:31 +0000 (13:41 +0000)]
Merge "Sharesheet - Font updates" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 13:00:30 +0000 (13:00 +0000)]
Merge "Sharesheet - Talkback fixes" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 13:00:23 +0000 (13:00 +0000)]
Merge changes from topic "sys_win_trust_sys_display" into qt-dev
* changes:
Don't allow showing IME on untrusted virtual displays
Don't allow showing wallpapers on untrusted virtual displays
TreeHugger Robot [Wed, 1 May 2019 12:40:19 +0000 (12:40 +0000)]
Merge "Sharesheet - Fix profile switch ripple" into qt-dev
shafik [Wed, 24 Apr 2019 09:31:54 +0000 (10:31 +0100)]
Update PackageWatchdogTest
Make PackageWatchdogTest compatible to the changes that added
DeviceConfig flags to PackageWatchdog. This includes:
* Make PackageWatchdog#setExplicitHealthCheckEnabled private and
use DeviceConfig mechanism for changing that value instead
* Disable TestLooper#startAutoDispatch
* Other minor refinements that solve compatibility issues
Bug:
129335707
Test: atest com.android.server.PackageWatchdogTest
Merged-In: I7323dc65ec2957aeab128224864441bdf63c6f81
Change-Id: I7323dc65ec2957aeab128224864441bdf63c6f81
Zimuzo [Fri, 5 Apr 2019 16:24:29 +0000 (17:24 +0100)]
Make PackageWatchdog variables configurable
We leverage DeviceConfig to configure the following variables:
watchdog_trigger_failure_duration_millis
watchdog_trigger_failure_count
watchdog_explicit_health_check_enabled
watchdog_explicit_health_check_timeout_millis
Fix PackageWatchdogTest accordingly.
Bug:
129335707
Test: added Log to PackageWatchdog that prints the received
value from DeviceConfig and made sure it matches the expected
Test: atest com.android.server.PackageWatchdogTest
Merged-In: I8a57b87682a4c636a61afdd7f93700459ccfddeb
Change-Id: I8a57b87682a4c636a61afdd7f93700459ccfddeb
TreeHugger Robot [Wed, 1 May 2019 12:20:31 +0000 (12:20 +0000)]
Merge "Fix for client tracking on bind to service." into qt-dev
Alan Stokes [Wed, 1 May 2019 11:53:39 +0000 (11:53 +0000)]
Merge "If the ServiceRecord already has a ProcessRecord attached in startServiceLocked(), whitelist the process at that point (previously we'd just set the valiable to true, and not add the token)" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 11:36:20 +0000 (11:36 +0000)]
Merge "Make NetworkStack actually build in an unbundled setup." into qt-dev
TreeHugger Robot [Wed, 1 May 2019 11:28:09 +0000 (11:28 +0000)]
Merge "Increase RescueParty boot loop detection window from 5 to 10 mins." into qt-dev
TreeHugger Robot [Wed, 1 May 2019 11:18:20 +0000 (11:18 +0000)]
Merge "Suppress transition when mCancelWithDeferredScreenshot as true." into qt-dev
TreeHugger Robot [Wed, 1 May 2019 10:17:30 +0000 (10:17 +0000)]
Merge "Remove the Build.VERSION_CODES.P0" into qt-dev
Lorenzo Colitti [Wed, 1 May 2019 02:54:33 +0000 (11:54 +0900)]
Make NetworkStack actually build in an unbundled setup.
The Java code was already using sdk_version: "current", but the
JNI library did not have an sdk_version attribute, and had
forbidden dependencies on internal libraries such as libcutils,
liblog and libnativehelper.
This CL fixes things as follows:
- Use the NDK log functions, and switch to the NDK liblog.
- Switch to the NDK libnativehelper.
- Drop the dependencies on libcutils and libpcap, which were
unused.
- Use the libc++ STL, and set the sdk_version of the library to
current.
Bug:
131703417
Test: m
Test: installed NetworkStack APK via "adb install --staged" results in working networking
Test: builds, boots, wifi works
Test: atest FrameworksNetTests NetworkStackTests
Change-Id: I1a7bd7fe2809b90a66073d8c5d5dcdff646c4286
Alan Stokes [Mon, 29 Apr 2019 12:51:18 +0000 (13:51 +0100)]
Fix for client tracking on bind to service.
We were not correctly updating the bound client UIDs when binding to a
service with an already-running process. This could result in a
background activity start by the app hosting the service being
incorrectly blocked.
(Also includes a drive-by fix of a potential NPE.)
Bug:
131468397
Test: Manually verified YouTube VR problem is fixed.
Test: atest BackgroundActivityLaunchTest
Test: atest RootWindowContainerTests
Test: atest WmTests:ActivityStarterTests
Test: atest CtsWindowManagerDeviceTestCases:ActivityStarterTests
Test: atest CtsAppTestCases:.ServiceTest
Change-Id: I153cf3678f10439075af39a8bd88ff8d492e1ffe