OSDN Git Service

android-x86/frameworks-base.git
6 years agoFix incorrect adb shell cmd help command for pull-source
yro [Fri, 17 Nov 2017 21:22:52 +0000 (13:22 -0800)]
Fix incorrect adb shell cmd help command for pull-source

Test: statsd should pass, but it's not required as it's just an update
in help instruction.

Change-Id: I36f4e4794ae8066abdeaac98db5e679a3bcf0a06

6 years agoMerge "Fix Gravity toString wrong message issue"
Qing Xia [Fri, 17 Nov 2017 18:29:57 +0000 (18:29 +0000)]
Merge "Fix Gravity toString wrong message issue"

6 years agoMerge "Move Mutable{Int,Long} from libcore to framework."
Tobias Thierer [Fri, 17 Nov 2017 18:25:24 +0000 (18:25 +0000)]
Merge "Move Mutable{Int,Long} from libcore to framework."

6 years agoMerge "Add a link to the PackageInstaller API demos."
Peter Visontay [Fri, 17 Nov 2017 17:04:29 +0000 (17:04 +0000)]
Merge "Add a link to the PackageInstaller API demos."

6 years agoMerge "Track removal of android.system.Os.{sendfile,waitpid}."
Tobias Thierer [Fri, 17 Nov 2017 15:21:49 +0000 (15:21 +0000)]
Merge "Track removal of android.system.Os.{sendfile,waitpid}."

6 years agoAdd a link to the PackageInstaller API demos.
Peter Visontay [Fri, 17 Nov 2017 14:00:47 +0000 (14:00 +0000)]
Add a link to the PackageInstaller API demos.

Test: Ran "make docs".
Change-Id: I8459bc2a4aaf3827f71a6af5478ff0f30fae6dc3

6 years agoMerge "Drop the second unit from elapsed time if zero"
TreeHugger Robot [Fri, 17 Nov 2017 05:32:56 +0000 (05:32 +0000)]
Merge "Drop the second unit from elapsed time if zero"

6 years agoMerge "Adds CHRE platform ID to ContextHubInfo"
TreeHugger Robot [Fri, 17 Nov 2017 05:07:54 +0000 (05:07 +0000)]
Merge "Adds CHRE platform ID to ContextHubInfo"

6 years agoMerge "Workaround to get passed the broken install flow" am: b0e6508a5b am: af657ae978
Calin Juravle [Fri, 17 Nov 2017 03:04:52 +0000 (03:04 +0000)]
Merge "Workaround to get passed the broken install flow" am: b0e6508a5b am: af657ae978
am: a6b3dc3c42

Change-Id: I359059c4b96248aba45843acf7bff31ecc37b841

6 years agoMerge "Workaround to get passed the broken install flow" am: b0e6508a5b
Calin Juravle [Fri, 17 Nov 2017 02:55:15 +0000 (02:55 +0000)]
Merge "Workaround to get passed the broken install flow" am: b0e6508a5b
am: af657ae978

Change-Id: I57ba9c85e4d5b4e301cb14ba068430c4454a4978

6 years agoAdds CHRE platform ID to ContextHubInfo
Arthur Ishiguro [Thu, 2 Nov 2017 18:30:41 +0000 (11:30 -0700)]
Adds CHRE platform ID to ContextHubInfo

Adds a parameterized constructor and the platform ID to the
ContextHubInfo.

Bug: 67734082
Test: make update-api && make from root
Change-Id: I98822f625c5173cdbd281b24550de434b67b18d3

6 years agoMerge "Workaround to get passed the broken install flow"
Calin Juravle [Fri, 17 Nov 2017 02:46:57 +0000 (02:46 +0000)]
Merge "Workaround to get passed the broken install flow"
am: b0e6508a5b

Change-Id: Icbad0d985b4d8d3e206ee5e426cdd1f58955aec1

6 years agoMerge "Telephony: Allow custom looper for OnSubscriptionsChangedListener" am: 8055aec...
Jack He [Fri, 17 Nov 2017 02:40:58 +0000 (02:40 +0000)]
Merge "Telephony: Allow custom looper for OnSubscriptionsChangedListener" am: 8055aec0da am: a3185b2ff2
am: e778568995

Change-Id: I2cd2414e591fc224364fc286696d910a1ab0b710

6 years agoMerge "Make ripples silky smooth"
TreeHugger Robot [Fri, 17 Nov 2017 02:36:55 +0000 (02:36 +0000)]
Merge "Make ripples silky smooth"

6 years agoMerge "Workaround to get passed the broken install flow"
Calin Juravle [Fri, 17 Nov 2017 02:36:29 +0000 (02:36 +0000)]
Merge "Workaround to get passed the broken install flow"

6 years agoMerge "Telephony: Allow custom looper for OnSubscriptionsChangedListener" am: 8055aec0da
Jack He [Fri, 17 Nov 2017 02:29:10 +0000 (02:29 +0000)]
Merge "Telephony: Allow custom looper for OnSubscriptionsChangedListener" am: 8055aec0da
am: a3185b2ff2

Change-Id: Iaa074f6d99742605537c9f406c848a470c2c777c

6 years agoMerge "Telephony: Allow custom looper for OnSubscriptionsChangedListener"
Jack He [Fri, 17 Nov 2017 02:19:02 +0000 (02:19 +0000)]
Merge "Telephony: Allow custom looper for OnSubscriptionsChangedListener"
am: 8055aec0da

Change-Id: If1757262ce5da5f2ab1055cfb238ea570550f7f7

6 years agoMerge "Write statsd configuration to disk and add cmd to clear it"
Howard Ro [Fri, 17 Nov 2017 02:16:07 +0000 (02:16 +0000)]
Merge "Write statsd configuration to disk and add cmd to clear it"

6 years agoMerge "Revert "Implement front-end APIs for generic vendor-specific parameters.""
TreeHugger Robot [Fri, 17 Nov 2017 02:13:07 +0000 (02:13 +0000)]
Merge "Revert "Implement front-end APIs for generic vendor-specific parameters.""

6 years agoMerge "Telephony: Allow custom looper for OnSubscriptionsChangedListener"
Treehugger Robot [Fri, 17 Nov 2017 02:10:07 +0000 (02:10 +0000)]
Merge "Telephony: Allow custom looper for OnSubscriptionsChangedListener"

6 years agoMerge "Add getProfileParentId (1/2)" am: 7a2c66359a am: b6946d8563
Jakub Pawlowski [Fri, 17 Nov 2017 01:58:04 +0000 (01:58 +0000)]
Merge "Add getProfileParentId (1/2)" am: 7a2c66359a am: b6946d8563
am: 447e453e58

Change-Id: Idd087f45d5fba325f347a8bb0391745ccd0593a0

6 years agoMerge "Add getProfileParentId (1/2)" am: 7a2c66359a
Jakub Pawlowski [Fri, 17 Nov 2017 01:48:14 +0000 (01:48 +0000)]
Merge "Add getProfileParentId (1/2)" am: 7a2c66359a
am: b6946d8563

Change-Id: I3fe6f4300c9321fc57479fc4a9e952d2aa0c73cc

6 years agoMerge "Remove one legacy install path"
TreeHugger Robot [Fri, 17 Nov 2017 01:46:18 +0000 (01:46 +0000)]
Merge "Remove one legacy install path"

6 years agoMerge "Add getProfileParentId (1/2)"
Jakub Pawlowski [Fri, 17 Nov 2017 01:40:05 +0000 (01:40 +0000)]
Merge "Add getProfileParentId (1/2)"
am: 7a2c66359a

Change-Id: Iea965e42bb79f939381971e8dd9466b824606ee0

6 years agoMerge "Add getProfileParentId (1/2)"
Jakub Pawlowski [Fri, 17 Nov 2017 01:33:31 +0000 (01:33 +0000)]
Merge "Add getProfileParentId (1/2)"

6 years agoMerge "Provide remote stack trace information"
Fyodor Kupolov [Fri, 17 Nov 2017 00:51:39 +0000 (00:51 +0000)]
Merge "Provide remote stack trace information"

6 years agoMake ripples silky smooth
John Reck [Thu, 16 Nov 2017 21:44:35 +0000 (13:44 -0800)]
Make ripples silky smooth

* Updates press state ripple to match UX spec
* Makes it ungodly silky smooth LIKE BUTTAH
* Update hover & focus states to be closer to UX spec,
  still needs a final pass.

Bug: 63635160
Test: Clicked on a bunch of stuff

Change-Id: I162ab9d8d669002f2ae511f93b5d9fe67f99c533

6 years agoMerge "Add support for provider proto dump in ActivityManager"
TreeHugger Robot [Fri, 17 Nov 2017 00:29:46 +0000 (00:29 +0000)]
Merge "Add support for provider proto dump in ActivityManager"

6 years agoWrite statsd configuration to disk and add cmd to clear it
yro [Wed, 15 Nov 2017 05:31:43 +0000 (21:31 -0800)]
Write statsd configuration to disk and add cmd to clear it

Test: statsd, statsd_test
Change-Id: Iba37a7f295256d24969185bdde6cbf28f9b89a55

6 years agoRevert "Implement front-end APIs for generic vendor-specific parameters."
Tomasz Wasilczyk [Fri, 17 Nov 2017 00:21:21 +0000 (00:21 +0000)]
Revert "Implement front-end APIs for generic vendor-specific parameters."

This reverts commit 7c22694dc2b0df5a74837f4268f2c1ce6181c49c.

Change-Id: I311166b4cfb55ea032c89a5a7ce49eeaeb02338e

6 years agoWorkaround to get passed the broken install flow
Jeff Sharkey [Thu, 16 Nov 2017 02:07:14 +0000 (19:07 -0700)]
Workaround to get passed the broken install flow

For fresh installs the PM does not set the app uid before invoking
dexopt; so we would always get a bogus GID.

This is a temporary workaround which fixes the GID of newly
installed apps to an arbitrary UNKNOWN gid.

Test: adb install
Bug: 64548938
Bug: 69331247

(cherry picked from commit a73e165c2ea0bb6499b89dd335d6ef878c92b8e9)

Change-Id: I6438ec8cfca88df813e166f9ef5821e62faf524a

6 years agoTelephony: Allow custom looper for OnSubscriptionsChangedListener
Jack He [Thu, 16 Nov 2017 23:54:14 +0000 (15:54 -0800)]
Telephony: Allow custom looper for OnSubscriptionsChangedListener

* Add OnSubscriptionsChangedListener(Looper looper) constructor

Bug: 69429540
Test: Use this constructor in HeadsetPhoneState.java
Change-Id: I37b6c8d970384466527acc8df7a818625865ab16

6 years agoMerge "Minor changes in ChoreographerCompat"
TreeHugger Robot [Thu, 16 Nov 2017 23:16:24 +0000 (23:16 +0000)]
Merge "Minor changes in ChoreographerCompat"

6 years agoMerge "Add MediaMetadata equals to make metadata comparisons easier" am: 12bc5b6289...
Ajay Panicker [Thu, 16 Nov 2017 23:12:23 +0000 (23:12 +0000)]
Merge "Add MediaMetadata equals to make metadata comparisons easier" am: 12bc5b6289 am: 171dec7468
am: 6ba5159291

Change-Id: I75138e80effdebee9ec699065360d3e5cc291775

6 years agoMerge "Add MediaMetadata equals to make metadata comparisons easier" am: 12bc5b6289
Ajay Panicker [Thu, 16 Nov 2017 23:02:43 +0000 (23:02 +0000)]
Merge "Add MediaMetadata equals to make metadata comparisons easier" am: 12bc5b6289
am: 171dec7468

Change-Id: Ie210bbb4a9231377b795ca86219dfab7ee59ff8c

6 years agoMerge "Add MediaMetadata equals to make metadata comparisons easier"
Ajay Panicker [Thu, 16 Nov 2017 22:53:19 +0000 (22:53 +0000)]
Merge "Add MediaMetadata equals to make metadata comparisons easier"
am: 12bc5b6289

Change-Id: Ie622564ba02ec7a39d8f3574ea8885b225596c67

6 years agoMerge "Add MediaMetadata equals to make metadata comparisons easier"
Treehugger Robot [Thu, 16 Nov 2017 22:43:40 +0000 (22:43 +0000)]
Merge "Add MediaMetadata equals to make metadata comparisons easier"

6 years agoMerge "Don't allow 0-sized views to be focused."
Evan Rosky [Thu, 16 Nov 2017 22:42:58 +0000 (22:42 +0000)]
Merge "Don't allow 0-sized views to be focused."

6 years agoMerge "Add "KeyFallback" handling ability to Views"
Evan Rosky [Thu, 16 Nov 2017 21:55:03 +0000 (21:55 +0000)]
Merge "Add "KeyFallback" handling ability to Views"

6 years agoMerge "Fix some bugs found in statsd"
TreeHugger Robot [Thu, 16 Nov 2017 21:28:10 +0000 (21:28 +0000)]
Merge "Fix some bugs found in statsd"

6 years agoMinor changes in ChoreographerCompat
Sunny Goyal [Thu, 16 Nov 2017 21:05:36 +0000 (13:05 -0800)]
Minor changes in ChoreographerCompat

Test: N/A
Change-Id: I2569f9b05d56caa668962d28ec818411bccdbbc5

6 years agoMerge "Implement force-all-apps-standly in job scheduler."
Makoto Onuki [Thu, 16 Nov 2017 20:48:33 +0000 (20:48 +0000)]
Merge "Implement force-all-apps-standly in job scheduler."

6 years agoMerge "Implement front-end APIs for generic vendor-specific parameters."
Tomasz Wasilczyk [Thu, 16 Nov 2017 20:43:43 +0000 (20:43 +0000)]
Merge "Implement front-end APIs for generic vendor-specific parameters."

6 years agoMerge "Handle if mAlwaysUse is not be set"
TreeHugger Robot [Thu, 16 Nov 2017 20:41:08 +0000 (20:41 +0000)]
Merge "Handle if mAlwaysUse is not be set"

6 years agoMerge "Minor optimizations to task loading/screenshot"
Winson Chung [Thu, 16 Nov 2017 20:38:47 +0000 (20:38 +0000)]
Merge "Minor optimizations to task loading/screenshot"

6 years agoMerge "Merge "Bluetooth HID Device API docs and helper" am: a89f6150dc am: 7c005ea373...
Android Build Merger (Role) [Thu, 16 Nov 2017 20:15:38 +0000 (20:15 +0000)]
Merge "Merge "Bluetooth HID Device API docs and helper" am: a89f6150dc am: 7c005ea373 am: 55839ebbb8"

6 years agoAdd MediaMetadata equals to make metadata comparisons easier
Ajay Panicker [Thu, 9 Nov 2017 18:16:35 +0000 (10:16 -0800)]
Add MediaMetadata equals to make metadata comparisons easier

Bug: 68854188
Test: Compare two metadata objects with the same title, album, and
artist
Change-Id: I89d1944bf237f8f3f1c52ccdb8ff385422b19070

6 years agoMerge "Specify the version for Robolectric version"
TreeHugger Robot [Thu, 16 Nov 2017 19:56:27 +0000 (19:56 +0000)]
Merge "Specify the version for Robolectric version"

6 years agoMerge "Update Build#SERIAL docs about deprecation policy"
TreeHugger Robot [Thu, 16 Nov 2017 19:48:21 +0000 (19:48 +0000)]
Merge "Update Build#SERIAL docs about deprecation policy"

6 years agoRemove one legacy install path
Philip P. Moltmann [Tue, 14 Nov 2017 16:34:06 +0000 (08:34 -0800)]
Remove one legacy install path

Also removed everything needed only for this path

Test: Installed app via package installer, adb, google play store
Bug: 65261282
Change-Id: Ia8a03fa5900687cd2adf844ba7e6c07e0537382e

6 years agoMerge "Bluetooth HID Device API docs and helper" am: a89f6150dc am: 7c005ea373
Hansong Zhang [Thu, 16 Nov 2017 19:14:00 +0000 (19:14 +0000)]
Merge "Bluetooth HID Device API docs and helper" am: a89f6150dc am: 7c005ea373
am: 55839ebbb8

Change-Id: Ic655da25a4722a49a982dad68621cf4e669af8fe

6 years agoMerge "Use -Werror in frameworks/base/tools/stats_log_api_gen"
Chih-hung Hsieh [Thu, 16 Nov 2017 19:09:45 +0000 (19:09 +0000)]
Merge "Use -Werror in frameworks/base/tools/stats_log_api_gen"

6 years agoMerge "Use correct user id for permission check for instant foreground service"
TreeHugger Robot [Thu, 16 Nov 2017 19:06:15 +0000 (19:06 +0000)]
Merge "Use correct user id for permission check for instant foreground service"

6 years agoMerge "Allow overlay to add resource."
TreeHugger Robot [Thu, 16 Nov 2017 19:03:05 +0000 (19:03 +0000)]
Merge "Allow overlay to add resource."

6 years agoHandle if mAlwaysUse is not be set
Philip P. Moltmann [Thu, 16 Nov 2017 16:48:38 +0000 (08:48 -0800)]
Handle if mAlwaysUse is not be set

The view is not initialized when the app cannot become a default. Handle
the case as if it not checked.

Change-Id: I9bd9dc40fefa5da498679ca09ce2ebb4ea4f4b10
Fixes: 69395445
Test: attempted to update firmware on Mir (scenario that revealed bug)

6 years agoMerge "Bluetooth HID Device API docs and helper" am: a89f6150dc
Hansong Zhang [Thu, 16 Nov 2017 18:59:36 +0000 (18:59 +0000)]
Merge "Bluetooth HID Device API docs and helper" am: a89f6150dc
am: 7c005ea373

Change-Id: Ic95f83d9884aea8d75ca33fed1ddf69d6c0e33e3

6 years agoMerge "Update javadoc on SearchIndexableData"
TreeHugger Robot [Thu, 16 Nov 2017 18:57:20 +0000 (18:57 +0000)]
Merge "Update javadoc on SearchIndexableData"

6 years agoMerge "Bluetooth HID Device API docs and helper"
Hansong Zhang [Thu, 16 Nov 2017 18:50:16 +0000 (18:50 +0000)]
Merge "Bluetooth HID Device API docs and helper"
am: a89f6150dc

Change-Id: I4b91cd3e528f480ea216e9ffb0414910d4762d3b

6 years agoMerge "Fix StrictMode I/O violations"
Fyodor Kupolov [Thu, 16 Nov 2017 18:38:30 +0000 (18:38 +0000)]
Merge "Fix StrictMode I/O violations"

6 years agoMerge "Bluetooth HID Device API docs and helper"
Treehugger Robot [Thu, 16 Nov 2017 18:38:06 +0000 (18:38 +0000)]
Merge "Bluetooth HID Device API docs and helper"

6 years agoMerge "Camera2: Update generated docs to latest version"
TreeHugger Robot [Thu, 16 Nov 2017 18:29:52 +0000 (18:29 +0000)]
Merge "Camera2: Update generated docs to latest version"

6 years agoFix Gravity toString wrong message issue
Qing Xia [Thu, 16 Nov 2017 18:12:53 +0000 (10:12 -0800)]
Fix Gravity toString wrong message issue

1. Bit calculation was not correct before as there are multiple bits
that can be set.
2. Changed a duplicate CLIP message as well.
3. And add an empty check.

Test: In 'dumpsys window' the gravity of the window should be correct.
Change-Id: I4b699e5d6d5d7c2beb8ac12cbd78cf2f81e70b3f

6 years agoMerge "Update statsd proto comment"
TreeHugger Robot [Thu, 16 Nov 2017 18:01:22 +0000 (18:01 +0000)]
Merge "Update statsd proto comment"

6 years agoMinor optimizations to task loading/screenshot
Winson Chung [Tue, 14 Nov 2017 01:45:12 +0000 (17:45 -0800)]
Minor optimizations to task loading/screenshot

- Pass graphic buffer instead of bitmap for current screenshot
- Add option to skip preloading titles
- Adding some more compat classes

Bug: 67510855
Test: Build quickstep

Change-Id: Idf4642683d3121e69f0854ac909a8c22c7238b9a

6 years agoFix some bugs found in statsd
Yao Chen [Thu, 16 Nov 2017 03:26:14 +0000 (19:26 -0800)]
Fix some bugs found in statsd

+ in log matcher, condition tracker and duration metric

Test: added unit test
Change-Id: Id633e856ba5453842487321d7ddc0c64100e4bb8

6 years agoUpdate Build#SERIAL docs about deprecation policy
Svet Ganov [Thu, 16 Nov 2017 03:00:09 +0000 (19:00 -0800)]
Update Build#SERIAL docs about deprecation policy

Test: docs only change

Change-Id: Ic9738764b0d18056401fcd103bfaf95a1701981d

6 years agoHack.
Jeff Sharkey [Thu, 16 Nov 2017 02:07:14 +0000 (19:07 -0700)]
Hack.

Test: none
Bug: 69331247
Change-Id: I65807b7e8994746a80e06a8530d9aeb967ea04ca

6 years agoSeparate android.test.mock from test-runner source
Paul Duffin [Wed, 15 Nov 2017 11:39:14 +0000 (11:39 +0000)]
Separate android.test.mock from test-runner source

Extracts the source for the android.test.mock library from the
frameworks/base/test-runner directory into its own
frameworks/base/test-mock directory. They are already treated separately
at runtime and compile time so this just makes the separation complete.

Bug: 30188076
Test: make checkbuild
Change-Id: I20e5b06ba79677e76117c82e9f9e2ecd15e5fed6

6 years agoUpdate statsd proto comment
yro [Thu, 16 Nov 2017 06:57:24 +0000 (22:57 -0800)]
Update statsd proto comment

Test: not needed.
Change-Id: I2f0c16f2e305624128eaca4658d5ccb9f2a20fe5

6 years agoMerge "Fix AOSP copyright years in statsd"
TreeHugger Robot [Thu, 16 Nov 2017 03:34:55 +0000 (03:34 +0000)]
Merge "Fix AOSP copyright years in statsd"

6 years agoMerge "Allow null context in the constructor"
TreeHugger Robot [Thu, 16 Nov 2017 02:52:31 +0000 (02:52 +0000)]
Merge "Allow null context in the constructor"

6 years agoMerge "Doc that SharedPreferences is IO-expensive"
TreeHugger Robot [Thu, 16 Nov 2017 02:23:44 +0000 (02:23 +0000)]
Merge "Doc that SharedPreferences is IO-expensive"

6 years agoMerge "API declarations for Call Handover." am: d88abc7b60 am: c376ca6bc1
Sanket Padawe [Thu, 16 Nov 2017 02:08:32 +0000 (02:08 +0000)]
Merge "API declarations for Call Handover." am: d88abc7b60 am: c376ca6bc1
am: 41cff321b6

Change-Id: Ia5013e7e0288f037cd94d24c40a72278a60cc50d

6 years agoMerge changes from topic "expose_methods"
Winson Chung [Thu, 16 Nov 2017 02:00:28 +0000 (02:00 +0000)]
Merge changes from topic "expose_methods"

* changes:
  Removing references to hidden classes in shared lib.
  Exposing a few more methods in the lib
  Move assist data receiver interface to accessible namespace

6 years agoMerge "Add ability to override global duration scale on ValueAnimator"
TreeHugger Robot [Thu, 16 Nov 2017 01:57:55 +0000 (01:57 +0000)]
Merge "Add ability to override global duration scale on ValueAnimator"

6 years agoMerge "API declarations for Call Handover." am: d88abc7b60
Sanket Padawe [Thu, 16 Nov 2017 01:54:51 +0000 (01:54 +0000)]
Merge "API declarations for Call Handover." am: d88abc7b60
am: c376ca6bc1

Change-Id: Icac2039c60928af408d011c0062bcdcf4f207039

6 years agoMerge "Fix Slog message of AppUdateReceiver in StatsCompanionService"
TreeHugger Robot [Thu, 16 Nov 2017 01:45:48 +0000 (01:45 +0000)]
Merge "Fix Slog message of AppUdateReceiver in StatsCompanionService"

6 years agoMerge "API declarations for Call Handover."
Sanket Padawe [Thu, 16 Nov 2017 01:45:25 +0000 (01:45 +0000)]
Merge "API declarations for Call Handover."
am: d88abc7b60

Change-Id: I0be6f240073408bf9520766238ecf791c016a40b

6 years agoAdd support for provider proto dump in ActivityManager
Steven Timotius [Thu, 16 Nov 2017 00:43:57 +0000 (16:43 -0800)]
Add support for provider proto dump in ActivityManager

The provider dump will only support 1 provider,
since protos can only be output one at a time anyways.

This is a regression from OCMR1.

Test requires change to LauncherProvider to not require the
--proto arg to be first.

Bug: 69006241
Test: adb shell dumpsys activity provider com.google.android.apps.nexuslauncher/com.android.launcher3.LauncherProvider --proto -debug
Change-Id: I5759a305c7f9456fb2ed9deb60e39b8e0e6edf78

6 years agoMerge "API declarations for Call Handover."
Sanket Padawe [Thu, 16 Nov 2017 01:34:58 +0000 (01:34 +0000)]
Merge "API declarations for Call Handover."

6 years agoBluetooth HID Device API docs and helper
Hansong Zhang [Wed, 8 Nov 2017 17:57:12 +0000 (09:57 -0800)]
Bluetooth HID Device API docs and helper

* Add a builder for BluetoothHidDeviceAppQosSettings
* Add documentation for BluetoothHidDeviceAppSdpSettings
and BluetoothHidDeviceAppQosSettings
* Fix the behavior of and BluetoothHidDeviceAppSdpSettings.equals()
and BluetoothHidDeviceAppQosSettings.equals()

Bug: 63384609
Test: test with HID device apps
Change-Id: I933f4ec3034e1f704ddd614e48b76d27fda8b6ff

6 years agoImplement force-all-apps-standly in job scheduler.
Makoto Onuki [Fri, 10 Nov 2017 21:22:26 +0000 (13:22 -0800)]
Implement force-all-apps-standly in job scheduler.

Bug: 68769804
Test: Manual test

Change-Id: I70c28b7841165414cc8d27bf3466401c541d0569

6 years agoUpdate javadoc on SearchIndexableData
Fan Zhang [Thu, 16 Nov 2017 01:07:19 +0000 (17:07 -0800)]
Update javadoc on SearchIndexableData

Bug: 69384409
Test: none, it's javadoc update.
Change-Id: Ifa450bb97183089edfaccabf3cd65c4910349797

6 years agoMerge "Decrease radios poll interval"
Fyodor Kupolov [Thu, 16 Nov 2017 00:53:29 +0000 (00:53 +0000)]
Merge "Decrease radios poll interval"

6 years agoMerge "Animation and style adjustments to make UI stutter go away"
TreeHugger Robot [Thu, 16 Nov 2017 00:31:48 +0000 (00:31 +0000)]
Merge "Animation and style adjustments to make UI stutter go away"

6 years agoDrop the second unit from elapsed time if zero
Roozbeh Pournader [Wed, 15 Nov 2017 03:20:07 +0000 (19:20 -0800)]
Drop the second unit from elapsed time if zero

Previously, we could get formatted strings like "1h 0min" which is
unnecessarily complex for users. Replace such cases with "1 h" if
the second unit is zero.

Fixes: 65426298
Test: bit FrameworksCoreTests:android.text.format.FormatterTest
Change-Id: I1d9828ec97f2cbfb7ce27c266a04d4c02b090d6d

6 years agoMerge "Sync the DurationMetric proto from google3."
TreeHugger Robot [Thu, 16 Nov 2017 00:16:31 +0000 (00:16 +0000)]
Merge "Sync the DurationMetric proto from google3."

6 years agoAdd ability to override global duration scale on ValueAnimator
Jorim Jaggi [Mon, 13 Nov 2017 14:47:46 +0000 (15:47 +0100)]
Add ability to override global duration scale on ValueAnimator

This is needed as window animations are being ported over to use
ValueAnimator, and thus ValueAnimator need to ability to support
custom duration scales per object.

Test: ValueAnimatorTests
Bug: 64674361
Change-Id: Iea8d673b66e52866929174bbf6ca4a7ae882807b

6 years agoMerge "Moved navigationbar motion events to global coordinates"
TreeHugger Robot [Thu, 16 Nov 2017 00:05:02 +0000 (00:05 +0000)]
Merge "Moved navigationbar motion events to global coordinates"

6 years agoAllow null context in the constructor
Fyodor Kupolov [Thu, 16 Nov 2017 00:04:24 +0000 (16:04 -0800)]
Allow null context in the constructor

Legacy apps can use it for in-memory databases.

Test: manual
Bug:69379861
Change-Id: I989524c38d6e2ea3b2637bbe6534f2906c5b7bb6

6 years agoMerge "[Telecom] Improve hold capability signal"
Pengquan Meng [Wed, 15 Nov 2017 23:57:58 +0000 (23:57 +0000)]
Merge "[Telecom] Improve hold capability signal"

6 years agoMerge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel...
Cassie Han [Wed, 15 Nov 2017 23:54:49 +0000 (23:54 +0000)]
Merge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel."" am: 9b08e4cb8d am: 866d2d553e
am: 03e7512fc7

Change-Id: I344283ebf5971461f8aa2d712546b7715f090dbf

6 years agoMerge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel...
Cassie Han [Wed, 15 Nov 2017 23:43:55 +0000 (23:43 +0000)]
Merge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel."" am: 9b08e4cb8d
am: 866d2d553e

Change-Id: I1afee7200c84bc0058ce394c49eaaf46a917793f

6 years agoFix Slog message of AppUdateReceiver in StatsCompanionService
yro [Wed, 15 Nov 2017 23:38:34 +0000 (15:38 -0800)]
Fix Slog message of AppUdateReceiver in StatsCompanionService

Test: statsd, statsd_test

Change-Id: I840b12e51c9f60a35b2c20afce1d278dbc69dfde

6 years agoMerge "Remove persist option for WifiManager.setCountryCode()"
Ningyuan Wang [Wed, 15 Nov 2017 23:39:04 +0000 (23:39 +0000)]
Merge "Remove persist option for WifiManager.setCountryCode()"

6 years agoAdd getProfileParentId (1/2)
Jakub Pawlowski [Wed, 15 Nov 2017 22:50:43 +0000 (14:50 -0800)]
Add getProfileParentId (1/2)

Bluetooth service needs to natively access id of parent profile. Add
method exposing it.

Test: cts-tradefed run cts-dev -m DevicePolicyManager --test
com.android.cts.devicepolicy.ManagedProfileTest#testBluetooth
Bug: 69284968
Change-Id: I697906f2959b0736c1d3cc6af7560c27d77ce11b

6 years agoMerge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel.""
Cassie Han [Wed, 15 Nov 2017 23:29:37 +0000 (23:29 +0000)]
Merge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel.""
am: 9b08e4cb8d

Change-Id: Ie34638da4087987c19bbc7f9935854ca8fa5688d

6 years agoMerge "Use U16StringPiece/Range for calling minikin APIs"
TreeHugger Robot [Wed, 15 Nov 2017 23:24:22 +0000 (23:24 +0000)]
Merge "Use U16StringPiece/Range for calling minikin APIs"

6 years agoMerge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel.""
Cassie Han [Wed, 15 Nov 2017 23:21:33 +0000 (23:21 +0000)]
Merge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel.""

6 years agoMerge "Expose method for testing."
TreeHugger Robot [Wed, 15 Nov 2017 23:07:54 +0000 (23:07 +0000)]
Merge "Expose method for testing."