Commit Graph

479293 Commits

Author SHA1 Message Date
Fabian Kozynski
d68d75be59 Add logs for BroadcastDispatcher
Use SystemUIs internal buffer log.

Test: manual
Test: UserBroadcastDispatcherTest
Bug: 157165818
Change-Id: Iafd467f7e212b4975f0d8e563388187183dcd747
2020-06-10 13:23:29 -04:00
Hayden Gomes
50980050a6 Merge "Adding lock to sendEventFromNative" into rvc-dev 2020-06-08 16:02:49 +00:00
Martijn Coenen
84825abdcc Merge "Taking userId into account for fixupAppDir()." into rvc-dev 2020-06-08 16:00:33 +00:00
TreeHugger Robot
88e86e641a Merge "Insets: Fix stuck mPendingFrame" into rvc-dev 2020-06-08 15:41:26 +00:00
TreeHugger Robot
5ebbb01465 Merge "Stop overwriting files" into rvc-dev 2020-06-08 15:28:14 +00:00
Corina Grigoras
cdde51eae7 Merge "Keep lock while binding the storage service" into rvc-dev 2020-06-08 14:16:40 +00:00
Julia Reynolds
af67563cb0 Stop overwriting files
An earlier refactoring to write a test led to the same
file being used for incoming notifications, which meant
the older notifications were lost.

Also fixes some mostly innocuous errors seen in the log when
looking for the root cause of this problem
-USER_ALL notifications weren't being written
-AtomicFile should be closed
-Files cleaned up because device has remained on beyond
timeout should be removed from tracking list
-Don't try to recreate a folder that exists

Test: atest, and monitor created files and notis in history
over an hour or two
Fixes: 158300639

Change-Id: I3eb0e26863d1ab816a67cf509147674b90e2b6f4
2020-06-08 13:43:03 +00:00
Martijn Coenen
7b977f3139 Taking userId into account for fixupAppDir().
We previously used the getPackage(packageName) API, which doesn't take
the userId into account; this could result in passing in the wrong uid
into fixupAppDir(), because fixupAppDir() validates the passed in uid
matches with the path.

Instead, use PackageManager.getPackageUidAsUser() to match the userId
that was passed in through the path.

Note that we don't care about paths which don't have a userId embedded,
since those are public volumes, for which we don't need this API anyway
(since public volumes don't have UID/GID etc.)

Bug: 157271022
Test: pm create-user aap ; log in to user, try selecting ringtones
Change-Id: Id8731cb18c16c4742d232048f9093fbd57323159
2020-06-08 13:35:32 +00:00
TreeHugger Robot
f909d9f0ef Merge "Identity: Update requirements about SessionTranscript CBOR and provisioning challenge." into rvc-dev 2020-06-08 13:26:38 +00:00
Corina
63f037cd2f Keep lock while binding the storage service
Test: atest ManagedProfileLifecycleStressTest; atest --iterations 100 AdoptableHostTest
BUG: 156533724
Change-Id: I007a406daaeaf2637ce472ee3d7e97ebeebed35f

Change-Id: Ie8c15c7e1c4bc6065e1ccdfad3d56e1a6d631360
2020-06-08 12:47:21 +01:00
Jin Seok Park
2ad21ed9dd Merge "[DO NOT MERGE] Add setting custom MediaButtonReceiver" into rvc-dev 2020-06-08 11:37:58 +00:00
TreeHugger Robot
e3767bdaae Merge "Ignore transfer to an unknown route" into rvc-dev 2020-06-08 11:34:35 +00:00
TreeHugger Robot
6b1cfced63 Merge "Notify a failure on transfer timeout" into rvc-dev 2020-06-08 11:34:13 +00:00
TreeHugger Robot
8434b9fc88 Merge "Apply app data isolation on isolated or app zygote processes" into rvc-dev 2020-06-08 11:03:56 +00:00
TreeHugger Robot
96931ab22b Merge "[CEC] Standby when <Active Source> lost" into rvc-dev 2020-06-08 10:52:23 +00:00
Michal Olech
ea48ccb1ef [CEC] Standby when <Active Source> lost
Add an option to go to standby when <Active Source> received from other device

For better configurability, a "ro.hdmi.cec.source.power_state_change_on_active_source_lost" system property is introduced which controls the new behaviour.

Bug: 156367087
Test: manually tested on a device
Change-Id: I7a068064bb5e867fd364d2b84c7066db06baec3e
Merged-In: I7a068064bb5e867fd364d2b84c7066db06baec3e
2020-06-08 09:33:27 +00:00
TreeHugger Robot
1f883f9099 Merge "Update javadoc to use complete sentence" into rvc-dev 2020-06-08 08:56:46 +00:00
Hyundo Moon
ebb7ae6679 Merge "MediaRouter2: Sync routes when first RouteCallback is registered" into rvc-dev 2020-06-08 06:07:31 +00:00
Charles Chen
4d18ea162b Merge "Ensure that stack view exists when applyUpdate" into rvc-dev 2020-06-08 06:07:20 +00:00
Jin Seok Park
7d8d596370 [DO NOT MERGE] Add setting custom MediaButtonReceiver
Bug: 156564443
Test: manually
Change-Id: Ibb655256f72d80e5e7ff169cac6dd4cce95ed3d5
2020-06-08 13:13:45 +09:00
Shawn Lin
c54d84a858 Merge "Add a @hide ctr to disable background layer in ActivityView & SurfaceView" into rvc-dev 2020-06-08 03:34:20 +00:00
Philip P. Moltmann
8083336a88 Merge "Make it clear that checking shouldShowPermissionRationale is recommended" into rvc-dev 2020-06-06 18:10:11 +00:00
Steve Elliott
05e10b59af Merge "Fix missing icon for one-to-one convos" into rvc-dev 2020-06-06 15:12:04 +00:00
Svetoslav Ganov
0ce4fba38f Merge "Correctly offset app op history on reboot" into rvc-dev 2020-06-06 14:50:03 +00:00
Stanislav Zholnin
c784a29dfd Merge "Keep unforwarded operation for noted ops." into rvc-dev 2020-06-06 14:12:38 +00:00
Bill Yi
570c6a4e40 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-06 13:41:01 +00:00
TreeHugger Robot
3d0177a9b6 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-06 13:36:17 +00:00
TreeHugger Robot
c4c8e17c99 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-06 13:35:28 +00:00
Stanislav Zholnin
e44f134adb Keep unforwarded operation for noted ops.
Align treatment of noted ops with AsyncNotedOps.

Fixes: 154775996
Test: atest AppOpsLoggingTest#disableCollectedAndNoteSyncOpAndCheckLog
Change-Id: I3dcd8275b6229946875bc184d25b18d2da76d5ba
Merged-In: I3dcd8275b6229946875bc184d25b18d2da76d5ba
2020-06-06 06:45:16 +00:00
TreeHugger Robot
a15a870d4e Merge "add uievent logs for nav buttons" into rvc-dev 2020-06-06 05:01:39 +00:00
Hai Shalom
0fcf6ff4a3 Merge "[Passpoint] Clean up exception messages in PpsMoParser" into rvc-dev 2020-06-06 01:33:58 +00:00
Christine Tsai
0e6be91fd2 Merge "Set current state key earlier and do not reset hasCurrentState" into rvc-dev 2020-06-06 00:32:44 +00:00
TreeHugger Robot
96a8a29877 Merge "PiP: Do nothing when tapping on resize drag handle." into rvc-dev 2020-06-05 23:33:24 +00:00
Jing Ji
d29532e699 Merge "Use the UID as the package name in procstat assoc proto dump" into rvc-dev 2020-06-05 23:16:36 +00:00
Chris Wren
fad16787dd add uievent logs for nav buttons
Bug: 147508017
Test: atest KeyButtonViewTest
Change-Id: Ia237154b5a9ab10335f266c8974eabdf06d7997a
2020-06-05 19:15:03 -04:00
TreeHugger Robot
750b4c93ec Merge "fix FileNotFound exception when attempting to read bubble xml" into rvc-dev 2020-06-05 23:13:57 +00:00
Suprabh Shukla
dd786c7a68 Merge "Supporting dark mode in SuspendedAppActivity" into rvc-dev 2020-06-05 23:12:30 +00:00
TreeHugger Robot
80e43d2ed7 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-05 23:08:13 +00:00
TreeHugger Robot
51ae4ade4d Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-05 23:07:50 +00:00
Bill Yi
abd869b290 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I9aa4ff72e97dd76119ce1f9f054e7743da09ac82
2020-06-05 22:58:25 +00:00
Govinda Wasserman
a4939de50c Merge "Adds Assistant invocation logging to statsd" into rvc-dev 2020-06-05 22:50:15 +00:00
Bill Yi
fb1b9da160 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Id13397d3834a3e38f25f38476ec7ebdfb926ce95
2020-06-05 22:34:16 +00:00
tsaichristine
0893db53f5 Set current state key earlier and do not reset hasCurrentState
- The current state key was updated to the new state key after the diff
calculations and base setting. There are a few cases where we exit the
current loop which results in the current state key not getting updated.
- When we reset the base, we should not reset the current state. All
instances where hasCurrentState was set to false have been removed.
- I added a unit test for a value metric that is sliced by state and has
a condition.

Bug: 157661456
Test: m statsd_test && adb sync data && adb shell
data/nativetest/statsd_test/statsd_test32

Change-Id: Ib75bd9d08e6785f9e03b4b5984dbdaf86a7e1749
2020-06-05 15:26:20 -07:00
TreeHugger Robot
78d74114aa Merge "Update textclassifier TEST_MAPPING file." into rvc-dev 2020-06-05 21:56:34 +00:00
Ben Lin
f8c274c9d8 PiP: Do nothing when tapping on resize drag handle.
When tapping on a resize handle (but not actually have any movement), we
should not do any resize operation.

This also fixes an issue that used to check againt the relative x,y
coordinate fot hit test. It should be using the raw-x,y pointers
instead.

Bug: 158300205
Test: Tap on the corner, nothing happens
Change-Id: Ib01428664125734cd6e253c29902b0f5b080a72f
2020-06-05 14:55:06 -07:00
Hai Shalom
8cbfba234f [Passpoint] Clean up exception messages in PpsMoParser
Clean up exception messages in PpsMoParser.

Bug: 158325667
Test: Compiles. No changes to logic.
Change-Id: Icf93aa3a30b8c985047a542301de34294da37405
2020-06-05 14:20:31 -07:00
Pinyao Ting
23c9b688e2 fix FileNotFound exception when attempting to read bubble xml
BubbleDataRepository tried to read the xml file before a write,
and the xml file is only created on write if it didn't exist,
which caused the FileNotFound exception.

Bug: 158231089
Test: BubblePersistentRepositoryTest
Change-Id: I7cd75b1d74be277df49f433338ad814ce50c87c1
2020-06-05 21:19:09 +00:00
Santhosh Thangaraj
89a5f7183e Merge "Fix status bar animates when open bubble updates" into rvc-dev 2020-06-05 21:17:47 +00:00
TreeHugger Robot
6bb0f4c6a1 Merge "Ensure ProxCheck doesn't unregister ProxSensor" into rvc-dev 2020-06-05 21:14:56 +00:00
Bill Yi
018b3bf9ce Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ia8907c707bac1337a65895bb4d85e110bab3e703
2020-06-05 20:59:53 +00:00