OSDN Git Service

android-x86/frameworks-base.git
6 years agopm shell command to uninstall system updates
Patrick Baumann [Mon, 12 Feb 2018 19:45:23 +0000 (11:45 -0800)]
pm shell command to uninstall system updates

This change introduces a new package manager shell command that
will automatically uninstall any updated system apps, falling back
to the version that is prebaked into the system image.

Change-Id: Ic2952394baadeea6286e0a87343201e564ffdfb9
Fixes: 21088599
Test: manual - run before SUW and after; see updates uninstalled

6 years agoMerge "Add OWNERS for preferences"
TreeHugger Robot [Tue, 13 Feb 2018 13:17:21 +0000 (13:17 +0000)]
Merge "Add OWNERS for preferences"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 13 Feb 2018 13:11:42 +0000 (13:11 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Haptic feedback when ringer set to vibrate"
TreeHugger Robot [Tue, 13 Feb 2018 13:03:19 +0000 (13:03 +0000)]
Merge "Haptic feedback when ringer set to vibrate"

6 years agoAdd OWNERS for preferences
Clara Bayarri [Tue, 13 Feb 2018 11:19:34 +0000 (11:19 +0000)]
Add OWNERS for preferences

Test: none
Change-Id: I1679ba3f10a89a4076888936aebf067c371bcf27

6 years agoMerge "JAudioTrack: Create StreamEventCallback in MediaPlayer2Impl"
TreeHugger Robot [Tue, 13 Feb 2018 11:25:32 +0000 (11:25 +0000)]
Merge "JAudioTrack: Create StreamEventCallback in MediaPlayer2Impl"

6 years agoMerge "MediaBrowser2: Add search related methods"
Hyundo Moon [Tue, 13 Feb 2018 10:52:06 +0000 (10:52 +0000)]
Merge "MediaBrowser2: Add search related methods"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 13 Feb 2018 10:41:03 +0000 (10:41 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Updates to Telecom API docs for clarity." am: e845bddb40 am: 8fe8f5fa9b
Tyler Gunn [Tue, 13 Feb 2018 10:13:48 +0000 (10:13 +0000)]
Merge "Updates to Telecom API docs for clarity." am: e845bddb40 am: 8fe8f5fa9b
am: 82d572ed07

Change-Id: I2699c25dd3a309eed0742dc87b636a9b96d32e96

6 years agoMerge "Updates to Telecom API docs for clarity." am: e845bddb40
Tyler Gunn [Tue, 13 Feb 2018 10:01:58 +0000 (10:01 +0000)]
Merge "Updates to Telecom API docs for clarity." am: e845bddb40
am: 8fe8f5fa9b

Change-Id: I0a18edd6dc7347b7b08d59ab89f767b98fde1372

6 years agoMerge "Updates to Telecom API docs for clarity."
Tyler Gunn [Tue, 13 Feb 2018 09:46:21 +0000 (09:46 +0000)]
Merge "Updates to Telecom API docs for clarity."
am: e845bddb40

Change-Id: I9b988dc7e70b9b9f1c30fa6991d841183850a49a

6 years agoMerge "Fix work profile shortcut launch"
TreeHugger Robot [Tue, 13 Feb 2018 09:07:36 +0000 (09:07 +0000)]
Merge "Fix work profile shortcut launch"

6 years agoMerge "Don't put android.os.Parcelable in framework.aidl" am: 0872f6d5e3 am: 6864210fe2
Colin Cross [Tue, 13 Feb 2018 08:41:41 +0000 (08:41 +0000)]
Merge "Don't put android.os.Parcelable in framework.aidl" am: 0872f6d5e3 am: 6864210fe2
am: 37ba3de333

Change-Id: Ib8d8277171ede82ea4626b6d2de2fcb9c1a1d307

6 years agoMerge "Use external/robolectric-shadows/run_robotests.mk"
TreeHugger Robot [Tue, 13 Feb 2018 08:34:43 +0000 (08:34 +0000)]
Merge "Use external/robolectric-shadows/run_robotests.mk"

6 years agoMediaBrowser2: Add search related methods
Hyundo Moon [Mon, 5 Feb 2018 08:17:03 +0000 (17:17 +0900)]
MediaBrowser2: Add search related methods

This CL adds following APIs:
 - BrowserCallback#onSearchResultChanged
 - BrowserCallback#onSearchResultLoaded (previously onSearchResult)
 - MediaLibrarySessionCallback#onLoadSearchResult

This CL also fixes conflicting @NonNull/@Nullable annotations in
MediaItem2 methods.

Bug: 72786724
Test: Builds successfully
Change-Id: Ica90ca6b47f33cd3d457a28598a035a00d144dfa

6 years agoMerge "Don't put android.os.Parcelable in framework.aidl" am: 0872f6d5e3
Colin Cross [Tue, 13 Feb 2018 07:51:59 +0000 (07:51 +0000)]
Merge "Don't put android.os.Parcelable in framework.aidl" am: 0872f6d5e3
am: 6864210fe2

Change-Id: I17a5277ece615569670f5f8ea9c2ed42fb473a52

6 years agoMerge "Remove sending broadcast when StatsLogProcessor is being initialized as its...
TreeHugger Robot [Tue, 13 Feb 2018 07:48:41 +0000 (07:48 +0000)]
Merge "Remove sending broadcast when StatsLogProcessor is being initialized as its clients have not started to receive broadcasts"

6 years agoMerge "Don't put android.os.Parcelable in framework.aidl"
Colin Cross [Tue, 13 Feb 2018 07:29:51 +0000 (07:29 +0000)]
Merge "Don't put android.os.Parcelable in framework.aidl"
am: 0872f6d5e3

Change-Id: I3f6344774b44b43e2ec18f56c0a49fffc58a8629

6 years agoMerge "Statsd Anomaly Detection fixes"
TreeHugger Robot [Tue, 13 Feb 2018 07:19:18 +0000 (07:19 +0000)]
Merge "Statsd Anomaly Detection fixes"

6 years agoMerge "Updates to Telecom API docs for clarity."
Treehugger Robot [Tue, 13 Feb 2018 07:09:36 +0000 (07:09 +0000)]
Merge "Updates to Telecom API docs for clarity."

6 years agoMerge "Enable pause logging."
Winson Chung [Tue, 13 Feb 2018 05:55:50 +0000 (05:55 +0000)]
Merge "Enable pause logging."

6 years agoMerge "[RTT] Add error code for Responder not support IEEE 802.11mc"
Etan Cohen [Tue, 13 Feb 2018 05:13:44 +0000 (05:13 +0000)]
Merge "[RTT] Add error code for Responder not support IEEE 802.11mc"

6 years agoMerge "Send SHUTDOWN bc to registered receivers only"
TreeHugger Robot [Tue, 13 Feb 2018 04:32:02 +0000 (04:32 +0000)]
Merge "Send SHUTDOWN bc to registered receivers only"

6 years agoMerge "Allow setting alarm to the same time as an earlier one"
TreeHugger Robot [Tue, 13 Feb 2018 04:22:04 +0000 (04:22 +0000)]
Merge "Allow setting alarm to the same time as an earlier one"

6 years agoMerge "API Review: Nullability annotation for DeviceAdminReceiver device owner user...
TreeHugger Robot [Tue, 13 Feb 2018 04:18:32 +0000 (04:18 +0000)]
Merge "API Review: Nullability annotation for DeviceAdminReceiver device owner user callback"

6 years agoMerge "Revert "Add logging to MemoryIntArray""
TreeHugger Robot [Tue, 13 Feb 2018 03:13:43 +0000 (03:13 +0000)]
Merge "Revert "Add logging to MemoryIntArray""

6 years agoMerge "MediaBrowser2: Supplement javadoc for getItem/getChildren methods"
TreeHugger Robot [Tue, 13 Feb 2018 03:13:10 +0000 (03:13 +0000)]
Merge "MediaBrowser2: Supplement javadoc for getItem/getChildren methods"

6 years agoMerge "Simplify volume dialog title for a11y"
TreeHugger Robot [Tue, 13 Feb 2018 03:02:05 +0000 (03:02 +0000)]
Merge "Simplify volume dialog title for a11y"

6 years agoMerge "Added owners" am: 492f249dbb am: ea014edb58
Jack Yu [Tue, 13 Feb 2018 01:05:28 +0000 (01:05 +0000)]
Merge "Added owners" am: 492f249dbb am: ea014edb58
am: 7532fc8bb9

Change-Id: Ia27fa85e62aa0aff1e63a4eda308f1f491d6f7a3

6 years agoMerge "Added owners" am: 492f249dbb
Jack Yu [Tue, 13 Feb 2018 00:49:42 +0000 (00:49 +0000)]
Merge "Added owners" am: 492f249dbb
am: ea014edb58

Change-Id: I6c7ff430af33899c534a9f70139ef7cf6cc1cfbf

6 years agoMerge "Added owners"
Jack Yu [Tue, 13 Feb 2018 00:35:49 +0000 (00:35 +0000)]
Merge "Added owners"
am: 492f249dbb

Change-Id: Ib499c266a78bcae2fb779b3782ef82a92d843d4b

6 years agoMerge "Add more hidden APIs into light greylist"
David Brazdil [Mon, 12 Feb 2018 23:54:28 +0000 (23:54 +0000)]
Merge "Add more hidden APIs into light greylist"

6 years agoFix work profile shortcut launch
Makoto Onuki [Tue, 6 Feb 2018 21:36:34 +0000 (13:36 -0800)]
Fix work profile shortcut launch

Shortcuts let the launcher start activities on work profile, so we can't apply
the usual cross-user startActivity check.

LauncherApps already checks the calling user and the target user relationship,
so let's just skip the handleIncomingUser check.

Bug: 72659387
Test: atest CtsShortcutManagerTestCases
Test: atest ${ANDROID_BUILD_TOP}/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ShortcutManagerMultiuserTest.java

Change-Id: I3b6179af0c9d5e54ed8fd57c9c830f7a6ecec9da

6 years agoUpdates to Telecom API docs for clarity.
Tyler Gunn [Thu, 8 Feb 2018 19:28:33 +0000 (11:28 -0800)]
Updates to Telecom API docs for clarity.

- Update Connection onAnswer/onReject docs to make it more clear for
a self-managed connectionservice that these methods could be called by
the framework or by a car mode in call service.
- Update the Connection onShowIncomingCallUI method to take into account
the new concurrent calling capabilities in P.

Test: Docs only change
Bug: 73112552
Change-Id: Icb47aa15d03d4bfc05380948e30686317124301e

6 years agoMerge "Camera2: Revise MOTION_TRACKING capability"
Eino-Ville Talvala [Mon, 12 Feb 2018 23:16:59 +0000 (23:16 +0000)]
Merge "Camera2: Revise MOTION_TRACKING capability"

6 years agoMerge "Views with autofill hints should be considered important in auto mode."
Felipe Leme [Mon, 12 Feb 2018 23:16:48 +0000 (23:16 +0000)]
Merge "Views with autofill hints should be considered important in auto mode."

6 years agoRevert "Add logging to MemoryIntArray"
Philip P. Moltmann [Mon, 12 Feb 2018 22:50:00 +0000 (22:50 +0000)]
Revert "Add logging to MemoryIntArray"

This reverts commit 6d8f30bee76f5f9cd97697a7aa5108c73df12057.

Reason for revert: No more bug reports, logging not needed anymore

Change-Id: I4b3150ac76f509c5baf75f10b58330d332836b97

6 years ago[RTT] Add error code for Responder not support IEEE 802.11mc
Etan Cohen [Mon, 12 Feb 2018 19:25:30 +0000 (11:25 -0800)]
[RTT] Add error code for Responder not support IEEE 802.11mc

Add an error code which will be used when the Responder does not
support IEEE 802.11mc - and by implication when such non-support
results in an error.

Note: @hide for now - will be unhidden in a subsequent CL.

Bug: 72975604
Test: unit tests, integration tests
Change-Id: I903abe6cfe19e771e4e4cdaadec48e82f009cbf3

6 years agoMerge "Don't put android.os.Parcelable in framework.aidl"
Treehugger Robot [Mon, 12 Feb 2018 22:44:39 +0000 (22:44 +0000)]
Merge "Don't put android.os.Parcelable in framework.aidl"

6 years agoMerge "Added owners"
Jack Yu [Mon, 12 Feb 2018 22:39:00 +0000 (22:39 +0000)]
Merge "Added owners"

6 years agoAdd more hidden APIs into light greylist
David Brazdil [Mon, 12 Feb 2018 18:29:42 +0000 (18:29 +0000)]
Add more hidden APIs into light greylist

Early results from manual testing of ~600 top apps in app stores.

Test: make
Bug: 64382372
Change-Id: Ie6878e832bd8d38a7149e6e677b8bfc73e95cfe3

6 years agoMerge "Do not show blocking helper if user likes channel"
TreeHugger Robot [Mon, 12 Feb 2018 22:30:26 +0000 (22:30 +0000)]
Merge "Do not show blocking helper if user likes channel"

6 years agoRemove sending broadcast when StatsLogProcessor is being initialized as
yro [Thu, 8 Feb 2018 19:12:28 +0000 (11:12 -0800)]
Remove sending broadcast when StatsLogProcessor is being initialized as
its clients have not started to receive broadcasts

This also fixes broken statsd_test's which happens whenever there are
files in /data/misc/stats-data/ which is generated right before reboots.
This would delay the upload time from right after reboot to next upload
cycle but it should not be an issue.

Bug: 73089712
Test: statsd_test
Change-Id: Ida81099c9c9e54804a0c3b3b349096312ef570bc

6 years agoMerge "Public EuiccManager APIs."
Qingxi Li [Mon, 12 Feb 2018 22:09:53 +0000 (22:09 +0000)]
Merge "Public EuiccManager APIs."

6 years agoAllow setting alarm to the same time as an earlier one
Suprabh Shukla [Mon, 12 Feb 2018 20:53:23 +0000 (12:53 -0800)]
Allow setting alarm to the same time as an earlier one

With alarm deferring, we may end up rescheduling an alarm to the exact
time we set the previous kernel alarm to. Removing the optimization to
prevent duplicate sets, as otherwise we may end up being in a bad state
of no kernel alarm set. Also added the field maxWhenElapsed to the alarm
dump for more details in the bugreports.

Test: Builds. Boots. Existing tests pass:
atest CtsAlarmManagerTestCases

Bug: 73069486
Change-Id: Iade4549b399def57902b644b1d50945722e60c28

6 years agoMerge "Fix FLAG_EXEMPT_FROM_APP_STANDBY check"
TreeHugger Robot [Mon, 12 Feb 2018 21:53:48 +0000 (21:53 +0000)]
Merge "Fix FLAG_EXEMPT_FROM_APP_STANDBY check"

6 years agoHaptic feedback when ringer set to vibrate
Beverly [Mon, 12 Feb 2018 21:45:54 +0000 (16:45 -0500)]
Haptic feedback when ringer set to vibrate

Test: manual
Change-Id: Iaf889f2ee313cc9f16b361928ab8b62a41ef277a
Fixes: 70937425

6 years agoMerge "Small fix to anomaly tracker in statsd."
TreeHugger Robot [Mon, 12 Feb 2018 21:43:08 +0000 (21:43 +0000)]
Merge "Small fix to anomaly tracker in statsd."

6 years agoEnable pause logging.
Winson Chung [Mon, 12 Feb 2018 21:23:44 +0000 (13:23 -0800)]
Enable pause logging.

Bug: 72927558
Test: None, just enabling debug flags
Change-Id: Ib1b2082ab082f5c6db7b37fd2f4e4864f02af6ca

6 years agoMerge "STATSD_STARTED broadcast include background"
TreeHugger Robot [Mon, 12 Feb 2018 20:50:24 +0000 (20:50 +0000)]
Merge "STATSD_STARTED broadcast include background"

6 years agoMerge "Remove battery from bluetooth tile icon"
TreeHugger Robot [Mon, 12 Feb 2018 20:47:48 +0000 (20:47 +0000)]
Merge "Remove battery from bluetooth tile icon"

6 years agoMerge "Merge "Overload setTelephonyProperty without phone ID" am: f27242dbd6 am:...
Android Build Merger (Role) [Mon, 12 Feb 2018 20:40:52 +0000 (20:40 +0000)]
Merge "Merge "Overload setTelephonyProperty without phone ID" am: f27242dbd6 am: 22189a729a am: de387f3298"

6 years agoMerge "Overload setTelephonyProperty without phone ID" am: f27242dbd6 am: 22189a729a
Jordan Liu [Mon, 12 Feb 2018 20:39:41 +0000 (20:39 +0000)]
Merge "Overload setTelephonyProperty without phone ID" am: f27242dbd6 am: 22189a729a
am: de387f3298

Change-Id: I479c3220cd9f9aef1bdf4184a6a268240218657e

6 years agoMerge "Fix AnimatedImageDrawable drawn in software"
TreeHugger Robot [Mon, 12 Feb 2018 20:38:17 +0000 (20:38 +0000)]
Merge "Fix AnimatedImageDrawable drawn in software"

6 years agoMerge "Use activity-alias to show usb debugging dialog"
Beverly Tai [Mon, 12 Feb 2018 20:33:28 +0000 (20:33 +0000)]
Merge "Use activity-alias to show usb debugging dialog"

6 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 12 Feb 2018 20:33:01 +0000 (12:33 -0800)]
Import translations. DO NOT MERGE

Change-Id: Id44d1390e9b218fc8df8f9de954fce66cb1124dd
Auto-generated-cl: translation import

6 years agoStatsd Anomaly Detection fixes
Bookatz [Thu, 8 Feb 2018 02:51:48 +0000 (18:51 -0800)]
Statsd Anomaly Detection fixes

Minor fixes and notes regarding the setting of refractory periods and
anomaly alarms.
Also changes the anomaly alarms from inexact to exact.

Test: run cts-dev -m CtsStatsdHostTestCases -t android.cts.statsd.alert.AnomalyDetectionTests
Change-Id: Ia4f4c84dd647ebbbad4bab66164cd7709f8628e8

6 years agoMerge "Overload setTelephonyProperty without phone ID" am: f27242dbd6
Jordan Liu [Mon, 12 Feb 2018 20:19:37 +0000 (20:19 +0000)]
Merge "Overload setTelephonyProperty without phone ID" am: f27242dbd6
am: 22189a729a

Change-Id: I9d8182751f5303258083e0b0d0825902d06225d1

6 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 12 Feb 2018 20:13:10 +0000 (12:13 -0800)]
Import translations. DO NOT MERGE

Change-Id: I36d9cf50118ac8babed3973b1b23f59695433e70
Auto-generated-cl: translation import

6 years agoAdded owners
Jack Yu [Mon, 12 Feb 2018 20:07:34 +0000 (12:07 -0800)]
Added owners

Test: Build
Change-Id: I95104f646bc054e4ad9a6807d6e3df69f1e00d75

6 years agoMerge "Overload setTelephonyProperty without phone ID"
Jordan Liu [Mon, 12 Feb 2018 20:06:06 +0000 (20:06 +0000)]
Merge "Overload setTelephonyProperty without phone ID"
am: f27242dbd6

Change-Id: I75fdeb6067b2917899f8b54d3e2857beb5d13c52

6 years agoMerge "Statsd CPU optimization."
TreeHugger Robot [Mon, 12 Feb 2018 19:53:56 +0000 (19:53 +0000)]
Merge "Statsd CPU optimization."

6 years agoMerge "Move SignalDrawable to SettingsLib so every can enjoy it"
TreeHugger Robot [Mon, 12 Feb 2018 19:49:29 +0000 (19:49 +0000)]
Merge "Move SignalDrawable to SettingsLib so every can enjoy it"

6 years agoMerge "Revert "Fix issue #72116995: Add permission guarding Service#startForeground""
TreeHugger Robot [Mon, 12 Feb 2018 19:47:35 +0000 (19:47 +0000)]
Merge "Revert "Fix issue #72116995: Add permission guarding Service#startForeground""

6 years agoCamera2: Revise MOTION_TRACKING capability
Eino-Ville Talvala [Tue, 6 Feb 2018 00:25:40 +0000 (16:25 -0800)]
Camera2: Revise MOTION_TRACKING capability

Simplify the API for the P release.

Test: Revised Camera CTS passes
Bug: 63629224
Change-Id: I3464bd114a2bf4bd866aaf37e942c01114b75a15

6 years agoViews with autofill hints should be considered important in auto mode.
felipeal [Wed, 7 Feb 2018 15:48:38 +0000 (16:48 +0100)]
Views with autofill hints should be considered important in auto mode.

Test: atest CtsAutoFillServiceTestCases:FatActivityTest

Fixes: 72836107

Change-Id: I0b68cd5f5e8b0c382bdd7a648ecc82a3c50c3325

6 years agoMerge "Revert incorrect NonNull assertions in ColorStateList loading"
TreeHugger Robot [Mon, 12 Feb 2018 19:17:14 +0000 (19:17 +0000)]
Merge "Revert incorrect NonNull assertions in ColorStateList loading"

6 years agoSimplify volume dialog title for a11y
Phil Weaver [Mon, 12 Feb 2018 18:40:31 +0000 (10:40 -0800)]
Simplify volume dialog title for a11y

The dialog was asked to essentially self-voice its
transitions a couple of years back. This isn't consistent
with our general guidelines for a11y, and isn't easy to
support. Rather than updating the messages, which will
still leave this dialog inconsistent with others, I'm
just deleting the extra code.

Just setting the dialog's title to the correct string is
enough for GAR, so I've added that back in.

Bug: 73170352
Test: Confirming with TestBack that the correct title is
sent to accessibility services when the window appears.

Change-Id: If219f86e43fa262604a09226a02bdd4c08ae4c1a

6 years agoMerge "Add performance tests for Service"
TreeHugger Robot [Mon, 12 Feb 2018 19:06:00 +0000 (19:06 +0000)]
Merge "Add performance tests for Service"

6 years agoMerge "New autofill APIs to get importantForAutofill mode on ViewNodes."
TreeHugger Robot [Mon, 12 Feb 2018 19:04:42 +0000 (19:04 +0000)]
Merge "New autofill APIs to get importantForAutofill mode on ViewNodes."

6 years agoStatsd CPU optimization.
Yao Chen [Thu, 8 Feb 2018 22:50:40 +0000 (14:50 -0800)]
Statsd CPU optimization.

The key change is to revamp how we parse/store/match a log event, especially how we match repeated
field and attribution nodes, and how we construct dimensions and compare them.

+ We use a integer to encode the field of a log element. And also encode the FieldMatcher into an
integer and a bit mask. The log matching becomes 2 integer operations.

+ Dimension is stored as encoded field and value pair. Checking if 2 dimensions are equal is then
  becoming checking if the underlying integers are equal. The integers are stored contiguously
  in memory, so it's much faster than previous tree structure.

Start review from FieldValue.h

Test: statsd_test + new unit tests

Bug: 72659059

Change-Id: Iec8daeacdd3f39ab297c10ab9cd7b710a9c42e86

6 years agoMerge "Expose an update_engine API that verifies the given payload metadata."
Tao Bao [Mon, 12 Feb 2018 18:36:47 +0000 (18:36 +0000)]
Merge "Expose an update_engine API that verifies the given payload metadata."

6 years agoMerge "Fix issue #72151749: Lock down 'clear cache' functionality to..."
TreeHugger Robot [Mon, 12 Feb 2018 18:19:38 +0000 (18:19 +0000)]
Merge "Fix issue #72151749: Lock down 'clear cache' functionality to..."

6 years agoDo not show blocking helper if user likes channel
Julia Reynolds [Mon, 12 Feb 2018 14:55:14 +0000 (09:55 -0500)]
Do not show blocking helper if user likes channel

If a user has previously explicitly set the importance of
a notification, assume the user sentiment is postive regardless of what
the assistant suggests.

Test: runtest systemui,  runtest systemui-notification
Change-Id: I646f0878fb5bb2a28ba17fd0ec11c8cdb64b611d
Fixes: 73231297

6 years agoMerge "Overload setTelephonyProperty without phone ID"
Jordan Liu [Mon, 12 Feb 2018 18:17:24 +0000 (18:17 +0000)]
Merge "Overload setTelephonyProperty without phone ID"

6 years agoMerge "Add more APIs to hidden API greylist"
TreeHugger Robot [Mon, 12 Feb 2018 18:15:36 +0000 (18:15 +0000)]
Merge "Add more APIs to hidden API greylist"

6 years agoMerge "Prevent setting negative alpha for dim animations."
Chavi Weingarten [Mon, 12 Feb 2018 18:01:21 +0000 (18:01 +0000)]
Merge "Prevent setting negative alpha for dim animations."

6 years agoMerge "Revert "Revert "Fix MediaDrm security level APIs"""
TreeHugger Robot [Mon, 12 Feb 2018 17:55:50 +0000 (17:55 +0000)]
Merge "Revert "Revert "Fix MediaDrm security level APIs"""

6 years agoMerge "Added DND icon on muted streams on volume dialog"
Beverly Tai [Mon, 12 Feb 2018 17:41:26 +0000 (17:41 +0000)]
Merge "Added DND icon on muted streams on volume dialog"

6 years agoAdd performance tests for Service
Arthur Eubanks [Tue, 9 Jan 2018 19:40:58 +0000 (11:40 -0800)]
Add performance tests for Service

Test: m ActivityManagerPerfTestsTestApp ActivityManagerPerfTests
Test: adb install \
$OUT/data/app/ActivityManagerPerfTestsTestApp/ActivityManagerPerfTestsTestApp.apk
Test: adb install \
$OUT/data/app/ActivityManagerPerfTests/ActivityManagerPerfTests.apk
Test: adb shell am instrument -w -e class \
com.android.frameworks.perftests.am.tests.ServiceStartPerfTest \
com.android.frameworks.perftests.amtests/android.support.test.runner.AndroidJUnitRunner
Test: adb shell am instrument -w -e class \
com.android.frameworks.perftests.am.tests.ServiceBindPerfTest \
com.android.frameworks.perftests.amtests/android.support.test.runner.AndroidJUnitRunner

BUG: 67460485

Change-Id: I16ea5752def13aabd481aeb29f1af0ac04e75f6a

6 years agoMerge "Non-functional refactor of Location Extras"
Wyatt Riley [Mon, 12 Feb 2018 17:01:10 +0000 (17:01 +0000)]
Merge "Non-functional refactor of Location Extras"

6 years agoAdd more APIs to hidden API greylist
David Brazdil [Mon, 12 Feb 2018 06:57:01 +0000 (06:57 +0000)]
Add more APIs to hidden API greylist

APIs seen in use by common apps.

Bug: 73211878
Bug: 73211350
Bug: 73211163
Bug: 73211208
Bug: 73103890
Bug: 73103761
Test: make
Change-Id: Ic438f4614f6452b14ea07f4c35b39d3be34ff49d

6 years agoUse activity-alias to show usb debugging dialog
Beverly [Fri, 2 Feb 2018 16:40:54 +0000 (11:40 -0500)]
Use activity-alias to show usb debugging dialog

Test: UsbTest in cts verifier
Change-Id: Ib5b6db7175093cc55fadf6c063baa7e6eea71608
Fixes: 73152503

6 years agoRevert "Fix issue #72116995: Add permission guarding Service#startForeground"
Ian Pedowitz [Mon, 12 Feb 2018 16:12:33 +0000 (16:12 +0000)]
Revert "Fix issue #72116995: Add permission guarding Service#startForeground"

This reverts commit a9da85fde4675ed0b03557e448b1cc67f1d391fe.

Reason for revert: b/73224471

Bug: 73224471
Bug: 72116995
Change-Id: I1485305f40d47fdb138cb1e484c329cf20892a6b

6 years agoMerge "CtsShim: build tweaks for 64-bit only builds." am: a869d14343 am: a4428dc5e4
hansson [Mon, 12 Feb 2018 15:23:27 +0000 (15:23 +0000)]
Merge "CtsShim: build tweaks for 64-bit only builds." am: a869d14343 am: a4428dc5e4
am: 60108dce1c

Change-Id: Ifc575a70b4b2fda3155353c78239a35220cf4b7d

6 years agoMerge "Add support for time zone notifications"
Neil Fuller [Mon, 12 Feb 2018 15:14:49 +0000 (15:14 +0000)]
Merge "Add support for time zone notifications"

6 years agoMerge "CtsShim: build tweaks for 64-bit only builds." am: a869d14343
hansson [Mon, 12 Feb 2018 15:10:22 +0000 (15:10 +0000)]
Merge "CtsShim: build tweaks for 64-bit only builds." am: a869d14343
am: a4428dc5e4

Change-Id: I7e9db0098aeb6069dcd1f048a0cd6f690c947815

6 years agoMerge "CtsShim: build tweaks for 64-bit only builds."
hansson [Mon, 12 Feb 2018 14:57:46 +0000 (14:57 +0000)]
Merge "CtsShim: build tweaks for 64-bit only builds."
am: a869d14343

Change-Id: I49f0696119d1aa52e420fa7c676a448d569ea941

6 years agoMerge "Logging for linkify selections"
TreeHugger Robot [Mon, 12 Feb 2018 14:44:35 +0000 (14:44 +0000)]
Merge "Logging for linkify selections"

6 years agoAdded DND icon on muted streams on volume dialog
Beverly [Thu, 8 Feb 2018 22:19:01 +0000 (17:19 -0500)]
Added DND icon on muted streams on volume dialog

Now users cannot toggle off dnd from the volume dialog
since the ringer (volume footer) will be disabled if it's muted by dnd

Test: manual
Change-Id: I7d4dd552e0f791ee52135272d8d0837899abe152
Fixes: 72711020

6 years agoMerge "Fix size of parcelled TextClassification icons."
TreeHugger Robot [Mon, 12 Feb 2018 12:17:58 +0000 (12:17 +0000)]
Merge "Fix size of parcelled TextClassification icons."

6 years agoMerge "More unit tests for PerformBackupTask"
TreeHugger Robot [Mon, 12 Feb 2018 11:07:51 +0000 (11:07 +0000)]
Merge "More unit tests for PerformBackupTask"

6 years agoMerge "WallpaperCropper: Remove dependency on telephony-common."
Narayan Kamath [Mon, 12 Feb 2018 10:59:06 +0000 (10:59 +0000)]
Merge "WallpaperCropper: Remove dependency on telephony-common."

6 years agoMerge "CtsShim: build tweaks for 64-bit only builds."
hansson [Mon, 12 Feb 2018 10:48:30 +0000 (10:48 +0000)]
Merge "CtsShim: build tweaks for 64-bit only builds."

6 years agoUse external/robolectric-shadows/run_robotests.mk
James Lemieux [Mon, 12 Feb 2018 09:30:32 +0000 (01:30 -0800)]
Use external/robolectric-shadows/run_robotests.mk

This allows SettingsLib to test against the latest framework changes.

Also replaced TestConfig with traditional robolectric.properties.

Also reworked the test runner to avoid using deprecated API.

Bug: 73173204
Test: make -j56 RunSettingsLibRoboTests
Change-Id: Iebe130d6542ed7096147e3fff61f9cfd76aad948

6 years agoReplace smart reply boolean setting with key-value list
Petr Cermak [Mon, 5 Feb 2018 19:00:54 +0000 (19:00 +0000)]
Replace smart reply boolean setting with key-value list

This patch replaces the recently introduced
Settings.Global.ENABLE_SMART_REPLIES_IN_NOTIFICATIONS boolean setting
with a new Settings.Global.SMART_REPLIES_IN_NOTIFICATIONS_FLAGS
key-value list.

Rationale: This will allow us to add and tweak smart reply parameters
without polluting the global settings namespace.

Bug: 67765414
Test: atest SmartReplyConstantsTest
Change-Id: I284bb6b31618a234c4772d16ad6190a713035f1b

6 years agoMore unit tests for PerformBackupTask
Bernardo Rufino [Sat, 10 Feb 2018 13:08:52 +0000 (13:08 +0000)]
More unit tests for PerformBackupTask

Around transport and agent failures. Caught a few possible errors, check
TODOs.

Test: m -j RunFrameworksServicesRoboTests
Change-Id: I9d04f4253511032473885ce6c0856c52639f2957

6 years agoAPI Review: Nullability annotation for DeviceAdminReceiver device owner user callback
Alex Chau [Mon, 12 Feb 2018 07:42:10 +0000 (15:42 +0800)]
API Review: Nullability annotation for DeviceAdminReceiver device owner user callback

Bug: 73088491
Test: None
Change-Id: If5c885b128d7447ad80c299b15c2a23a3b648f7d

6 years agoMerge "Greylist java.nio.Buffer.address"
David Brazdil [Mon, 12 Feb 2018 06:31:37 +0000 (06:31 +0000)]
Merge "Greylist java.nio.Buffer.address"

6 years agoMediaBrowser2: Supplement javadoc for getItem/getChildren methods
Hyundo Moon [Tue, 6 Feb 2018 06:20:56 +0000 (15:20 +0900)]
MediaBrowser2: Supplement javadoc for getItem/getChildren methods

Bug: 72786723
Test: Builds successfully
Change-Id: I75c3cc35b6768e14007ad6c0b0bc48b5e92c2fec