OSDN Git Service
Svetoslav Ganov [Thu, 10 May 2018 01:02:17 +0000 (01:02 +0000)]
Merge "Fix an accidentally reverted condition" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 01:02:10 +0000 (01:02 +0000)]
Merge "Fix the flaky gauge/value e2e test due to cached events." into pi-dev
Svet Ganov [Wed, 9 May 2018 22:27:43 +0000 (15:27 -0700)]
Fix an accidentally reverted condition
The conditional was accidentally reversed so bringing it
back to the correct state and also bringing back the security
exception being thrown on violation.
Test: manual
bug:
67773960
Change-Id: I1223297b8662e94413cc0bdcbe86089d1af296c2
Mehdi Alizadeh [Thu, 10 May 2018 00:38:50 +0000 (00:38 +0000)]
Merge "Adds overlay field for Swipe Up gesture's default opt-in value" into pi-dev
Felipe Leme [Wed, 9 May 2018 23:48:50 +0000 (23:48 +0000)]
Merge "Fixed name of autofill service on save UI." into pi-dev
TreeHugger Robot [Wed, 9 May 2018 22:47:40 +0000 (22:47 +0000)]
Merge "add install action for carrier id to system API" into pi-dev
Leon Scroggins [Wed, 9 May 2018 22:44:39 +0000 (22:44 +0000)]
Merge "Allow ImageDecoder to read SkFILEStream directly" into pi-dev
TreeHugger Robot [Wed, 9 May 2018 22:09:20 +0000 (22:09 +0000)]
Merge "Add full unlock gesture to FalsingManager" into pi-dev
TreeHugger Robot [Wed, 9 May 2018 21:52:53 +0000 (21:52 +0000)]
Merge "Added unit test for activity start interceptor" into pi-dev
TreeHugger Robot [Wed, 9 May 2018 21:34:00 +0000 (21:34 +0000)]
Merge "ActivityManagerService: explicitly break connection cycles" into pi-dev
TreeHugger Robot [Wed, 9 May 2018 21:19:53 +0000 (21:19 +0000)]
Merge "Allows disk reads when adding native paths to classloader" into pi-dev
TreeHugger Robot [Wed, 9 May 2018 21:17:51 +0000 (21:17 +0000)]
Merge "DO NOT MERGE: Allow to control behavior of loadSafeLabel" into pi-dev
Chia-I Wu [Wed, 9 May 2018 21:04:08 +0000 (21:04 +0000)]
Merge "Fix night light and COLOR_MODE_AUTOMATIC" into pi-dev
Jiabin Huang [Wed, 9 May 2018 20:43:14 +0000 (20:43 +0000)]
Merge "Fix shutter sound cannot enable." into pi-dev
Calin Juravle [Wed, 9 May 2018 20:39:25 +0000 (20:39 +0000)]
Merge "Add cmd package shell command for taking profile snapshots" into pi-dev
Calin Juravle [Wed, 9 May 2018 19:56:59 +0000 (19:56 +0000)]
Merge "Process "dalvik.vm.profilebootimage" system property" into pi-dev
Felipe Leme [Wed, 9 May 2018 19:42:53 +0000 (12:42 -0700)]
Fixed name of autofill service on save UI.
Test: atest CtsAutoFillServiceTestCases
Bug:
62537081
Fixes:
79201521
Change-Id: I9ae7137719390b61c38da1e52fcb13fd59333792
Philip P. Moltmann [Wed, 9 May 2018 16:13:24 +0000 (09:13 -0700)]
DO NOT MERGE: Allow to control behavior of loadSafeLabel
(Minimal change for P, full change already in master)
Test: looked at package installer UI and saw that labels are not
truncated anymore.
Bug:
77964730
Change-Id: Ia181288a90501f4f563d24dacd6edb0c81406b82
Pavel Grafov [Wed, 9 May 2018 19:46:05 +0000 (19:46 +0000)]
Merge "Log wipe failure" into pi-dev
Pavel Grafov [Wed, 9 May 2018 19:46:00 +0000 (19:46 +0000)]
Merge "Acquire lock before calling getDeviceOwnerAdminLocked" into pi-dev
Calin Juravle [Sat, 5 May 2018 00:35:29 +0000 (17:35 -0700)]
Add cmd package shell command for taking profile snapshots
Test: adb shell cmd package snapshot-profile pkgname
Bug:
74081010
(cherry picked from commit
21216c6a0323b0b63c9c5712f98fc8f7879dd8c1)
Merged-In: I96d73959cb46194667c7801767a9ebd44fd72d90
Change-Id: I96d73959cb46194667c7801767a9ebd44fd72d90
Chia-I Wu [Mon, 7 May 2018 20:17:04 +0000 (13:17 -0700)]
Fix night light and COLOR_MODE_AUTOMATIC
The native mode methods in DisplayTransformManager were used to
decide whether the color matrix works in linear or gamma space. For
COLOR_MODE_AUTOMATIC, the color matrix works in lienar instead of
gamma space.
Fix the native mode methods to be more clear about the intention to
avoid future breakage.
Bug:
79257138
Test: manual and atest FrameworksServicesTests:ColorDisplayServiceTest
Change-Id: Ied60a62bd7330e87c3207f2183d7e83af9e51fb7
Victor Hsieh [Wed, 9 May 2018 19:21:22 +0000 (19:21 +0000)]
Merge "Allow only selected priv apps to run OOB" into pi-dev
android-build-team Robot [Wed, 9 May 2018 19:18:28 +0000 (19:18 +0000)]
Merge "Add DIALOG_UPDATABLE_LIST_PREFERENCE into metrics_constants.proto" into pi-dev
android-build-team Robot [Wed, 9 May 2018 18:35:53 +0000 (18:35 +0000)]
Merge "Reset password field instead of keyguard" into pi-dev
android-build-team Robot [Wed, 9 May 2018 18:35:47 +0000 (18:35 +0000)]
Merge "Update the Open Mobile API version" into pi-dev
Pavel Grafov [Wed, 9 May 2018 18:29:24 +0000 (18:29 +0000)]
Merge "Lock profiles when lockdown is invoked." into pi-dev
Patrick Baumann [Wed, 9 May 2018 18:12:49 +0000 (11:12 -0700)]
Allows disk reads when adding native paths to classloader
In the cases that the classloader is being updated on the main thread,
temporarily allows disk reads so that native paths can be checked for
directory vs. APK.
Change-Id: I89cab9c7fcb71b8eff8891db974285844affe220
Fixes:
79425683
Test: atest WebViewHostSideStartupTest
Mehdi Alizadeh [Fri, 4 May 2018 22:51:56 +0000 (15:51 -0700)]
Adds overlay field for Swipe Up gesture's default opt-in value
Bug:
78641268
Test: Manual test
Change-Id: I0386629ee55a3752fdf211b36cacdcc10ac00f97
android-build-team Robot [Wed, 9 May 2018 18:08:46 +0000 (18:08 +0000)]
Merge "Move libstatssocket to system/ so that lmkd can build on PDK." into pi-dev
android-build-team Robot [Wed, 9 May 2018 18:07:24 +0000 (18:07 +0000)]
Merge "Fix partial bucket unit tests." into pi-dev
Matthew Ng [Fri, 4 May 2018 22:42:54 +0000 (15:42 -0700)]
Update the snap targets in minimized mode to reflect the correct targets
In minimized mode there is only 1 split snap target compared to regular
portrait that has 30%, 50%, 70% targets. Update the accessibility options
for minimized mode to reflect the correct targets. Also removed the
middle target if there is only 1 split snap target.
Test: using talkback, see custom options on divider handle in minimized
mode
Fixes:
78304300
Change-Id: I8421499616cf0fe503c1f6a081a2151098640a9c
Calin Juravle [Wed, 9 May 2018 17:41:00 +0000 (17:41 +0000)]
Merge "Allow the shell user to snapshot profiles for debuggable apps" into pi-dev
android-build-team Robot [Wed, 9 May 2018 17:29:06 +0000 (17:29 +0000)]
Merge "Change the root of trust for CryptAuth Vault Service" into pi-dev
Pavel Grafov [Tue, 8 May 2018 17:06:22 +0000 (18:06 +0100)]
Log wipe failure
Test: injected an error into RecoverySystem.rebootWipeUserData
Fixes:
79417596
Change-Id: I3fef4bdd2f6357b08be4976c35c651908e9b3599
Nathan Harold [Wed, 9 May 2018 17:27:13 +0000 (17:27 +0000)]
Merge "[DO NOT MERGE] Use INetd Constant for IpSec Interface Prefix" into pi-dev
Tim Murray [Wed, 2 May 2018 22:14:35 +0000 (15:14 -0700)]
ActivityManagerService: explicitly break connection cycles
Currently, it is possible for two services to bind to each other and
receive each other's oom_adj, even if there are no other bindings that
would cause either process to be promoted. This causes a pair of
services to remain at a higher oom_adj level than they intended if
one service was promoted by a binding that was later destroyed.
To fix this, any process that encounters a cycle will be marked for a
later adjustment, and those bindings that encounter a cycle will not be
used to promote processes. After the initial oom_adj adjustments, all
processes that encountered a cycle will be retried. These retries will
continue until no process that encountered a cycle changes its process
state, at which point the process states should be stable.
Test: CTS; boots; runs normally
bug
78894563
Change-Id: I7cb2aa2fc461c08bc8e7f687a673249aef78351b
android-build-team Robot [Wed, 9 May 2018 17:20:02 +0000 (17:20 +0000)]
Merge "Set app name when notification is updated" into pi-dev
Pavel Grafov [Wed, 2 May 2018 12:44:46 +0000 (13:44 +0100)]
Lock profiles when lockdown is invoked.
Change-Id: I3abfa464255b0fc04a09657b8ca43bcc154621c0
Bug:
76208903
Test: manually invoked lockdown in all combinations.
android-build-team Robot [Wed, 9 May 2018 17:13:26 +0000 (17:13 +0000)]
Merge "Greylist updates, Wednesday edition." into pi-dev
android-build-team Robot [Wed, 9 May 2018 17:06:33 +0000 (17:06 +0000)]
Merge "Fix a typo in the API doc of TextView#setKeyListener()" into pi-dev
android-build-team Robot [Wed, 9 May 2018 17:01:27 +0000 (17:01 +0000)]
Merge "Print correct version code when skipping outdated system packages" into pi-dev
android-build-team Robot [Wed, 9 May 2018 16:55:26 +0000 (16:55 +0000)]
Merge changes I5851dd16,Id196307f into pi-dev
* changes:
OMS: harden permission checks
Add missing fields to OverlayInfo.hashCode
android-build-team Robot [Wed, 9 May 2018 16:54:17 +0000 (16:54 +0000)]
Merge "Changed doze-light timeouts" into pi-dev
Pavel Grafov [Wed, 9 May 2018 16:19:04 +0000 (17:19 +0100)]
Acquire lock before calling getDeviceOwnerAdminLocked
Change-Id: I318c7cea8e9b7de2dc9fa05f786524848c9c76dd
Fixes:
79418618
Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.DeviceOwnerTest#testKeyManagement
Leon Scroggins [Wed, 9 May 2018 16:40:01 +0000 (16:40 +0000)]
Merge "Allow AssetStreamAdaptor to be seekable" into pi-dev
Leon Scroggins [Wed, 9 May 2018 16:38:41 +0000 (16:38 +0000)]
Merge "Use filtering when drawing nine-patches" into pi-dev
Lucas Dupin [Wed, 9 May 2018 00:06:06 +0000 (17:06 -0700)]
Reset password field instead of keyguard
Reseting the keyguard has bigger implications, like hiding the bouncer
and resetting the StatusBarKeyguardViewManager.
Change-Id: Ib17e292c8c95ba19f4149ee04fc9680c69029a42
Fixes:
79187948
Test: go/sysui-bouncer-tests
android-build-team Robot [Wed, 9 May 2018 16:20:20 +0000 (16:20 +0000)]
Merge "AudioService: Do not disconnect SCO started externally" into pi-dev
android-build-team Robot [Wed, 9 May 2018 16:15:45 +0000 (16:15 +0000)]
Merge "Fix NPE in package manager when asserting overlays" into pi-dev
Rubin Xu [Wed, 9 May 2018 16:06:43 +0000 (16:06 +0000)]
Merge "Allow profile owner to disable iris/face on personal keyguard" into pi-dev
Rohan Shah [Wed, 9 May 2018 15:33:04 +0000 (15:33 +0000)]
Merge "[Notif] Rename/reset blocking helper stats file" into pi-dev
android-build-team Robot [Wed, 9 May 2018 15:30:44 +0000 (15:30 +0000)]
Merge "[Notif] Revert dismiss-to-view threshold to .8" into pi-dev
Jiyong Park [Wed, 9 May 2018 14:48:45 +0000 (14:48 +0000)]
Merge "Basedir of a bundled app is added to the permitted paths" into pi-dev
Victor Hsieh [Thu, 19 Apr 2018 21:26:28 +0000 (14:26 -0700)]
Allow only selected priv apps to run OOB
- Add pm.dexopt.priv-apps-oob-list to allow selecting specific packages
to run OOB, in a comma-separated string of package names. When set to
"ALL" (default), all priv apps will run in OOB.
- Add a global config priv_app_oob_list to persist the state for
experiment.
- Also make background dexopt to respect the config.
Test: 0. Reset previous OOB settings.
1. settings put global priv_app_oob_list \
com.google.android.gms,com.android.vending
2. cmd package compile -m speed -f com.google.android.gms (then
com.android.vending, com.google.android.googlequicksearchbox)
3. dumpsys package dexopt
# .vending and .gms are "verify", .googlequicksearchbox is
# "speed".
Test: settings put global priv_app_oob_list 'ALL' # see the same result
Test: settings delete global priv_app_oob_list # see the same result
Test: atest SettingsBackupTest
Bug:
30972906
Bug:
63920015
Change-Id: Iba47b4763a026cdc94939db0a743822278917269
Mathew Inwood [Wed, 9 May 2018 13:58:03 +0000 (14:58 +0100)]
Greylist updates, Wednesday edition.
Bug:
74002300
Bug:
79199145
Test: m
Change-Id: If21248dafb69423edeb04b7763a63433f40d832a
timhypeng [Fri, 4 May 2018 07:28:42 +0000 (15:28 +0800)]
Add DIALOG_UPDATABLE_LIST_PREFERENCE into metrics_constants.proto
* This is for a new dialog which is able to update content instantly when connected devices change
Bug:
77783217
Test: make -j50 RunSettingsLibRoboTests
Change-Id: I8c70eb93b8bfd39d295fa326df8372ee4b146834
android-build-team Robot [Wed, 9 May 2018 11:55:26 +0000 (11:55 +0000)]
Merge "Introduce hidden constant EXTRA_PROVISIONING_USE_MOBILE_DATA" into pi-dev
Nicolas Geoffray [Wed, 9 May 2018 08:35:56 +0000 (08:35 +0000)]
Merge "More light grey additions." into pi-dev
android-build-team Robot [Wed, 9 May 2018 08:10:32 +0000 (08:10 +0000)]
Merge "Increase timemout for dumpsys meminfo --unreachable" into pi-dev
android-build-team Robot [Wed, 9 May 2018 08:07:50 +0000 (08:07 +0000)]
Merge "Camera: Specify session parameter build requirements" into pi-dev
Calin Juravle [Sat, 28 Apr 2018 00:47:24 +0000 (17:47 -0700)]
Allow the shell user to snapshot profiles for debuggable apps
This is needed in order to be able to CTS test the profile infrastructure
via adb shell commands.
Test: atest ArtManagerHostTest
Bug:
74081010
Change-Id: I116dee2c36d712c0cd067d42994149c734f9edcd
felkachang [Fri, 4 May 2018 08:25:45 +0000 (16:25 +0800)]
Fix Clock flickers after reboot with strong authentication
After boot, the device request the strong authentication but
finger print is not strong. The keyguard will appear after collapsing
NotificationPanelView.
Because StatusBarKeyguardViewManager.mExpansionCallback.onFullyShown
->updateStates should call mStatusBar.setBouncerShowing(true)
before PanelBar.mExpanded = false but
StatusBarKeyguardViewManager.mBouncer.isShowing() return false,
StatusBarKeyguardViewManager.updateStates doesn't call
mStatusBar.setBouncerShowing.
After PanelBar.mExpanded = false, PhoneStatusBarView post runnable
mHideExpandedRunnable to show the Bouncer and make the Bouncer to be
showing and then change the NotificationPanelView to be VISIBLE.
The solution is to call
mStatusBarKeyguardViewManager.showBouncer(false) before calling
mStatusBarKeyguardViewManager.animateCollapsePanels(
FINGERPRINT_COLLAPSE_SPEEDUP_FACTOR). To make the
KeyguardBouncer.mRoot to be VISIBLE by KeyguardBouncer.mShowRunnable.
Bug:
78490344
Test: atest SystemUITests
Change-Id: Ia8770cd3ca98007574c0ba18c0464fc2f58b7973
Calin Juravle [Tue, 8 May 2018 19:42:30 +0000 (12:42 -0700)]
Process "dalvik.vm.profilebootimage" system property
Read the profile boot image property and pass the appropriate flags to the
android runtime.
Test: build, flash and check properties
Bug:
73313191
(cherry picked from commit
62cd4bbcaaedf512286c21475389bfbd3caba685)
Merged-In: Ife7da810aa9b1bc6aa5ca14a0d937f4829942391
Change-Id: Ife7da810aa9b1bc6aa5ca14a0d937f4829942391
Michael Kwan [Wed, 9 May 2018 01:53:50 +0000 (01:53 +0000)]
Merge "Add watch specific tweaks to global actions layouts." into pi-dev
Nathan Harold [Thu, 26 Apr 2018 18:47:14 +0000 (11:47 -0700)]
[DO NOT MERGE] Use INetd Constant for IpSec Interface Prefix
Convert to using a constant in INetd to ensure
that there is a consistent tunnel prefix between
Java and native code.
Bug:
74560705
Test: atest FramworksNetTest; atest CtsNetTestCases
Change-Id: Ida233aac2e6c6b26567463964e0ebac9d52eff1e
Jack He [Tue, 8 May 2018 21:51:07 +0000 (14:51 -0700)]
AudioService: Do not disconnect SCO started externally
* AudioService should not disconnect Bluetooth SCO if it is started
externally
* When SCO has already started externally, all SCO connection attempts
through AudioManager API will fail with SCO_AUDIO_STATE_DISCONNECTED
intent
* Remove SCO_STATE_DEACTIVATE_EXT_REQ state since AudioService could no
longer disconnect SCO audio that is started externally
* Change SCO_STATE_* values so that they are consecutive
Bug:
79407565
Test: With Bluetooth HFP device connected:
Test1: make a outgoing call
Test2: make VoIP call during cellular call
Test3: make a VoIP call during another VoIP call
Change-Id: I1e0a10aeb0eac59d4826f9defa595aebd85f534c
Chenjie Yu [Wed, 9 May 2018 00:53:09 +0000 (00:53 +0000)]
Merge "fix cts error on x86 simulator" into pi-dev
Suprabh Shukla [Wed, 9 May 2018 00:39:24 +0000 (17:39 -0700)]
Changed doze-light timeouts
Being more aggressive while entering doze light.
Test: "adb shell dumpsys deviceidle" should show
light_after_inactive_to=+3m0s0ms
light_pre_idle_to=+3m0s0ms
Bug:
79418894
Change-Id: I58c854e191f488f71830272ae36642acb5305999
android-build-team Robot [Wed, 9 May 2018 00:25:31 +0000 (00:25 +0000)]
Merge "Fix statsd returning uidmap with empty reports." into pi-dev
Yohei Yukawa [Wed, 9 May 2018 00:11:33 +0000 (17:11 -0700)]
Fix a typo in the API doc of TextView#setKeyListener()
Fix:
79436805
Test: make -j docs
Then check out/target/common/docs/offline-sdk/reference/android/widget/TextView.html#setKeyListener(android.text.method.KeyListener)
Change-Id: I6c0d2a3af9434240c4e6e931185bc4f21b2e2b52
Siarhei Vishniakou [Fri, 4 May 2018 23:08:22 +0000 (16:08 -0700)]
Add full unlock gesture to FalsingManager
When FalsingManager.onBouncerShown() is called, this will cause the
MotionEvents to no longer be added to the HumanInteractionClassifier,
which means that the classifier will have to work with only partial
gesture, and will not be able to make a proper decision on unlock. This
would cause many valid unlock gestures to fail.
Instead, record the state of the bouncer visibility at the beginning of
each MotionEvent (on ACTION_DOWN). Then, if the bouncer was not visible,
add the full gesture to the HumanInteractionClassifier.
Test: recorded a valid unlock event with inputstudio, then replayed it
with and without the change. Consistently succeeded with unlock with
this patch, and failed many times (but not always) before the change.
Bug:
71762354
Change-Id: Ib93f21bff19c36aa296ddf6ed9a0a3e879eeb69c
Bo Zhu [Tue, 1 May 2018 00:15:56 +0000 (17:15 -0700)]
Change the root of trust for CryptAuth Vault Service
Change-Id: I99899e7e6c090cf22cf31b0b4d5fd3e33dcb2f8f
Bug:
78920513
Test: adb shell am instrument -w -e package
com.android.server.locksettings.recoverablekeystore
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
android-build-team Robot [Tue, 8 May 2018 23:31:40 +0000 (23:31 +0000)]
Merge "Should not use the absolute value when the value does not change." into pi-dev
Yangster-mac [Tue, 8 May 2018 23:10:32 +0000 (16:10 -0700)]
Fix the flaky gauge/value e2e test due to cached events.
Test: statsd test
BUG: b/
79265262
Change-Id: I4d67f1c2edb6215a3cea23f8c7b2e8d5099c4aac
Mårten Kongstad [Thu, 16 Nov 2017 12:07:30 +0000 (13:07 +0100)]
OMS: harden permission checks
The IOverlayManager.aidl interface is protected by certain permissions.
The overlay manager implements the permission checks by calling
enforceCallingOrSelfPermission, but this method needlessly includes the
permissions of system_server in the check.
Harden the permission checks by switching from
enforceCallingOrSelfPermission to enforceCallingPermission.
Bug:
78809702
Test: atest OverlayHostTests OverlayDeviceTests
Change-Id: I5851dd1683adf644ea8e5a58dce4d7377664342e
Mårten Kongstad [Wed, 21 Feb 2018 08:54:33 +0000 (09:54 +0100)]
Print correct version code when skipping outdated system packages
When a newer version of a package exists on /data, the package manager
will skip scanning the outdated version on /system. As part of this the
following is printed to logcat:
Package <name> at <path> ignored: updated version <new-version>
better than this <old-version>
Teach the package manager to read <new-version> from the correct
variable (it used to be identical to <old-version>).
Bug:
78871949
Test: manual (upgrade a pre-installed app, check logcat on reboot)
Change-Id: Iaa4e43d2f91ca33a0e56e90c233d5d02abed781e
Mårten Kongstad [Wed, 21 Feb 2018 09:43:13 +0000 (10:43 +0100)]
Fix NPE in package manager when asserting overlays
When a newer version of a package exists on /data, the package manager
will skip scanning the outdated version on /system. This means the
PackageSetting.pkg corresponding to the outdated version will be null.
This will cause an NPE when asserting that an upgraded overlay is
non-static (<overlay isStatic="false">). Prevent the exception by
checking for null, and, if needed, explicitly scan the outdated version
of the overlay within the scope of the assertion.
Bug:
78871949
Test: manual (have a pre-installed overlay, adb install a newer version, reboot)
Change-Id: I74d12c913705309dbb34f837b6806bb0fef25086
android-build-team Robot [Tue, 8 May 2018 22:53:48 +0000 (22:53 +0000)]
Merge "Fade in/out onboarding tips." into pi-dev
android-build-team Robot [Tue, 8 May 2018 22:42:24 +0000 (22:42 +0000)]
Merge "Add null check before checking overlay" into pi-dev
Chenjie Yu [Wed, 18 Apr 2018 23:25:36 +0000 (16:25 -0700)]
fix cts error on x86 simulator
Bug:
78242568
Fix:
78242568
Test: cts test
Change-Id: I235991c7c5b7c5a0d660ebaaff1356cc69fd1854
Mårten Kongstad [Mon, 9 Apr 2018 12:29:36 +0000 (14:29 +0200)]
Add missing fields to OverlayInfo.hashCode
OverlayInfo.category was inadvertently omitted when calculating the hash
code for an OverlayInfo.
Bug:
78809702
Test: atest OverlayHostTests OverlayDeviceTests
Change-Id: Id196307f75569d851503ffd8ef778aec50c2de37
fionaxu [Tue, 8 May 2018 18:57:53 +0000 (11:57 -0700)]
add install action for carrier id to system API
Bug:
79426800
Test: Manual
Change-Id: Icd3e9ae527dc17ab5762aa57df596f058de08d5b
Yangster [Tue, 8 May 2018 22:12:30 +0000 (15:12 -0700)]
Should not use the absolute value when the value does not change.
Test: statsd test
BUG: b/
79265262
Change-Id: Ic654e1a07a505ec0e073a41fb41bcd38a29b125e
David Brazdil [Tue, 8 May 2018 21:53:45 +0000 (21:53 +0000)]
Merge "Greylist cloned SDK fields" into pi-dev
android-build-team Robot [Tue, 8 May 2018 21:41:34 +0000 (21:41 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Patrick Baumann [Tue, 8 May 2018 21:31:45 +0000 (14:31 -0700)]
Add null check before checking overlay
This change prevents an NPE that was occurring when the package
for a given setting was assumed to be non-null while dumping
package information for e.g. adb shell dumpsys package
Test: manual - adb shell dumpsys package is no longer malformed
Change-Id: Idaf6a6b82f1fb450848faa15f19ee08085605bdb
Fixes:
79268525
Rohan Shah [Tue, 8 May 2018 21:23:43 +0000 (14:23 -0700)]
[Notif] Revert dismiss-to-view threshold to .8
Lower how frequently users will see the blocking helper in preparation
for the experiment + file reset.
Test: Manual val change, tests pass
Bug:
77143005
Change-Id: Ie49dc5c08e7a5a6c30b3f38356e312d6fb28574e
Tracy Zhou [Tue, 8 May 2018 21:09:44 +0000 (14:09 -0700)]
Fade in/out onboarding tips.
Bug:
79431649
Test: Manual test
Change-Id: I8054f4626f261f6620021b909982276428ccd673
Rohan Shah [Tue, 8 May 2018 21:00:07 +0000 (21:00 +0000)]
Merge "Add knobs for tweaking blocking helper thresholds" into pi-dev
Phil Weaver [Tue, 8 May 2018 20:59:27 +0000 (20:59 +0000)]
Merge "Revert Nav bar contrast under magnification" into pi-dev
Makoto Onuki [Tue, 8 May 2018 20:25:11 +0000 (20:25 +0000)]
Merge "Pre-cache more system servers" into pi-dev
Ying Zheng [Tue, 8 May 2018 20:22:09 +0000 (20:22 +0000)]
Merge "Deprecate UserManagerHelper in SettingsLib, use CarUserManagerHelper." into pi-dev
jiabin [Mon, 7 May 2018 22:16:44 +0000 (15:16 -0700)]
Fix shutter sound cannot enable.
Bug:
79307231
Test: run cts and take picture with/withour dnd mode.
Change-Id: I9d4166d07b38ffae735aa63dad075bdb2def9a5a
Alex Chau [Mon, 30 Apr 2018 16:51:56 +0000 (17:51 +0100)]
Introduce hidden constant EXTRA_PROVISIONING_USE_MOBILE_DATA
- EXTRA_PROVISIONING_USE_MOBILE_DATA is to indicate mobile data should be used for device owner provisioning
- This constant is hidden as API for P is already frozen. The constant hardcoded by developers in a QR code or NFC payload, which should work in P regardless if the constant is hidden.
- Our team will be responsible of communicating this new extra to developers desposite it's not appearing in public javadoc
Bug:
78594515
Test: None
Change-Id: I06000cf9156ef54adc3c8fe12fdb3fa73075a859
android-build-team Robot [Tue, 8 May 2018 19:27:47 +0000 (19:27 +0000)]
Merge "Use the non-chained interface for mobile/wifi power atoms." into pi-dev
Bill Yi [Tue, 8 May 2018 19:01:09 +0000 (12:01 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I96be3cc38b6c433685e187b85303a1ed584b6108
Beverly [Tue, 8 May 2018 18:56:03 +0000 (14:56 -0400)]
Set app name when notification is updated
- Setting app name updates the content description for a11y
Change-Id: I77cc7e3299802dec4284b800086d313c41b1056b
Fixes:
75282248
Test: manual
Philip P. Moltmann [Tue, 8 May 2018 18:51:19 +0000 (18:51 +0000)]
Merge "Disable throttling of SoundTrigger" into pi-dev
android-build-team Robot [Tue, 8 May 2018 18:45:30 +0000 (18:45 +0000)]
Merge "Adding a utility class for listening disable rotation changes" into pi-dev