Commit Graph

107192 Commits

Author SHA1 Message Date
Nikita Ioffe
bf11408260 Merge "Respect MANAGE_EXTERNAL_STORAGE in checks for READ/WRITE_EXTERNAL_STORAGE" into rvc-dev am: 27d6605c52 am: 06a12085ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11797136

Change-Id: I58536f75ebb7fa4ed177303837803a48df5d41b0
2020-06-16 10:38:27 +00:00
Nikita Ioffe
06a12085ab Merge "Respect MANAGE_EXTERNAL_STORAGE in checks for READ/WRITE_EXTERNAL_STORAGE" into rvc-dev am: 27d6605c52
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11797136

Change-Id: Idbbd56941c03060fb57f49f4860c27f3fadba557
2020-06-16 10:20:21 +00:00
Nikita Ioffe
27d6605c52 Merge "Respect MANAGE_EXTERNAL_STORAGE in checks for READ/WRITE_EXTERNAL_STORAGE" into rvc-dev 2020-06-16 10:02:49 +00:00
Shawn Lin
a221212709 Merge "Fixed the conflict of the release methods of ActivityView & TaskEmbedder" into rvc-dev am: 1c2e8eafff am: 3983dda63e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11862402

Change-Id: I8fd640956369d9b07f6bd30ced6fd8e7bbf94a71
2020-06-16 09:38:29 +00:00
Shawn Lin
3983dda63e Merge "Fixed the conflict of the release methods of ActivityView & TaskEmbedder" into rvc-dev am: 1c2e8eafff
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11862402

Change-Id: I6c40b6d4596ed5359262a63ec35dbacab8535e53
2020-06-16 09:38:17 +00:00
Tiger Huang
ad8e892660 Merge "Disable user animations on insets whose visible frame is empty" into rvc-dev am: ae9ce9716d am: 07d77fce08
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11754098

Change-Id: I73e27dead5774a4cf9ce4618ec8e5fdbea833416
2020-06-16 09:38:08 +00:00
Tiger Huang
07d77fce08 Merge "Disable user animations on insets whose visible frame is empty" into rvc-dev am: ae9ce9716d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11754098

Change-Id: I49cc685bcd53ccafd75b653a89e7a70a7e621de9
2020-06-16 09:37:39 +00:00
Shawn Lin
1c2e8eafff Merge "Fixed the conflict of the release methods of ActivityView & TaskEmbedder" into rvc-dev 2020-06-16 09:32:15 +00:00
Tiger Huang
ae9ce9716d Merge "Disable user animations on insets whose visible frame is empty" into rvc-dev 2020-06-16 09:26:33 +00:00
TreeHugger Robot
cd8eece1c1 Merge "Add tron metrics to track iorap." into rvc-dev am: f40975ee76 am: 1c53e8cfa4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11833622

Change-Id: I14c76c58d66ff900db24963fcbde70f708ead5eb
2020-06-16 02:45:52 +00:00
TreeHugger Robot
1c53e8cfa4 Merge "Add tron metrics to track iorap." into rvc-dev am: f40975ee76
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11833622

Change-Id: If197fadede3db5ebe2d08dafb7bae1d60d68b4fb
2020-06-16 02:33:40 +00:00
TreeHugger Robot
f40975ee76 Merge "Add tron metrics to track iorap." into rvc-dev 2020-06-16 02:20:26 +00:00
Hall Liu
689c7a6d99 Merge "Add more docs about location permission" into rvc-dev am: 3263b53e2f am: 62c85e3efc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11871446

Change-Id: I220d01745a99435dccbb5e9a24b9104e1b114299
2020-06-16 00:18:59 +00:00
Hall Liu
62c85e3efc Merge "Add more docs about location permission" into rvc-dev am: 3263b53e2f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11871446

Change-Id: I4a267a8c06a85015a3ccb31505f94f929e96e58a
2020-06-16 00:04:39 +00:00
Hall Liu
3263b53e2f Merge "Add more docs about location permission" into rvc-dev 2020-06-15 23:48:19 +00:00
Hall Liu
99115ac610 Add more docs about location permission
Add documentation that indicates the requirement for location
permissions to more methods and constants in PhoneStateListener.

Bug: 158523376
Test: docs only
Change-Id: I9d785fd0fc9671652c4edb3bf7cc6184273120b8
2020-06-15 14:54:34 -07:00
TreeHugger Robot
d772d1fc40 Merge "Properly handle situation when currentOpPackageName returns null." into rvc-dev am: 9ac716fc8b am: b9af8e1af3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11867441

Change-Id: Idd431d294b85784a34852f463394c9cb8e2a17a4
2020-06-15 20:46:11 +00:00
TreeHugger Robot
b9af8e1af3 Merge "Properly handle situation when currentOpPackageName returns null." into rvc-dev am: 9ac716fc8b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11867441

Change-Id: I74f5c136847baa51dc86c28f72eb9f213b8a273f
2020-06-15 20:17:27 +00:00
TreeHugger Robot
9ac716fc8b Merge "Properly handle situation when currentOpPackageName returns null." into rvc-dev 2020-06-15 20:06:31 +00:00
Benedict Wong
0cf7776f79 Merge "Set correct owner UID for VPN agentConnect()" am: 7efd5a48e0 am: 8cabf350b5 am: fe747eaff7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1326493

Change-Id: Id56df437468962eea48b453c99564f68e3b38756
2020-06-15 17:38:17 +00:00
Benedict Wong
fe747eaff7 Merge "Set correct owner UID for VPN agentConnect()" am: 7efd5a48e0 am: 8cabf350b5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1326493

Change-Id: I5ff673d97fe4558da77575b2cc8c43b87e3673f6
2020-06-15 17:33:33 +00:00
Benedict Wong
7efd5a48e0 Merge "Set correct owner UID for VPN agentConnect()" 2020-06-15 17:09:46 +00:00
yawanng
35a0090975 Add tron metrics to track iorap.
Bug: 158007508
Test: Make and manually check the log using
"adb logcat -b events | grep sysui_multi_action".
Change-Id: I8365bbaa0abf65bdffd8da9462a2295a5e37b3c2
2020-06-15 17:01:04 +00:00
TreeHugger Robot
9b55f5ffd1 Merge "Don't provide read logs for shell-initiated installations." into rvc-dev am: e0ba6d9dff am: 95a411a87d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11778056

Change-Id: Ib82b69429655ab0245b08aeab615766e41296e7c
2020-06-15 16:59:31 +00:00
TreeHugger Robot
84f65247cb Merge "Don't provide read logs for shell-initiated installations." into rvc-dev am: e0ba6d9dff
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11778056

Change-Id: I866bc89927ae11a0da7069d33e3e06d5c1f1b51f
2020-06-15 16:42:24 +00:00
TreeHugger Robot
95a411a87d Merge "Don't provide read logs for shell-initiated installations." into rvc-dev am: e0ba6d9dff
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11778056

Change-Id: I3449f64a8405e8e64d4e270277c226c6da64e5df
2020-06-15 16:42:17 +00:00
TreeHugger Robot
e0ba6d9dff Merge "Don't provide read logs for shell-initiated installations." into rvc-dev 2020-06-15 16:38:32 +00:00
Stanislav Zholnin
9edce64ef2 Properly handle situation when currentOpPackageName returns null.
Fixes: 158309330
Test: adb shell content query --uri content://com.android.contacts/data --projection  contact_id:raw_contact_id:_id:display_name:last_time_used:data1:account_type:mimetype
Change-Id: I6c5d0c4fef150ba45721d474ac0f83778d543467
2020-06-15 17:28:33 +01:00
Nikita Ioffe
fc3a740282 Respect MANAGE_EXTERNAL_STORAGE in checks for READ/WRITE_EXTERNAL_STORAGE
Test: test app mentioned in the bug
Bug: 158316513
Change-Id: I254479d6616d2e09349fcd9c569c5092dbdefaca
2020-06-15 13:01:06 +01:00
Tiger Huang
2121d62ccd Merge "Let position of system bars can be restored by swipe" into rvc-dev am: ac4e36b948 am: 5078e7a8c1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11612964

Change-Id: I73e23ea1a5052d4f0afb02f58fae4bf3a91825e5
2020-06-15 09:34:02 +00:00
Tiger Huang
5078e7a8c1 Merge "Let position of system bars can be restored by swipe" into rvc-dev am: ac4e36b948
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11612964

Change-Id: Ied8d90df0584ffd071b4e9ac3b3ec42f0adb4203
2020-06-15 09:17:46 +00:00
Tiger Huang
c298524cb0 Merge "Let position of system bars can be restored by swipe" into rvc-dev am: ac4e36b948
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11612964

Change-Id: Ie1912992be2ab8a3046b713b825753e1d63ca63b
2020-06-15 09:17:33 +00:00
Tiger Huang
ac4e36b948 Merge "Let position of system bars can be restored by swipe" into rvc-dev 2020-06-15 08:54:46 +00:00
shawnlin
2806269a5a Fixed the conflict of the release methods of ActivityView & TaskEmbedder
There is a case in Bubble that we might release a un-initialized
TaskEmbedder while calling ActivityView.release() (ex. create a bubble
and don't expand it and then dismiss it) which will cause an exception.

Allow ActivityView.release() to be called at anytime and check the
initialization state before calling TaskEmbedder.release().

Bug: 155417004
Test: 1. Add bubbles and don't expands them then dimiss them
      2. Check logs.
Change-Id: I583ddd36f407c908cb63c109834940fc91c8d130
2020-06-15 15:47:14 +08:00
Tiger Huang
0b9450bab9 Disable user animations on insets whose visible frame is empty
Floating IME or fullscreen IME won't cause insets (except the area
overlapped with navigation bar). It doesn't make much sense to let
apps move the IME at these cases.

Fix: 157777145
Test: atest InsetsSourceConsumerTest
Change-Id: Ibdf5454843c880d7e726a66a8f1107ca511e5025
2020-06-14 19:14:26 +08:00
Alex Buynytskyy
0403545508 Don't provide read logs for shell-initiated installations.
Only if the application is profileable.

Bug: 158238023
Fixes: 158238023
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageParserTest
Change-Id: I8575830ec3f29850297fdbfbaa157072d6350a28
Merged-In: I8575830ec3f29850297fdbfbaa157072d6350a28
2020-06-12 13:30:45 -07:00
TreeHugger Robot
05b0ccb2ec Merge "Controls UI - Tap for NO_TEMPLATE" into rvc-dev am: d6fb5e2151 am: df58dcf081
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11850954

Change-Id: I2189ec938349b613c9089f414c34ef237e521a9b
2020-06-12 17:33:49 +00:00
TreeHugger Robot
47e564965b Merge "Settings: make SHOW_IME_WITH_HARD_KEYBOARD TestApi" into rvc-dev am: 7883b53e28 am: 42c810bd0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838104

Change-Id: Id5c822de5a74a31d153a48c1cbeb390f2676a182
2020-06-12 17:32:58 +00:00
TreeHugger Robot
d7c6a998a1 Merge "Controls UI - Tap for NO_TEMPLATE" into rvc-dev am: d6fb5e2151
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11850954

Change-Id: Ic31dc28b6a6139ea0b2d9af5576b2fad9e091386
2020-06-12 17:22:55 +00:00
TreeHugger Robot
df58dcf081 Merge "Controls UI - Tap for NO_TEMPLATE" into rvc-dev am: d6fb5e2151
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11850954

Change-Id: I13e5ed74ac82b79a7b72511b55c02cb6ad4c6573
2020-06-12 17:22:24 +00:00
TreeHugger Robot
d6fb5e2151 Merge "Controls UI - Tap for NO_TEMPLATE" into rvc-dev 2020-06-12 17:21:21 +00:00
TreeHugger Robot
147c54f9a0 Merge "Settings: make SHOW_IME_WITH_HARD_KEYBOARD TestApi" into rvc-dev am: 7883b53e28
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838104

Change-Id: If75d4ad04b34ec43542ade9b9589f359007bd10b
2020-06-12 17:16:51 +00:00
TreeHugger Robot
42c810bd0b Merge "Settings: make SHOW_IME_WITH_HARD_KEYBOARD TestApi" into rvc-dev am: 7883b53e28
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838104

Change-Id: Ic3e7da3351fe93f8df81dd22db7202ec1e08458d
2020-06-12 17:16:38 +00:00
TreeHugger Robot
7883b53e28 Merge "Settings: make SHOW_IME_WITH_HARD_KEYBOARD TestApi" into rvc-dev 2020-06-12 16:44:44 +00:00
Jordan Jozwiak
412d74f4ea DO NOT MERGE - Allow locking with feature or permission am: 9ead5a3c05 am: 1c71776f9b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11739858

Change-Id: I2115977b5db532c6cce8b09c7eabcf566a72eba4
2020-06-12 16:39:42 +00:00
Jordan Jozwiak
1c71776f9b DO NOT MERGE - Allow locking with feature or permission am: 9ead5a3c05
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11739858

Change-Id: If2799ec77afaf273db94e88bf101da0de28ec9a0
2020-06-12 16:32:46 +00:00
Jordan Jozwiak
a50847e505 DO NOT MERGE - Allow locking with feature or permission am: 9ead5a3c05
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11739858

Change-Id: Ib5e4bb9400789f5666cd5b8d466afdd89f76e724
2020-06-12 16:32:43 +00:00
Jordan Jozwiak
7048655cbe Merge "DO NOT MERGE - Allow locking with feature or permission" into rvc-dev 2020-06-12 16:21:05 +00:00
Matt Pietal
733d637879 Controls UI - Tap for NO_TEMPLATE
Allow single taps as well as long press to launch the detail panel
when no template is specified.

Fixes: 158773087
Test: ControlsMockApp, any default type
Change-Id: I4d5451f6a5968d8dd223eb5b10d931ad60aad951
2020-06-12 11:59:57 -04:00
Adrian Roos
cb32080a8f Settings: make SHOW_IME_WITH_HARD_KEYBOARD TestApi
Bug: 158637229
Test: atest WindowInsetsAnimationControllerTests
Change-Id: Ic4e1c97e728aa170670356db22d66677710ac2a3
2020-06-12 15:31:20 +02:00