Commit Graph

108575 Commits

Author SHA1 Message Date
Philip P. Moltmann
a832dc4bb9 Unlink perission from app-op for package usage stats
... as code expects incomplete behavior

Fixes: 141032267
Test: atest RuntimePermissionProperties
Change-Id: I49f0e0b4f3dd1bcb316a0180bb1cdad06dc8aa8c
2019-11-21 15:02:54 -08:00
Yinglei Wang
0b60fc71e3 Merge "change CompoundButton button to use the accessibility state API" 2019-11-20 18:37:31 +00:00
Bernardo Rufino
5cf5c3fe63 Merge "[Roll Forward] Block background custom toasts" 2019-11-20 17:50:40 +00:00
Adrian Roos
3de7422716 Merge "DeviceConfig: Split android:window_manager into android and window_manager" 2019-11-20 17:23:31 +00:00
Wale Ogunwale
f189acd023 Add 3, 4, & 5 Predicate arg types to PooledLamdba
Bug: N/A
Test: They pass!
Change-Id: Ib3cd168c00899097ce4340ba10b34041f91bc32d
2019-11-20 16:44:06 +00:00
TreeHugger Robot
aa26bed5c8 Merge "Remove legacy idmap binary" 2019-11-20 16:41:38 +00:00
Jay Aliomer
9d2c933544 Merge "Dark theme twilight mode backend and tile" 2019-11-20 16:41:22 +00:00
Adrian Roos
1c2e9a19f8 DeviceConfig: Split android:window_manager into android and window_manager
The keys are split according to whether they affect the system as a whole,
or simply the inner workings of the window manager.

Also encapsulates WindowManagerConstants properly and adds testing.

Bug: 139735771
Test: atest WindowManagerConstantsTest
Change-Id: I67c96a2bdd3140fe2ff9c6832d2d69f2e57115e2
2019-11-20 13:29:26 +01:00
Rhed Jao
56af673035 Merge "Accessibility shortcut improvement (6/n)" 2019-11-20 10:51:14 +00:00
Bernardo Rufino
60c39b3bc8 [Roll Forward] Block background custom toasts
Previous CL (ag/9699132) broke CTS ToastTest and was reverted (ag/9754500).
This was because the test was posting a background toast and verifying it
wasn't clickable. Test has been updated to use a foreground toast in ag/9754274
and I will also look into having it be executed in presubmit.(b/144810971).

-- Previous CL description (updated "Test:" lines)

To assess app compatibility problems early on, this CL blocks background
custom toasts in a non-secure way. We create a new method in the AIDL called
enqueueTextToast() that now contain the same parameters as
enqueueToast(), receiving the view created inside the app's process. But this
method will, in the future, contain a CharSequence instead of
ITransientNotification, for window creation inside the system.

We use PlatformCompat infrastructure to check if the change is enabled.

I learned with this change that if user blocks notifications for an app, it
won't be able to show background toasts, allowing me to re-use the foreground
check that was already in place.

This change will display a text toast (from the system) in case the app's
custom toast gets blocked, this is temporary to get feedback from
dogfood.

Test: With sample app, verify that:
      1. Posting text toast in bg works
      2. Posting custom toast in fg works
      3. Posting custom toast in bg does NOT work
Test: atest CtsToastTestCases CtsWindowManagerDeviceTestCases:ToastTest
      CtsWidgetTestCases:ToastTest CtsToastLegacyTestCases
Test: Working on CTS
Bug: 128611929

Change-Id: I25c6339c6adeb907878596332f57e2fa229bfda9
2019-11-20 09:16:31 +00:00
Rhed Jao
acde6c9ab1 Accessibility shortcut improvement (6/n)
Flag request accessibility button can't be updated at runtime
dynamically.

Bug: 136293963
Test: atest AccessibilityButtonTest
Change-Id: I2227eaefe3686c99d1c804ef2a949c975de4e685
2019-11-20 16:30:49 +08:00
TreeHugger Robot
9779372e7d Merge "Enable settings_work_profile feature" 2019-11-20 06:48:24 +00:00
Meng Wang
6ed110171e Merge "Do not use hidden telephony API PhoneConstants.PRESENTATION_*" am: 9636d7e3af am: 9e294c69d3
am: 40a2f98c71

Change-Id: Ie2426fd71273e2b48924e8c096b07409cfaed20e
2019-11-19 22:20:19 -08:00
Meng Wang
40a2f98c71 Merge "Do not use hidden telephony API PhoneConstants.PRESENTATION_*" am: 9636d7e3af
am: 9e294c69d3

Change-Id: Iddbe0533660d30d86ee932b481020b85eb91e176
2019-11-19 22:13:30 -08:00
Meng Wang
9e294c69d3 Merge "Do not use hidden telephony API PhoneConstants.PRESENTATION_*"
am: 9636d7e3af

Change-Id: Id83ddc2f1b6d686e6249132f0e32b5a109e180cb
2019-11-19 22:07:44 -08:00
Treehugger Robot
9636d7e3af Merge "Do not use hidden telephony API PhoneConstants.PRESENTATION_*" 2019-11-20 04:26:47 +00:00
Zoey Chen
7d4cb3c5d3 Merge "[Telephony mainline] Add SystemApi and NonNull annotation" 2019-11-20 04:23:26 +00:00
Raff Tsai
5ee178af9f Enable settings_work_profile feature
Bug: 141601408
Test: rebuild
Change-Id: Ie99b25fdbd365b3823577374cedae20e48b8af2e
2019-11-20 12:13:23 +08:00
Ryan Mitchell
a12b9e0c3f Merge "Allow the system AssetManager to be reinitialized for testing" 2019-11-20 04:01:11 +00:00
Charles Munger
1b6300cdf2 Merge "Deprecate implicit Handler constructors" am: 560c3ebe1e am: 080ddd5dfd
am: 952dd95b46

Change-Id: Ia2de7c065ec5b8941087cd5c02eb9589f72c27b8
2019-11-19 19:56:42 -08:00
Rahul Sabnis
9e9412faf0 Merge "Revert "Re-add getAliasName to fix build breakage"" am: 944fed6b66 am: 87dd39f1bc
am: 07c1280421

Change-Id: I5eba169aebff220a2d3dc6cff08fbd3bc6ef78e7
2019-11-19 19:49:55 -08:00
Ugo Yu
0a0d1134f5 Merge "Add method to convert profile ID into human readable string" am: d007cfcdf4 am: f228b9b330
am: 716089f1d3

Change-Id: I3322d5f7d85cafece6a097423d7b5d1b0a5e3d70
2019-11-19 19:45:34 -08:00
Charles Munger
5c76aaae1b Merge "Deprecate account-specific activity subclass" am: b7c5d354fb am: 310697d68d
am: 3dd92afd74

Change-Id: Ia3cf674a7bca083fbdcc76e3d274cb5c2275cc8a
2019-11-19 19:45:09 -08:00
Andrei-Valentin Onea
16257fc141 Merge "Revert "Revert submission from topic "separate-testing"."" am: addcc36534 am: 97a11fb8ab
am: aeed8fb461

Change-Id: I14adcd7f9682483550a198af99bfb9f87b5505f5
2019-11-19 19:44:07 -08:00
Hall Liu
dd4c7ab10c Fix build breakage caused by bad merge conflict
Fixes: 144808911
Test: compiles
Change-Id: I8ede11a58b9c5baa4720732657ec3a13fb263c64
2019-11-19 19:08:20 -08:00
Meng Wang
40c72efd32 Merge "Move RLog out of telephony module" am: 7622ccb5f0
am: d641117588

Change-Id: I2f146c6f24143e0ff11793bb73efaa599557fbd4
2019-11-19 18:20:52 -08:00
Meng Wang
d641117588 Merge "Move RLog out of telephony module"
am: 7622ccb5f0

Change-Id: I39257ab4ba819dcba7f56b207a4483937f5d54f5
2019-11-19 18:13:24 -08:00
Rahul Sabnis
d3d41774f9 Merge "Create systemapis to connect/disconnect all bt profiles" am: 7700b81cb3 am: 3e4a53735e
am: 0f6700acb5

Change-Id: I9b4a4b7ca4967bab1a6b3170941e2bb2fa79564d
2019-11-19 18:09:39 -08:00
Hall Liu
68eb3611d4 Merge "Merge commit 'ae63546d19f91931a9a05015b149ddc19091c895' into manual_merge_ae63546d19f91931a9a05015b149ddc19091c895" 2019-11-20 02:06:36 +00:00
Treehugger Robot
7622ccb5f0 Merge "Move RLog out of telephony module" 2019-11-20 01:59:18 +00:00
Hall Liu
f47ee8f193 Merge commit 'ae63546d19f91931a9a05015b149ddc19091c895' into manual_merge_ae63546d19f91931a9a05015b149ddc19091c895
Change-Id: Ic7b8ec208eaed5fc3a9f5ee90dac5ffeb9a18543
2019-11-19 17:25:46 -08:00
Yinglei Wang
fab7312a43 Merge "Adopt the accessibility state api in progress bar" 2019-11-20 01:09:53 +00:00
TreeHugger Robot
339650b132 Merge "Statsd implementation of puller API" 2019-11-20 00:26:50 +00:00
TreeHugger Robot
5c407dc002 Merge "Remove @SystemApi annotation for an overriding method" 2019-11-20 00:22:32 +00:00
Patrick Baumann
ff21f7b085 Merge "DO NOT MERGE Avoids deadlock when applying preferred activities" am: 35dd014a79
am: 92269e5ef8

Change-Id: I6d95f0bbdaa146c4d96f8b8c5f715ef2053074be
2019-11-19 16:20:20 -08:00
Charles Munger
952dd95b46 Merge "Deprecate implicit Handler constructors" am: 560c3ebe1e
am: 080ddd5dfd

Change-Id: I26b31ede3abd2e2f2eb9747139861179d7e8e669
2019-11-19 16:19:58 -08:00
Alison Cichowlas
3e0f092077 Merge "Restore app pinning." into qt-qpr1-dev
am: 599634a26b

Change-Id: I808d010ea658badb7aaecc4a62074a18ae97f7d0
2019-11-19 16:18:45 -08:00
Meng Wang
e88b4d2918 Move RLog out of telephony module
Bug: 144374158
Test: make
Change-Id: I7702677c8bb2529655ef03fc0a27c33743ae01b5
Merged-In: If983bc315218486be73567cd1919d1f60250f670
2019-11-19 16:16:08 -08:00
TreeHugger Robot
599634a26b Merge "Restore app pinning." into qt-qpr1-dev 2019-11-20 00:06:52 +00:00
Patrick Baumann
92269e5ef8 Merge "DO NOT MERGE Avoids deadlock when applying preferred activities"
am: 35dd014a79

Change-Id: I9b4646c9c0674380e37eea44a226b1b279b53f6b
2019-11-19 16:05:31 -08:00
Charles Munger
080ddd5dfd Merge "Deprecate implicit Handler constructors"
am: 560c3ebe1e

Change-Id: I254f85c07743883c7d350a47750dad0745c47d52
2019-11-19 16:04:15 -08:00
Rahul Sabnis
07c1280421 Merge "Revert "Re-add getAliasName to fix build breakage"" am: 944fed6b66
am: 87dd39f1bc

Change-Id: I289fe08f8d7cc744d864cb77ce7ad3a2ae96263a
2019-11-19 15:49:54 -08:00
Ugo Yu
716089f1d3 Merge "Add method to convert profile ID into human readable string" am: d007cfcdf4
am: f228b9b330

Change-Id: I8ac80002f8176926f4ccea3f2b85a85c1c24b76a
2019-11-19 15:46:21 -08:00
Charles Munger
3dd92afd74 Merge "Deprecate account-specific activity subclass" am: b7c5d354fb
am: 310697d68d

Change-Id: I1e6622b5d481938c1f5df8f4964284ef56c34cc3
2019-11-19 15:42:53 -08:00
Andrei-Valentin Onea
aeed8fb461 Merge "Revert "Revert submission from topic "separate-testing"."" am: addcc36534
am: 97a11fb8ab

Change-Id: I368ccb483ba72c8fea622a3179c7e22aa7d7ab7e
2019-11-19 15:41:46 -08:00
Treehugger Robot
35dd014a79 Merge "DO NOT MERGE Avoids deadlock when applying preferred activities" 2019-11-19 23:38:21 +00:00
Rahul Sabnis
87dd39f1bc Merge "Revert "Re-add getAliasName to fix build breakage""
am: 944fed6b66

Change-Id: Id9a95b707b14ea11b24504b423bc936bb0f18ced
2019-11-19 15:34:01 -08:00
Ugo Yu
f228b9b330 Merge "Add method to convert profile ID into human readable string"
am: d007cfcdf4

Change-Id: Icb20ee1113dc2ff4ebd2b49eb3f82d2203124690
2019-11-19 15:29:34 -08:00
Charles Munger
310697d68d Merge "Deprecate account-specific activity subclass"
am: b7c5d354fb

Change-Id: Ie21ab07bfe7f857c642e62b11e33085db199a021
2019-11-19 15:29:12 -08:00
Andrei-Valentin Onea
97a11fb8ab Merge "Revert "Revert submission from topic "separate-testing".""
am: addcc36534

Change-Id: I4de366196f91ef1fe17c617a117b29503f8f68e1
2019-11-19 15:28:29 -08:00