If the process of an activity was died in background, its activity and
task record will still be in history stack. If the process is started
again in background such as receiving broadcast. Then the launch of the
same activity will have the conditions: process exists and the result
code is START_TASK_TO_FRONT. But the activity still need to create so
it should be warm launch.
This reverts commit 3a1f6225c2.
Reason for revert: remove redundant "notifyWindowsDrawn(mTopActivity)"
in test case that was missed when resolving conflict.
Bug: 171549711
Test: ActivityMetricsLaunchObserverTests#testOnActivityLaunchFinished
Change-Id: I43625184392c22e6769a147beda4817f70afcf9a
Merged-In: I2b8e45ddfd76ce4fb0fdb0c244a8f4170fbabd21
This reverts commit 20efc15caa.
Reason for revert: Droidcop: Potential culprit for Bug b/171719665 - verifying through Forrest before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Merged-In: I18e2f1a5eaf1e07b96d6135be56f8077d37b7504
Change-Id: I46d622d34a984bf40fe9cbb4a6454e41861d8027
If the process of an activity was died in background, its activity and
task record will still be in history stack. If the process is started
again in background such as receiving broadcast. Then the launch of the
same activity will have the conditions: process exists and the result
code is START_TASK_TO_FRONT. But the activity still need to create so
it should be warm launch.
Fixes: 171549711
Test: ActivityMetricsLaunchObserverTests#testOnActivityLaunchFinished
Change-Id: Iaf53ab8a35192249c20a73d9cb0de2a5e8effc64
Merged-In: Iaf53ab8a35192249c20a73d9cb0de2a5e8effc64
(cherry picked from commit 2e039cd3bc)
instead of null, so that when a certificate is removed, it is also
removed in SubscriptionInfoUpdater#updateSubscriptionByCarrierConfig
Bug: 162700101
Test: manual
Change-Id: I921007498f42119581f565fcc6625c1275c59df8
Merged-In: I921007498f42119581f565fcc6625c1275c59df8
The API was exposed in ag/9766884 but reverted in ag/10665971. However
with the revert the annotation was not added back.
Test: TH
Bug: 159022482
Change-Id: Ia7d200bfd4d4565971701048b1c469a6633edeb4
Bug: 171225367
Test: Verified setting was correctly updated with value from hal.
1. Flash device to QD1A
2. Observe default setting is reported
3. Flash to build including this change
4. Verify that setting gets updated after two pulls to getFeature using
adb shell cmd stats pull-source 10058
Change-Id: Ifa64ea7e08c04b4674b3fd961d2ec11033c0b687
Merged-In: I0187e27b641edf0836fa187530cb2a193082fe5d
The ACTION_AUDIO_STATE_CHANGED intent action uses the HDP profile,
not the A2DP profile.
Bug: 158742305
Test: m ds-docs-java
Exempt-From-Owner-Approval: Docs-only change
Change-Id: I4358aac8c8aa9fc8b36e517e568e5a9db538555e
* changes:
Notifications starting paused shall still be subject to timeout.
Disable player's "Dismiss" button when notification is not dismissible.
Media player attempts to dismiss notifications when players removed.
Needed to give KitchenSink control over enabling/disabling rotary
functionality.
Bug: 170232080
Test: manual
Change-Id: Ic69222642884444597e7411b17b6c6f363076981
Also updates notif pipeline filter name:
IsDozingFilter => DndSuppressVisualEffectsFilter.
Fixes: 170386608
Test: atest NotificationEntryManagerTest
Test: manual
1. Turn on DND with visual effects not allowed and all messages
allowed to bypass
2. In a test app post two notifications after one another (one
w/o messaging style, another with messaging style)
Observe: HUN, as expected
Change-Id: Ife8c1b52415cd749fecdbdc59fa5b3773b543acf
Merged-In: Ife8c1b52415cd749fecdbdc59fa5b3773b543acf
The android.jar stubs includes the resource from framework-res. This
dependency was previously added implicitly inside the build system, but
using a java_genrule we can add it directly, which makes it easier to
make changes to this rule.
This change has the side-effect of adding the resources to some stubs
that did not previously include the resources (e.g. module-libs), which
I think is desired.
Bug: 161214753
Test: build sdk, diff out/dist before and after (shows resources added
to some stubs)
Change-Id: I1829789af207cc45c49c0c68369fc7c0c085bcb0
Merged-In: I1829789af207cc45c49c0c68369fc7c0c085bcb0
This restores the orientation condition as in Q. Otherwise the
display orientation may still be controlled by an invisible
overlay window (e.g. its root view has set View.GONE) .
Bug: 169468732
Test: DisplayAreaTest#testGetOrientation
Change-Id: I517be9fb135eeb69722054e6191ef500f2f47da9
Merged-In: I517be9fb135eeb69722054e6191ef500f2f47da9
(cherry picked from commit 4136db2646)