Vlad Zavidovych
de82ddac5d
Add header to DropBox crash reports to indicate instant app crash
...
Bug: 62372653
Test: runtest -c com.android.server.am.ActivityManagerServiceTest frameworks-services
Change-Id: I5a3d293d4bd7b54b6fcfe26516e51aff15354ded
(cherry picked from commit 9cab935555 )
2017-10-10 17:17:28 +00:00
Brad Ebinger
ad545464c2
Merge "Fix NPE when removing PIN locked SIM during E911 call" into oc-mr1-dev
2017-10-10 17:14:35 +00:00
Andrew Solovay
c4a0b34248
Merge "docs: Tiny usage fix ("e-mail" -> "email")" into oc-mr1-dev
2017-10-10 16:29:06 +00:00
TreeHugger Robot
9bc71c4922
Merge "MediaSessionService: Prevent getActiveSessions() from growing infinitely" into oc-mr1-dev
2017-10-10 05:44:55 +00:00
Andrew Solovay
ab8ea9ff01
docs: Tiny usage fix ("e-mail" -> "email")
...
I needed to make an edit in this branch to verify part of our docs
process, so I found a Javadoc typo to fix. No code error, just took
out the hyphen in "e-mail" in a Javadoc comment.
Test: make ds-docs
Bug: 67515954
Change-Id: Icb9b2a9df0d7dfd697050735886adec80bc92ff8
2017-10-09 18:49:41 -07:00
Andrew Solovay
64b23cca4d
Merge "docs: Adding API level 27 (Oreo MR1) to the docs build options" into oc-mr1-dev
2017-10-10 01:19:14 +00:00
TreeHugger Robot
cffe04a719
Merge "Expose RECORD_AUDIO to Instant Apps" into oc-mr1-dev
2017-10-09 23:14:25 +00:00
Brad Ebinger
3311859a48
Fix NPE when removing PIN locked SIM during E911 call
...
There is the possibility of mCallback being null while
the Keyguard still has a PhoneStateListener registered
for onSimStateChanged callback. This can cause a NPE.
Bug: 66986066
Test: Manual, PIN/PUK locked SIM
Merged-In: Id8ca403a839cff994970c370973a91e8e5688722
Change-Id: I799c9521f787e800e259c3bdce9edee3f844f5f3
2017-10-09 22:46:13 +00:00
Makoto Onuki
d4b7862785
Don't take a lock on the UI thread.
...
Bug 66719356
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsShortcutManagerTestCases
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsShortcutHostTestCases
Change-Id: I1045eda4910e3c7d3172038a1efd31cdf9346729
2017-10-09 20:48:41 +00:00
TreeHugger Robot
c856aa18e3
Merge "Decreases likelihood of AoD flickering" into oc-mr1-dev
2017-10-09 18:01:54 +00:00
Chad Brubaker
27833ebeb3
Expose RECORD_AUDIO to Instant Apps
...
This runtime permission should have been exposed to Instant Apps but
incorrectly was not
Bug: 67578813
Test: cts-tradefed run cts -m CtsPermission2TestCases
Change-Id: Icad01cc8e99f52c6e638f54aaf78e9cc56475fc4
2017-10-09 10:50:46 -07:00
Rubin Xu
2257fda563
Always synchronize the OEM unlock allowed bit to the FRP partition
...
For devices using OEMLock HAL, OEM unlock allowed bit is maintained by the HAL.
However PersistentDataBlockService will only look at the OEM unlock allowed bit
on the pst partition to make sure FRP data is cleared on a unlockable device.
As a short term fix, make sure the OEM unlock allowed bit on both the HAL and pst
partition is always in sync.
Bug: 67043266
Test: On walleye/taimen, add an account, enable OEM unlock, factory reset
via fastboot, and observe FRP is not enforced.
Change-Id: Id4a0d81d7a424e17c2751e7e65582b51c14bd073
2017-10-09 16:21:41 +00:00
Bill Yi
6a8f482687
Merge "Import translations. DO NOT MERGE" into oc-dev am: 2758e3af09 -s ours
...
am: 748d6e3404 -s ours
Change-Id: I30d9c967e92847e096a29761cb275e3dcd631789
2017-10-08 22:57:14 +00:00
Bill Yi
748d6e3404
Merge "Import translations. DO NOT MERGE" into oc-dev
...
am: 2758e3af09 -s ours
Change-Id: I84cd6ad222b419aee8c31c26a07922dd5c7d6746
2017-10-08 22:45:57 +00:00
TreeHugger Robot
18fb169068
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
2017-10-08 22:34:13 +00:00
TreeHugger Robot
2758e3af09
Merge "Import translations. DO NOT MERGE" into oc-dev
2017-10-08 22:32:15 +00:00
TreeHugger Robot
cec54ab2ae
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
2017-10-08 22:30:10 +00:00
Bill Yi
2837dd0014
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bug: 64712476
Change-Id: Id495007a4f0069772a79e8abbd5e1a8bcfe6db92
2017-10-08 09:14:18 -07:00
Bill Yi
e0adfde0b9
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bug: 64712476
Change-Id: I317a9c13c04792c41f276258c095813298379366
2017-10-08 09:01:34 -07:00
Bill Yi
398be102c0
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
...
am: 1c5bd422fd -s ours
Change-Id: I44be0362b31a91c724b7d5c8da7778bbdfc30990
2017-10-08 14:57:18 +00:00
TreeHugger Robot
0ba66d8d9a
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
2017-10-08 14:52:12 +00:00
TreeHugger Robot
1c5bd422fd
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
2017-10-08 14:50:51 +00:00
Bill Yi
79e5f61474
Import translations. DO NOT MERGE am: 80d87da085 -s ours am: d250d3aa34 -s ours am: 09e6f1457b -s ours
...
am: 581e056425 -s ours
Change-Id: I2f31ca4fff4afedcabc66f2492c7252175c42733
2017-10-08 14:23:51 +00:00
Bill Yi
581e056425
Import translations. DO NOT MERGE am: 80d87da085 -s ours am: d250d3aa34 -s ours
...
am: 09e6f1457b -s ours
Change-Id: I7010ae3bb92d9ec2adaa9eba4509ad2b713ecee7
2017-10-08 14:16:28 +00:00
Bill Yi
09e6f1457b
Import translations. DO NOT MERGE am: 80d87da085 -s ours
...
am: d250d3aa34 -s ours
Change-Id: I8b02ede43b1430713761f1ff89c7c864ef6ae4a7
2017-10-08 14:08:20 +00:00
Bill Yi
d250d3aa34
Import translations. DO NOT MERGE
...
am: 80d87da085 -s ours
Change-Id: I7b560ea83669c408725cf2e7d6e1a7c3d7eb191f
2017-10-08 14:00:50 +00:00
Bill Yi
aa274cbcd8
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bug: 64712476
Change-Id: Ib770e076ec7294e42933896d1efb298912f1526c
2017-10-08 06:22:24 -07:00
Bill Yi
fd79a8e121
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bug: 64712476
Change-Id: I4940cd7a3d5708a6e8091aad241320bf1eb15c8c
2017-10-08 05:20:08 -07:00
Bill Yi
d63bfb064d
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bug: 64712476
Change-Id: I5d2a9d7f5d6f92f18b5433594c37cdecd9f8fe0c
2017-10-08 05:07:09 -07:00
Bill Yi
12d48a9b60
Import translations. DO NOT MERGE
...
am: 87c4d55ccb -s ours
Change-Id: I088ba3df3f4339070c1f26929815b3827403dd18
2017-10-08 07:08:47 +00:00
TreeHugger Robot
1f22b044bb
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
2017-10-08 06:59:49 +00:00
Bill Yi
80d87da085
Import translations. DO NOT MERGE
...
Change-Id: Ibfe6303b4d78d1ac0c8a0dbb235c6be683504018
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-10-07 21:49:36 -07:00
Bill Yi
87c4d55ccb
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bug: 64712476
Change-Id: I944d5c1ac050fe65d777b815adb59f5d6536811a
2017-10-07 17:23:29 -07:00
Bill Yi
668de3d7fa
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bug: 64712476
Change-Id: If025d5171c5b4109c98d13b8cf6df3073f2687e5
2017-10-07 17:14:24 -07:00
TreeHugger Robot
3f0dd94efc
Merge "Fixed an issue where added icons were white in multiwindow" into oc-mr1-dev
2017-10-07 17:34:40 +00:00
TreeHugger Robot
3f58b239a2
Merge "Add keyguard state as a gate for VR Mode." into oc-mr1-dev
2017-10-07 02:37:06 +00:00
Andrew Solovay
a6019b27e7
docs: Adding API level 27 (Oreo MR1) to the docs build options
...
We also need to modify the server settings to add the watermark to
docs with API level 27.
Test: make ds-docs
Bug: 67459392
Change-Id: I7c0f74924a5b39dede4c324069ff05e26eec5413
2017-10-07 02:12:34 +00:00
TreeHugger Robot
4dc2938418
Merge "Add permissions for LiveTv (AOSP)" into oc-mr1-dev
2017-10-07 01:02:50 +00:00
TreeHugger Robot
972446cf03
Merge "Update ANOMALY_DETECTION_CONSTANTS javadoc." into oc-mr1-dev
2017-10-07 00:25:13 +00:00
TreeHugger Robot
bf070a35cd
Merge "Add comment about flag VIRTUAL_DISPLAY_FLAG_DESTROY_CONTENT_ON_REMOVAL as recommended." into oc-mr1-dev
2017-10-06 23:29:32 +00:00
Santos Cordon
b5cbecb16a
Add keyguard state as a gate for VR Mode.
...
Problem: When the user toggles power button while in VR, they will be
taken to a black VR screen that occludes the keyguard.
VRManager previously used wakefulness and screen off as gates for VR Mode. However,
the keyguard state can be on or off when the device is awake so we need
to listen to the keyguard state as well.
Change:
1) Have ActivityManagerService tell VrManagerService about the keyguard
state the same as it does with wakefulness.
2) Stop applying any pending states when the device comes out of
sleep/screen-off/keyguard to force user into putting-headset-on (DON) UX
in those situations.
Bug: 66696304
Test: Manual - toggle device's power button and see logs of keyguard.
Test with all keyguard types.
Change-Id: I4ae03cb1c8c13acdc8cd11839f178bc8d8f6f515
2017-10-06 15:56:56 -07:00
Lucas Dupin
5322dae530
Decreases likelihood of AoD flickering
...
The transition from display power modes isn't tightly coupled
to the AoD lifecycle. We rely on a timeout to show and hide
the sysui scrim. In this case we increased it.
Change-Id: I13a0d33205c9f904afced63f231176151aee15c4
Fixes: 64077859
Test: receive notificaition in AoD, observe.
2017-10-06 15:24:52 -07:00
Bryce Lee
fed715e7b5
Merge "Restrict sending new intent to one invocation." into oc-mr1-dev
2017-10-06 21:58:50 +00:00
Andrew Sapperstein
858a4640f3
Update ANOMALY_DETECTION_CONSTANTS javadoc.
...
Adds more of the supported parameters including the new
wakeup blacklist parameter.
Bug: 67000019
Test: is comment change
Change-Id: Iee80b5cbf7972860e87efd5551bce962a3fa03c5
2017-10-06 14:26:08 -07:00
Shubang
d06de348b6
Add permissions for LiveTv (AOSP)
...
It crashes without the permissions
Bug: 67474061
Test: make; flashall; install and open LiveTv;
Change-Id: Ifec8bfb4ee93ac6b9189a9c337fdd2ef9ec34537
2017-10-06 14:06:26 -07:00
Selim Cinek
887da3cf3a
Fixed an issue where added icons were white in multiwindow
...
Because it wasn't laid out yet, icons would appear white.
Change-Id: I9338966299de253f36ae325553e82b76defe3b9d
Fixes: 66711268
Test: add icon with light statusbar in multiwindow, icon looks normal
2017-10-06 13:40:31 -07:00
rongliu
3e9f972fde
Add comment about flag VIRTUAL_DISPLAY_FLAG_DESTROY_CONTENT_ON_REMOVAL
...
as recommended.
Change-Id: I3778eed6f91e3ebf70683f40389c605648444b99
Bug: 67420451
Test: Only add comment.
2017-10-06 11:20:51 -07:00
Leon Scroggins III
a2fbb123da
Merge "Stop explicitly using kCallerPasses_Ownership" into nyc-dev am: cfe2352d88 am: 2399d935bc am: f32424b90d am: 54c2cbb0f9 am: 85a68d9e71 -s ours am: d9c818dce4 -s ours
...
am: 497520a1e8 -s ours
Change-Id: I636624656ef7f6b51b334f524554c0cd40833c04
2017-10-06 17:49:02 +00:00
Leon Scroggins III
497520a1e8
Merge "Stop explicitly using kCallerPasses_Ownership" into nyc-dev am: cfe2352d88 am: 2399d935bc am: f32424b90d am: 54c2cbb0f9 am: 85a68d9e71 -s ours
...
am: d9c818dce4 -s ours
Change-Id: Ib0e20e79c8d9708845aede08f86d17bb08855642
2017-10-06 17:28:40 +00:00
Leon Scroggins III
d9c818dce4
Merge "Stop explicitly using kCallerPasses_Ownership" into nyc-dev am: cfe2352d88 am: 2399d935bc am: f32424b90d am: 54c2cbb0f9
...
am: 85a68d9e71 -s ours
Change-Id: I09f8c134edef5c4cf67805faaf8cd56cae65ed69
2017-10-06 17:10:50 +00:00