OSDN Git Service

android-x86/frameworks-base.git
6 years agoAdd Thread.contextClassLoader to hidden API light greylist
David Brazdil [Wed, 18 Apr 2018 12:36:09 +0000 (13:36 +0100)]
Add Thread.contextClassLoader to hidden API light greylist

Bug: 78145123
Test: make
Change-Id: Iccd7c1c167c77c6bced619735114452e80a086f0

6 years agoDelete hiddenapi-blacklist.txt file
David Brazdil [Wed, 18 Apr 2018 12:35:15 +0000 (13:35 +0100)]
Delete hiddenapi-blacklist.txt file

The file is empty and not used, and its presence confuses people.
Remove it.

Bug: 64382372
Test: make
Change-Id: I8646a78b96d81dd38e5c58460d354430babd9d53

6 years agoSort hiddenapi-light-greylist.txt
David Brazdil [Wed, 18 Apr 2018 12:33:53 +0000 (13:33 +0100)]
Sort hiddenapi-light-greylist.txt

Previous CL Ide42eacc8db4e403432ddd9d952495dda85db0ac left it
unsorted which makes it difficult to programatically add new APIs.

Bug: 64382372
Test: make
Change-Id: Iff35925d9ad64d8a98e59c1b8c4094d59a1c3a3c

6 years agoMerge "Transitionless crashes" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 11:50:03 +0000 (11:50 +0000)]
Merge "Transitionless crashes" into pi-dev

6 years agoMerge "Teach ApfGenerator about the new opcodes for accessing data memory" into pi-dev
Bernie Innocenti [Wed, 18 Apr 2018 11:26:55 +0000 (11:26 +0000)]
Merge "Teach ApfGenerator about the new opcodes for accessing data memory" into pi-dev

6 years agoMerge "Add Landroid/app/IActivityManager;->getConfiguration() to light grey." into...
Nicolas Geoffray [Wed, 18 Apr 2018 09:28:20 +0000 (09:28 +0000)]
Merge "Add Landroid/app/IActivityManager;->getConfiguration() to light grey." into pi-dev

6 years agoMerge "Light grey android.media.MediaScanner.isNoMediaPath" into pi-dev
Nicolas Geoffray [Wed, 18 Apr 2018 08:30:33 +0000 (08:30 +0000)]
Merge "Light grey android.media.MediaScanner.isNoMediaPath" into pi-dev

6 years agoAdd Landroid/app/IActivityManager;->getConfiguration() to light grey.
Nicolas Geoffray [Wed, 18 Apr 2018 08:21:34 +0000 (09:21 +0100)]
Add Landroid/app/IActivityManager;->getConfiguration() to light grey.

bug: 77327058
Test: m
Change-Id: I86d891e21c729a54450c8a92493303683152c07c

6 years agoMerge "Correct sendBroadcast test" into pi-dev
Neil Fuller [Wed, 18 Apr 2018 07:44:37 +0000 (07:44 +0000)]
Merge "Correct sendBroadcast test" into pi-dev

6 years agoMerge "add changes to make the add user button up to spec" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 04:44:05 +0000 (04:44 +0000)]
Merge "add changes to make the add user button up to spec" into pi-dev

6 years agoMerge "Adding Location Request History Foreground Tracking" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 02:33:36 +0000 (02:33 +0000)]
Merge "Adding Location Request History Foreground Tracking" into pi-dev

6 years agoMerge "Don't delay the FINGERPRINT_ERROR_CANCELED message" into pi-dev
Kevin Chyn [Wed, 18 Apr 2018 01:53:39 +0000 (01:53 +0000)]
Merge "Don't delay the FINGERPRINT_ERROR_CANCELED message" into pi-dev

6 years agoMerge "Remove Persistent proccess without WTFing" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 00:16:24 +0000 (00:16 +0000)]
Merge "Remove Persistent proccess without WTFing" into pi-dev

6 years agoMerge "Group suppression shouldn't affect rating limiting" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 00:14:21 +0000 (00:14 +0000)]
Merge "Group suppression shouldn't affect rating limiting" into pi-dev

6 years agoMerge "Add A2DP Codec config hidden APIs to the greylist" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 23:16:22 +0000 (23:16 +0000)]
Merge "Add A2DP Codec config hidden APIs to the greylist" into pi-dev

6 years agoadd changes to make the add user button up to spec
Aarthi Balachander [Tue, 17 Apr 2018 18:13:17 +0000 (11:13 -0700)]
add changes to make the add user button up to spec

Test: tested on Mojave
Bug: 77869282
Change-Id: I75280675acf314734c9836babb7068a8379bf1c0

6 years agoMerge "Fix issue #78138020: Improve app ops dumpsys" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 22:34:10 +0000 (22:34 +0000)]
Merge "Fix issue #78138020: Improve app ops dumpsys" into pi-dev

6 years agoMerge "Add Global Settings to device whether show Carrier menu" into pi-dev
Qingxi Li [Tue, 17 Apr 2018 22:20:59 +0000 (22:20 +0000)]
Merge "Add Global Settings to device whether show Carrier menu" into pi-dev

6 years agoMerge "Update Instrumentation.newActivity to pass non-null application." into pi-dev
Sudheer Shanka [Tue, 17 Apr 2018 22:06:09 +0000 (22:06 +0000)]
Merge "Update Instrumentation.newActivity to pass non-null application." into pi-dev

6 years agoMerge "Use locale text direction in keyguard carrier text" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 21:42:32 +0000 (21:42 +0000)]
Merge "Use locale text direction in keyguard carrier text" into pi-dev

6 years agoAdd A2DP Codec config hidden APIs to the greylist
Pavlin Radoslavov [Tue, 17 Apr 2018 21:35:19 +0000 (14:35 -0700)]
Add A2DP Codec config hidden APIs to the greylist

Bug: 78187319
Test: Code compilation
Change-Id: Ide42eacc8db4e403432ddd9d952495dda85db0ac

6 years agoMerge "Move PrintRecommendationService to systemAPI" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 21:10:39 +0000 (21:10 +0000)]
Merge "Move PrintRecommendationService to systemAPI" into pi-dev

6 years agoDon't delay the FINGERPRINT_ERROR_CANCELED message
Kevin Chyn [Tue, 17 Apr 2018 20:50:53 +0000 (13:50 -0700)]
Don't delay the FINGERPRINT_ERROR_CANCELED message

Test: tested with test APK

Change-Id: Ic975870c6f815b5f7dfa4c7f2d8bf5554fbb1c5b
Fixes: 78185698

6 years agoUse locale text direction in keyguard carrier text
Evan Laird [Tue, 17 Apr 2018 20:22:50 +0000 (16:22 -0400)]
Use locale text direction in keyguard carrier text

Test: visual in RTL
Change-Id: I5209c863e784a2720a338b03aa1ecafe2c9250d6
Fixes: 66995981

6 years agoMerge "Load fallback categories earlier" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 20:21:30 +0000 (20:21 +0000)]
Merge "Load fallback categories earlier" into pi-dev

6 years agoMerge "Log before stopping/removing the current client" into pi-dev
Kevin Chyn [Tue, 17 Apr 2018 19:57:51 +0000 (19:57 +0000)]
Merge "Log before stopping/removing the current client" into pi-dev

6 years agoGroup suppression shouldn't affect rating limiting
Julia Reynolds [Tue, 17 Apr 2018 19:36:33 +0000 (15:36 -0400)]
Group suppression shouldn't affect rating limiting

For real this time

Test: runtest systemui-notification
Change-Id: Ia4d771399ca17e9f8dcb386f6f3daff64dc66a69
Fixes: 69300511

6 years agoMerge "Enable multi-cast while resolving nsd services" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 19:27:21 +0000 (19:27 +0000)]
Merge "Enable multi-cast while resolving nsd services" into pi-dev

6 years agoMerge "Exclude system notifications from visual suppression" into pi-dev
Julia Reynolds [Tue, 17 Apr 2018 19:24:24 +0000 (19:24 +0000)]
Merge "Exclude system notifications from visual suppression" into pi-dev

6 years agoMerge "All users will hear charging sounds." into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 19:13:11 +0000 (19:13 +0000)]
Merge "All users will hear charging sounds." into pi-dev

6 years agoMerge "Adds option to drop small buckets for statsd." into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 19:12:33 +0000 (19:12 +0000)]
Merge "Adds option to drop small buckets for statsd." into pi-dev

6 years agoAdding Location Request History Foreground Tracking
Wyatt Riley [Fri, 13 Apr 2018 00:54:26 +0000 (17:54 -0700)]
Adding Location Request History Foreground Tracking

Improving adb shell dumpsys location in light of
Background Location Limits

Bug: 73598719
Test: atest and on-device verification
Change-Id: I0b24d14f1557a36d9162770c9bc7081d9787d0cf

6 years agoMerge "Free allocated varargs" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 19:08:26 +0000 (19:08 +0000)]
Merge "Free allocated varargs" into pi-dev

6 years agoMerge "Change allowed sound triggers to 1000" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 18:45:22 +0000 (18:45 +0000)]
Merge "Change allowed sound triggers to 1000" into pi-dev

6 years agoCorrect sendBroadcast test
Daniel Bonnevier [Mon, 16 Apr 2018 11:25:32 +0000 (13:25 +0200)]
Correct sendBroadcast test

Commit 23eb3a19 changed the implementation from sendBroadcast to
sendBroadcastAsUser but didn't change the test.

Test: adb shell am instrument -r -w -e class \
        android.app.timezone.RulesUpdaterContractTest#sendBroadcast \
        com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Bug: 78166765
Change-Id: I0a47e096a46fc63d46dd9ff878a4af0d76af82f0
(cherry picked from commit b8ab470c273b16390ef8d5715226329e2827e001)

6 years agoMerge "Don't start Window enter animation as a result of AWT becoming visible." into...
Chavi Weingarten [Tue, 17 Apr 2018 18:16:46 +0000 (18:16 +0000)]
Merge "Don't start Window enter animation as a result of AWT becoming visible." into pi-dev

6 years agoMerge "Checks that secondary instrumentation ABI matches" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 18:16:18 +0000 (18:16 +0000)]
Merge "Checks that secondary instrumentation ABI matches" into pi-dev

6 years agoMerge "Make VR brightness adjustable again." into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 18:11:29 +0000 (18:11 +0000)]
Merge "Make VR brightness adjustable again." into pi-dev

6 years agoFree allocated varargs
Yi Jin [Fri, 6 Apr 2018 22:37:36 +0000 (15:37 -0700)]
Free allocated varargs

Bug: 78173836
Test: atest incidentd_test
Change-Id: I1e1b9f63d0e863c733c51efef432235eb94cdbab

6 years agoLoad fallback categories earlier
Todd Kennedy [Tue, 17 Apr 2018 17:40:58 +0000 (10:40 -0700)]
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

6 years agoLog before stopping/removing the current client
Kevin Chyn [Tue, 17 Apr 2018 02:09:10 +0000 (19:09 -0700)]
Log before stopping/removing the current client

Fixes: 78108831

Test: try adding accounts 20+ times, no crash observed
Change-Id: I4b5e1352d595efceab2299d6b369517a0840aa1b

6 years agoMove PrintRecommendationService to systemAPI
Philip P. Moltmann [Tue, 17 Apr 2018 16:51:48 +0000 (09:51 -0700)]
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

6 years agoMerge "String update for effect suppressors" into pi-dev
Julia Reynolds [Tue, 17 Apr 2018 17:37:06 +0000 (17:37 +0000)]
Merge "String update for effect suppressors" into pi-dev

6 years agoMerge "Set accessibility action label for smart replies." into pi-dev
Milo Sredkov [Tue, 17 Apr 2018 17:18:28 +0000 (17:18 +0000)]
Merge "Set accessibility action label for smart replies." into pi-dev

6 years agoEnable multi-cast while resolving nsd services
Philip P. Moltmann [Mon, 16 Apr 2018 20:43:37 +0000 (13:43 -0700)]
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

6 years agoDon't start Window enter animation as a result of AWT becoming visible.
chaviw [Mon, 16 Apr 2018 22:29:38 +0000 (15:29 -0700)]
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

6 years agoAdd Global Settings to device whether show Carrier menu
Qingxi Li [Wed, 11 Apr 2018 22:14:56 +0000 (15:14 -0700)]
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

6 years agoChecks that secondary instrumentation ABI matches
Patrick Baumann [Tue, 17 Apr 2018 16:49:55 +0000 (09:49 -0700)]
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

6 years agoMerge "Fix FDE" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 16:48:29 +0000 (16:48 +0000)]
Merge "Fix FDE" into pi-dev

6 years agoMerge "StackDivider: Make sure that changed stable insets get dispatched" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 16:29:31 +0000 (16:29 +0000)]
Merge "StackDivider: Make sure that changed stable insets get dispatched" into pi-dev

6 years agoMerge "Don't crash apps on notification error" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 16:29:24 +0000 (16:29 +0000)]
Merge "Don't crash apps on notification error" into pi-dev

6 years agoMerge "Fix incidentd skip collecting timedout of a section." into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 16:22:20 +0000 (16:22 +0000)]
Merge "Fix incidentd skip collecting timedout of a section." into pi-dev

6 years agoMerge "Refactored the UserRecyclerGridView to use PagedListView from the car support...
TreeHugger Robot [Tue, 17 Apr 2018 15:31:08 +0000 (15:31 +0000)]
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

6 years agoDon't crash apps on notification error
Julia Reynolds [Tue, 17 Apr 2018 13:36:30 +0000 (09:36 -0400)]
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

6 years agoExclude system notifications from visual suppression
Julia Reynolds [Tue, 17 Apr 2018 13:09:04 +0000 (09:09 -0400)]
Exclude system notifications from visual suppression

But silence them by saying them cannot bypass DND.

Test: atest SystemUITests
Bug: 77656914
Change-Id: I044696cfdcef0e4a14be21173949612480722236

6 years agoLight grey android.media.MediaScanner.isNoMediaPath
Nicolas Geoffray [Tue, 17 Apr 2018 15:23:47 +0000 (16:23 +0100)]
Light grey android.media.MediaScanner.isNoMediaPath

bug: 78027167
Test: m
Change-Id: I9bd853608a5c4ee98d39920f6157f97bf796c708

6 years agoSet accessibility action label for smart replies.
Milo Sredkov [Tue, 17 Apr 2018 13:04:54 +0000 (14:04 +0100)]
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

6 years agoMerge "Have doze update the scrim controller rather than the scrim state." into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 15:13:27 +0000 (15:13 +0000)]
Merge "Have doze update the scrim controller rather than the scrim state." into pi-dev

6 years agoVol dialog uses A11yServicesStateChangeListener
Beverly [Mon, 16 Apr 2018 21:47:39 +0000 (17:47 -0400)]
Vol dialog uses A11yServicesStateChangeListener

Use AccessibilityServicesStateChangeListener instead of
AccessibilityStateChangeListener to check for a11y changes.

Bug: 72825761
Test: manual
Change-Id: Ib052b261a92622554d5ccf488d5e882943bcf77d

6 years agoMake VR brightness adjustable again.
Santos Cordon [Sat, 14 Apr 2018 00:10:54 +0000 (17:10 -0700)]
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

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 14:43:28 +0000 (14:43 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Only apply window insets to QS status bar." into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 14:39:23 +0000 (14:39 +0000)]
Merge "Only apply window insets to QS status bar." into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 14:35:24 +0000 (14:35 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 14:34:35 +0000 (14:34 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Greylist getMandatoryBackupTransport" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 14:14:53 +0000 (14:14 +0000)]
Merge "Greylist getMandatoryBackupTransport" into pi-dev

6 years agoTransitionless crashes
Adrian Roos [Tue, 10 Apr 2018 21:12:10 +0000 (14:12 -0700)]
Transitionless crashes

Suppresses app transitions when an activity finishes due to crashing.

Fixes: 70640329
Test: "Dev Tools" > Bad Behavior > Crash main thread, verify there's no transition.
Change-Id: I51c4b98b793794b013c266a1dee3fb2e7faf4bd7

6 years agoMerge "Bold the battery saver '+' icon" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 13:28:42 +0000 (13:28 +0000)]
Merge "Bold the battery saver '+' icon" into pi-dev

6 years agoString update for effect suppressors
Julia Reynolds [Tue, 17 Apr 2018 13:08:12 +0000 (09:08 -0400)]
String update for effect suppressors

Test: manual inspection
Bug: 77641315
Change-Id: Icebb351a4ad63d063c4bf78c2ec35a7d9ba02440

6 years agoHave doze update the scrim controller rather than the scrim state.
Michael Wright [Mon, 16 Apr 2018 22:13:54 +0000 (23:13 +0100)]
Have doze update the scrim controller rather than the scrim state.

Right now, when Doze wants to update the front alpha in AOD, it updates
the scrim state's front alpha value. Unfortunately, this is only looked
at when transitioning into the state, but entirely ignored once we're in
it. With this, we instead tell the scrim controller which tells the
scrim state but also updates the current front scrim alpha if we're
currently in the AOD state.

Bug: 78124574
Bug: 70939994
Test: atest ScrimControllerTest\#transitionToAod_withFrontAlphaUpdates
Change-Id: I09b33208bd3e3fd6d3829b33776364aa7b61a4f6

6 years agoGreylist getMandatoryBackupTransport
Artem Iglikov [Tue, 17 Apr 2018 11:08:28 +0000 (12:08 +0100)]
Greylist getMandatoryBackupTransport

Bug: 77997957
Test: n/a
Change-Id: Ieccdd978960c00b6bef6ebe375fa388c0d186684

6 years agoMerge "LSS: pass secret to AuthSecret HAL when no credential" into pi-dev
Andrew Scull [Tue, 17 Apr 2018 11:04:52 +0000 (11:04 +0000)]
Merge "LSS: pass secret to AuthSecret HAL when no credential" into pi-dev

6 years agoMerge "Docs: update the method description for installKeyPair() to cover parameter...
TreeHugger Robot [Tue, 17 Apr 2018 10:53:36 +0000 (10:53 +0000)]
Merge "Docs: update the method description for installKeyPair() to cover parameter change." into pi-dev

6 years agoMerge "Do not generate non-primary profile watchlist report" into pi-dev
Ricky Wai [Tue, 17 Apr 2018 10:40:21 +0000 (10:40 +0000)]
Merge "Do not generate non-primary profile watchlist report" into pi-dev

6 years agoMerge "Fixed power manager CTS test." into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 10:39:30 +0000 (10:39 +0000)]
Merge "Fixed power manager CTS test." into pi-dev

6 years agoLSS: pass secret to AuthSecret HAL when no credential
Andrew Scull [Fri, 13 Apr 2018 11:01:25 +0000 (12:01 +0100)]
LSS: pass secret to AuthSecret HAL when no credential

If there was once a credential, a secret will have been enrolled. When
the credential is removed, that secret is still enrolled but still needs
to be derived. This adds that derivation in the case that the secret is
enrolled by the user doesn't have a credential.

Bug: 77942316
Test: runtest frameworks-services -c com.android.server.locksettings.SyntheticPasswordTests
Change-Id: I099a9537ab0739830a234b5f4f3721f4e8476571

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 17 Apr 2018 08:17:05 +0000 (01:17 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ibc9a21a13715a33e760e42dedd74ce7fad9d9c00

6 years agoMerge "Make util method public" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 07:22:25 +0000 (07:22 +0000)]
Merge "Make util method public" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 17 Apr 2018 06:31:23 +0000 (23:31 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I54a625e6118d6143dce89b06c9a0246e147c800e

6 years agoMerge "[JNI] Adapt graphics::common:V1_0::Hdr from HAL." into pi-dev
Peiyong Lin [Tue, 17 Apr 2018 05:57:30 +0000 (05:57 +0000)]
Merge "[JNI] Adapt graphics::common:V1_0::Hdr from HAL." into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 17 Apr 2018 04:27:06 +0000 (21:27 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Id8b353491f4bf2e0931fa1151e98b59614b52ffe

6 years agoAdds option to drop small buckets for statsd.
David Chen [Thu, 12 Apr 2018 21:33:37 +0000 (14:33 -0700)]
Adds option to drop small buckets for statsd.

We notice that some of the pulled metrics have a ton of data, and
during app upgrades, we're forming partial buckets that represent
small periods of time but require many bytes of data. We now have an
option to drop these buckets that are too short. Note that we still
have to pull the data to keep the metrics for the next bucket
correct. We include a new field in the value and gauge metric outputs
so that it's easy to tell when a bucket was dropped.

We drop the partial buckets also from anomaly detection since we
should be computing anomalies from the same data that is reported.

Test: Added unit-tests for value and gauge metrics.
Bug: 77925710
Change-Id: Ic370496377c6afd380e02278a6c1ed8b521a2731

6 years agoMerge "Enforce dump permission in stats service" into pi-dev
Tej Singh [Tue, 17 Apr 2018 01:34:47 +0000 (01:34 +0000)]
Merge "Enforce dump permission in stats service" into pi-dev

6 years agoMerge "[QS] Add PageIndicator to footer" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 01:28:06 +0000 (01:28 +0000)]
Merge "[QS] Add PageIndicator to footer" into pi-dev

6 years agoRefactored the UserRecyclerGridView to use PagedListView from the
Aarthi Balachander [Thu, 12 Apr 2018 01:41:52 +0000 (18:41 -0700)]
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

Test: tested on Mojave
bug: 778707487786952277870549
Change-Id: I3706f1089c7c91e8db8d9126a269fd984e2b5dc9

6 years agoFix issue #78138020: Improve app ops dumpsys
Dianne Hackborn [Tue, 17 Apr 2018 00:17:14 +0000 (17:17 -0700)]
Fix issue #78138020: Improve app ops dumpsys

Now have all the information needed to understand who is
monitoring what.

Bug: 78138020
Test: manual

Change-Id: Idd18eaae64549ac66b52e091f72f786865d93601

6 years agoMerge "Only fade clock away at the top of the screen" into pi-dev
Lucas Dupin [Tue, 17 Apr 2018 00:14:22 +0000 (00:14 +0000)]
Merge "Only fade clock away at the top of the screen" into pi-dev

6 years agoMerge "Add 1-day sync stats in syncmanager dumpsys." into pi-dev
Makoto Onuki [Tue, 17 Apr 2018 00:11:25 +0000 (00:11 +0000)]
Merge "Add 1-day sync stats in syncmanager dumpsys." into pi-dev

6 years agoMerge "InstantAppRegistry: adjust backwards compat cookie sig check." into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 00:09:14 +0000 (00:09 +0000)]
Merge "InstantAppRegistry: adjust backwards compat cookie sig check." into pi-dev

6 years agoMerge "Add tracing for network statistics and policy." into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 00:08:41 +0000 (00:08 +0000)]
Merge "Add tracing for network statistics and policy." into pi-dev

6 years agoMerge "Protect usage data with OP_GET_USAGE_STATS." into pi-dev
Jeff Sharkey [Tue, 17 Apr 2018 00:04:53 +0000 (00:04 +0000)]
Merge "Protect usage data with OP_GET_USAGE_STATS." into pi-dev

6 years agoMerge "Fix UiccSlotInfo equals method." into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 23:56:06 +0000 (23:56 +0000)]
Merge "Fix UiccSlotInfo equals method." into pi-dev

6 years agoMerge "Treat named standby states as ceilings of behavioral categories" into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 23:48:41 +0000 (23:48 +0000)]
Merge "Treat named standby states as ceilings of behavioral categories" into pi-dev

6 years agoMerge "Remove setDeviceConnectionState hack for radio mute/unmute." into pi-dev
Tomasz Wasilczyk [Mon, 16 Apr 2018 23:37:10 +0000 (23:37 +0000)]
Merge "Remove setDeviceConnectionState hack for radio mute/unmute." into pi-dev

6 years agoMake util method public
Salvador Martinez [Fri, 13 Apr 2018 20:34:46 +0000 (13:34 -0700)]
Make util method public

A utility method is private but we need it elsewhere. This CL
just makes it public. Also it restricts the use of the method to
just rounding positive values to positive multiples. It is only
meant for rounding time.

Test: robotests
Bug: 77874313
Change-Id: Ieb222c7f752b6a907fca5f91ddd4f4a4b67a0d2a

6 years agoMerge "Camera: Fix a description for MONOCHROME camera capability" into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 23:25:39 +0000 (23:25 +0000)]
Merge "Camera: Fix a description for MONOCHROME camera capability" into pi-dev

6 years agoMerge "Add permission whitelist for EmergencyInfo app." into pi-dev
Tyler Gunn [Mon, 16 Apr 2018 23:23:39 +0000 (23:23 +0000)]
Merge "Add permission whitelist for EmergencyInfo app." into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 22:57:27 +0000 (22:57 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Adds a code when statsd sends intent to getData." into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 22:46:03 +0000 (22:46 +0000)]
Merge "Adds a code when statsd sends intent to getData." into pi-dev

6 years agoMerge "Add A2DP set/get active device to greylist" into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 22:41:38 +0000 (22:41 +0000)]
Merge "Add A2DP set/get active device to greylist" into pi-dev

6 years agoMerge "Replace PackageInfo#signingCertificateHistory field doc reference." into pi-dev
TreeHugger Robot [Mon, 16 Apr 2018 22:40:56 +0000 (22:40 +0000)]
Merge "Replace PackageInfo#signingCertificateHistory field doc reference." into pi-dev