Commit Graph

365479 Commits

Author SHA1 Message Date
Tim Murray
e010b418ec ActivityManagerService: make bluetooth actually persistent
com.android.bluetooth was being marked as a persistent service in terms
of OOM adjustment, but it was only being marked as important foreground for
scheduling reasons. Make sure that persistent services are correctly
marked as persistent for the purposes of scheduling too.

bug 78197570
Test: dumpsys activity

Change-Id: Ieb2fe4253cac1202bd94a42356bb32f9e77b5637
2018-04-18 09:47:51 -07:00
TreeHugger Robot
4ea0a5a2df Merge "Remove Persistent proccess without WTFing" into pi-dev 2018-04-18 00:16:24 +00:00
TreeHugger Robot
6b7b171dba Merge "Group suppression shouldn't affect rating limiting" into pi-dev 2018-04-18 00:14:21 +00:00
TreeHugger Robot
d2b1d6d7b3 Merge "Add A2DP Codec config hidden APIs to the greylist" into pi-dev 2018-04-17 23:16:22 +00:00
TreeHugger Robot
1074688a26 Merge "Fix issue #78138020: Improve app ops dumpsys" into pi-dev 2018-04-17 22:34:10 +00:00
Qingxi Li
ff03f0cfe4 Merge "Add Global Settings to device whether show Carrier menu" into pi-dev 2018-04-17 22:20:59 +00:00
Sudheer Shanka
850c6662b0 Merge "Update Instrumentation.newActivity to pass non-null application." into pi-dev 2018-04-17 22:06:09 +00:00
TreeHugger Robot
f55385b595 Merge "Use locale text direction in keyguard carrier text" into pi-dev 2018-04-17 21:42:32 +00:00
Pavlin Radoslavov
c442b64ab1 Add A2DP Codec config hidden APIs to the greylist
Bug: 78187319
Test: Code compilation
Change-Id: Ide42eacc8db4e403432ddd9d952495dda85db0ac
2018-04-17 14:35:19 -07:00
TreeHugger Robot
e2890ae792 Merge "Move PrintRecommendationService to systemAPI" into pi-dev 2018-04-17 21:10:39 +00:00
Evan Laird
aca8c6352b Use locale text direction in keyguard carrier text
Test: visual in RTL
Change-Id: I5209c863e784a2720a338b03aa1ecafe2c9250d6
Fixes: 66995981
2018-04-17 16:22:50 -04:00
TreeHugger Robot
d688e7b15d Merge "Load fallback categories earlier" into pi-dev 2018-04-17 20:21:30 +00:00
Kevin Chyn
7b3e68232c Merge "Log before stopping/removing the current client" into pi-dev 2018-04-17 19:57:51 +00:00
Julia Reynolds
79dfdd6c67 Group suppression shouldn't affect rating limiting
For real this time

Test: runtest systemui-notification
Change-Id: Ia4d771399ca17e9f8dcb386f6f3daff64dc66a69
Fixes: 69300511
2018-04-17 15:38:40 -04:00
TreeHugger Robot
da80202bae Merge "Enable multi-cast while resolving nsd services" into pi-dev 2018-04-17 19:27:21 +00:00
Julia Reynolds
f9e4ccfe87 Merge "Exclude system notifications from visual suppression" into pi-dev 2018-04-17 19:24:24 +00:00
TreeHugger Robot
e5c9cc124a Merge "All users will hear charging sounds." into pi-dev 2018-04-17 19:13:11 +00:00
TreeHugger Robot
bbc057444f Merge "Adds option to drop small buckets for statsd." into pi-dev 2018-04-17 19:12:33 +00:00
TreeHugger Robot
c3116634e1 Merge "Free allocated varargs" into pi-dev 2018-04-17 19:08:26 +00:00
TreeHugger Robot
1d107eaea2 Merge "Change allowed sound triggers to 1000" into pi-dev 2018-04-17 18:45:22 +00:00
Chavi Weingarten
8b328b6f16 Merge "Don't start Window enter animation as a result of AWT becoming visible." into pi-dev 2018-04-17 18:16:46 +00:00
TreeHugger Robot
096e0587d2 Merge "Checks that secondary instrumentation ABI matches" into pi-dev 2018-04-17 18:16:18 +00:00
TreeHugger Robot
2331a14867 Merge "Make VR brightness adjustable again." into pi-dev 2018-04-17 18:11:29 +00:00
Yi Jin
480de784a3 Free allocated varargs
Bug: 78173836
Test: atest incidentd_test
Change-Id: I1e1b9f63d0e863c733c51efef432235eb94cdbab
2018-04-17 10:47:31 -07:00
Todd Kennedy
a63d57ab65 Load fallback categories earlier
At the end of the package manager constructor, we are prepare the data
directories for all installed applications. This creates ApplicationInfo
objects which needs to load categories from the fallback categories provider.
If we're populating the fallback categories during this time, there's a
subtle timing issue where we may return a 'null' category instead of an
Integer.

Change-Id: I974a39029d6c15d3986571e610eb0cd106fdc05c
Fixes: 78128442
Test: Manual. System boots and no crash
2018-04-17 10:40:58 -07:00
Kevin Chyn
a792fa64ff Log before stopping/removing the current client
Fixes: 78108831

Test: try adding accounts 20+ times, no crash observed
Change-Id: I4b5e1352d595efceab2299d6b369517a0840aa1b
2018-04-17 10:38:53 -07:00
Philip P. Moltmann
dafa6424b2 Move PrintRecommendationService to systemAPI
It is using system APIs, but we might want to update it via the play
store.

Hence, replace all internal APIs used with support lib APIs. There is
no replacement for @Immutable, but this is just a informational
annotation, so it can just be removed.

As system-api is tied to a specific platform version, remove all
minSDK/targetSDK settings in the manifest.

Change-Id: Ia8f9c718fd688db295c7bc3bfe05e2074f9bd413
Fixes: 78162439
Test: Looked at print service recommendations
2018-04-17 10:37:56 -07:00
Julia Reynolds
17b2f5d427 Merge "String update for effect suppressors" into pi-dev 2018-04-17 17:37:06 +00:00
Milo Sredkov
d577ae75d3 Merge "Set accessibility action label for smart replies." into pi-dev 2018-04-17 17:18:28 +00:00
Philip P. Moltmann
c18178a93d Enable multi-cast while resolving nsd services
Test: Before taimen never resolved nsd servives. How it resolved nsd
      services reliably when built in print service and print service
      recommendation service used NsdService
Fixes: 75316187

Change-Id: I02f83fc2ea624174e61ddf0d61fdaed005b741eb
2018-04-17 10:15:59 -07:00
chaviw
e390cbd937 Don't start Window enter animation as a result of AWT becoming visible.
There are some cases where AWT becomes visible without an animation. It
will then start a WindowState enter animation if WS is not visible yet.
However, this is problematic since the WS may not be ready to become
visible yet. For example, relayout may not have been called yet to
create a surface and the size of the surface is not yet set. This causes
problems when determining the position of the leash when the animation
is created. Instead allow the WS relayout to handle starting the
enter animation so the WS is set properly.
As for the case where AWT is becoming not visible without an animation, but
WS is still visible, create an exit animation for the WS. This is
because there won't be a client to trigger this animation.

Change-Id: Ic9215a0c96f219f5bc87b16067755af582883a5d
Fixes: 77447982
Test: Issue from bug
2018-04-17 10:06:48 -07:00
Qingxi Li
ead1271f1c Add Global Settings to device whether show Carrier menu
Add Global Settings EUICC_SUPPORTED_COUNTRIES. When the device enabled
esim UI by default and the users in eSIM supported countries, even if
eSIM is not provisioned, carrier menu will be shown. This global
settings will be updated by eSIM mamanger when the phone boot up.

Bug: 77638033
Test: E2E
Change-Id: Ib3ac8bcdfab56d6cd7c12e48318f1794af5bc1aa
2018-04-17 10:02:37 -07:00
Patrick Baumann
eb59580abd Checks that secondary instrumentation ABI matches
This adds checks that the secondary ABI for an instrumentation package
matchs that of its target before using it when forced and warns of
mismatches.

Change-Id: I394427721c83cbd1c3c6af6cee24a93b18d8c65f
Fixes: 77152863
Test: gts-tradefed > run gts -m GtsBackupHostTestCases -a armeabi-v7a do not all fail with NPE
2018-04-17 09:55:47 -07:00
TreeHugger Robot
729ebf23ab Merge "Fix FDE" into pi-dev 2018-04-17 16:48:29 +00:00
TreeHugger Robot
7168c3baac Merge "StackDivider: Make sure that changed stable insets get dispatched" into pi-dev 2018-04-17 16:29:31 +00:00
TreeHugger Robot
a73a2c347b Merge "Don't crash apps on notification error" into pi-dev 2018-04-17 16:29:24 +00:00
TreeHugger Robot
0f0c9243be Merge "Fix incidentd skip collecting timedout of a section." into pi-dev 2018-04-17 16:22:20 +00:00
TreeHugger Robot
575fc02edf Merge "Refactored the UserRecyclerGridView to use PagedListView from the car support library. This also surfaced a scrollbar. Additionally, added a touch ripple when you touch a user's picture and disabled the user buttons once a profile is selected" into pi-dev 2018-04-17 15:31:08 +00:00
Julia Reynolds
3ad4cdd107 Don't crash apps on notification error
Apps cannot recover from this error, and crashing is a bad user
experience.

Test: none
Bug: 30529567
Change-Id: I088ab04f8efeb5fa2483520141c54e90ff441ba4
2018-04-17 15:27:49 +00:00
Julia Reynolds
aa96cf3460 Exclude system notifications from visual suppression
But silence them by saying them cannot bypass DND.

Test: atest SystemUITests
Bug: 77656914
Change-Id: I044696cfdcef0e4a14be21173949612480722236
2018-04-17 15:27:35 +00:00
Milo Sredkov
66da07bf81 Set accessibility action label for smart replies.
Currently the TalkBack reads something like "I am here, button,
double-tap to activate". Set an accessiblity delegate that changes
the click action label to "send", so the TalkBack message becomes
"I am here, button, double-tap to send".

Bug: 72216277
Test: In Notify post a notification with choices. Read it via TalkBack.
Change-Id: Ib50f6ff6f698196d905aea2e303b6bd2e5531587
2018-04-17 16:16:15 +01:00
TreeHugger Robot
bae834c061 Merge "Have doze update the scrim controller rather than the scrim state." into pi-dev 2018-04-17 15:13:27 +00:00
Beverly
cab59e672e Vol dialog uses A11yServicesStateChangeListener
Use AccessibilityServicesStateChangeListener instead of
AccessibilityStateChangeListener to check for a11y changes.

Bug: 72825761
Test: manual
Change-Id: Ib052b261a92622554d5ccf488d5e882943bcf77d
2018-04-17 14:59:07 +00:00
Santos Cordon
b12c7e10de Make VR brightness adjustable again.
After some code adjustment, changes to VR's brightness setting
were not respected.  Add code to listen for the changes and clamping
code to support the min & max values for VR brightness.

Bug: 73090564

Test: while in VR mode, verify that the following command updates
brightness: 'adb shell system put screen_brightness_for_vr
<VALUE>'

Change-Id: I1ce411c5b5fff11c40d1a6ac0b20588b69d2e64e
2018-04-17 14:52:29 +00:00
TreeHugger Robot
73abd2717e Merge "Import translations. DO NOT MERGE" into pi-dev 2018-04-17 14:43:28 +00:00
TreeHugger Robot
ab42ec18dc Merge "Only apply window insets to QS status bar." into pi-dev 2018-04-17 14:39:23 +00:00
TreeHugger Robot
452e2470e7 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-04-17 14:35:24 +00:00
TreeHugger Robot
691ba916fb Merge "Import translations. DO NOT MERGE" into pi-dev 2018-04-17 14:34:35 +00:00
TreeHugger Robot
2e7fcad7e4 Merge "Greylist getMandatoryBackupTransport" into pi-dev 2018-04-17 14:14:53 +00:00
TreeHugger Robot
9f8753230f Merge "Bold the battery saver '+' icon" into pi-dev 2018-04-17 13:28:42 +00:00