OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Framework: Prefer android.system.Os over libcore.io.Libcore.os"
Joachim Sauer [Thu, 19 Oct 2017 11:48:58 +0000 (11:48 +0000)]
Merge "Framework: Prefer android.system.Os over libcore.io.Libcore.os"

6 years agoMerge "Enable the public TTC index attribute for fonts"
Mihai Popa [Thu, 19 Oct 2017 10:12:09 +0000 (10:12 +0000)]
Merge "Enable the public TTC index attribute for fonts"

6 years agoMerge "Annotate threads for some IME handling methods"
TreeHugger Robot [Thu, 19 Oct 2017 07:01:10 +0000 (07:01 +0000)]
Merge "Annotate threads for some IME handling methods"

6 years agoMerge "Add missing JavaDoc for IMS.InputMethodImpl"
TreeHugger Robot [Thu, 19 Oct 2017 05:46:36 +0000 (05:46 +0000)]
Merge "Add missing JavaDoc for IMS.InputMethodImpl"

6 years agoMerge "No-op code cleanup for IInputMethodWrapper"
TreeHugger Robot [Thu, 19 Oct 2017 05:37:55 +0000 (05:37 +0000)]
Merge "No-op code cleanup for IInputMethodWrapper"

6 years agoMerge "Location & GNSS Measurement Documetation Fixes"
TreeHugger Robot [Thu, 19 Oct 2017 05:16:56 +0000 (05:16 +0000)]
Merge "Location & GNSS Measurement Documetation Fixes"

6 years agoMerge "Fix invisible SurfaceViews"
TreeHugger Robot [Thu, 19 Oct 2017 03:58:43 +0000 (03:58 +0000)]
Merge "Fix invisible SurfaceViews"

6 years agoAnnotate threads for some IME handling methods
Yohei Yukawa [Thu, 19 Oct 2017 03:19:53 +0000 (20:19 -0700)]
Annotate threads for some IME handling methods

This is a preparation to work on Bug 36897707.

For instance, the reason why most of IME-related callbacks in
InputMethodService get called on the main thread is because
IInputMethodWrapper keeps forwarding incoming IPCs into the
main looper of the IME process as follows:

  InputMethodManagerService (IMMS)
        ------
    -> one-way binder IPCs over IInputMethod
        ------
      -> IInputMethodWrapper (on the binder thread(s))
       -> Handler (to dispatch tasks to main thread)
        -> InputMethodImpl.* (on the main thread)
         -> InputMethodService.* (on the main thread)

By adding explicit annotations such as @BinderThread and @MainThread
in relevant methods, this CL makes that kind of investigation much
easier than before.

Bug: 36897707
Test: compile
Change-Id: I8f9afe9a1986a9fa41fb66fdc64e8f0f67e45c2e

6 years agoAdd missing JavaDoc for IMS.InputMethodImpl
Yohei Yukawa [Thu, 19 Oct 2017 03:19:43 +0000 (20:19 -0700)]
Add missing JavaDoc for IMS.InputMethodImpl

Bug: 36897707
Test: checkbuild
Change-Id: If1f7cfbfe333f30468d551e8a92bba9f987e8a06

6 years agoNo-op code cleanup for IInputMethodWrapper
Yohei Yukawa [Thu, 19 Oct 2017 03:19:33 +0000 (20:19 -0700)]
No-op code cleanup for IInputMethodWrapper

This CL is a safe and no-op code clean-up, including dead code removal.
There should be no behavior change.

Test: continuous tests
Bug: 36897707
Change-Id: I4a1ad9cb764c7ba82b32e325c4a4b1c8e7296bbf

6 years agoMerge "Add config resource to specify device specific services"
TreeHugger Robot [Thu, 19 Oct 2017 01:46:44 +0000 (01:46 +0000)]
Merge "Add config resource to specify device specific services"

6 years agoFix invisible SurfaceViews
Robert Carr [Thu, 19 Oct 2017 01:46:27 +0000 (18:46 -0700)]
Fix invisible SurfaceViews

Of course OPAQUE != SURFACE_OPAQUE: that would be too easy.

Test: Manual
Bug: 67896876
Change-Id: Ic7aaae42c7de8195c474c39d850f2a07a58ccc9d

6 years agoMerge "Exempting tempwhitelist apps from doze"
TreeHugger Robot [Thu, 19 Oct 2017 01:26:11 +0000 (01:26 +0000)]
Merge "Exempting tempwhitelist apps from doze"

6 years agoMerge "Modifies error message when making Hub requests"
TreeHugger Robot [Thu, 19 Oct 2017 01:16:22 +0000 (01:16 +0000)]
Merge "Modifies error message when making Hub requests"

6 years agoMerge "Add SystemApis annotations"
Selim Gurun [Thu, 19 Oct 2017 01:06:39 +0000 (01:06 +0000)]
Merge "Add SystemApis annotations"

6 years agoMerge "New Autofill API: CustomDescription.batchUpdates()"
TreeHugger Robot [Thu, 19 Oct 2017 00:51:32 +0000 (00:51 +0000)]
Merge "New Autofill API: CustomDescription.batchUpdates()"

6 years agoMerge "Allow creating CursorWindow of custom size"
Fyodor Kupolov [Thu, 19 Oct 2017 00:27:33 +0000 (00:27 +0000)]
Merge "Allow creating CursorWindow of custom size"

6 years agoMerge "Fixed several bugs found for incidentd"
Yi Jin [Thu, 19 Oct 2017 00:16:54 +0000 (00:16 +0000)]
Merge "Fixed several bugs found for incidentd"

6 years agoMerge "Introduce a new wrapper for log_msg -- LogEvent"
Joe Onorato [Wed, 18 Oct 2017 23:24:41 +0000 (23:24 +0000)]
Merge "Introduce a new wrapper for log_msg -- LogEvent"

6 years agoMerge "Fix NPE when getting managed profile info."
TreeHugger Robot [Wed, 18 Oct 2017 22:58:44 +0000 (22:58 +0000)]
Merge "Fix NPE when getting managed profile info."

6 years agoLocation & GNSS Measurement Documetation Fixes
Wyatt Riley [Fri, 6 Oct 2017 19:57:04 +0000 (12:57 -0700)]
Location & GNSS Measurement Documetation Fixes

Clarifying documenation of SNR, Vertical Accuracy, and
Accumulated Delta Range.

Change-Id: I2684c57e0f4aff2925549e01cbe4f546910f93e0
Fixes: 65369254
Test: Builds (comments only)

6 years agoExempting tempwhitelist apps from doze
Suprabh Shukla [Sat, 14 Oct 2017 02:29:36 +0000 (19:29 -0700)]
Exempting tempwhitelist apps from doze

Adding doze exemptions for apps on the tempwhitelist. Any app on the
temporary whitelist can schedule jobs that will be exempt from doze
restrictions as long as the app is in the whitelist.

Test: cts-tradefed run cts-dev -m JobScheduler -t \
android.jobscheduler.cts.TempWhitelistTest

Bug: 64071030

Change-Id: I3846565d927014e73fd1badd34a57226cc788ef3

6 years agoMerge "ZenModeConfig XML no longer stores alarms twice."
TreeHugger Robot [Wed, 18 Oct 2017 21:13:33 +0000 (21:13 +0000)]
Merge "ZenModeConfig XML no longer stores alarms twice."

6 years agoFix NPE when getting managed profile info.
Winson Chung [Wed, 18 Oct 2017 20:49:42 +0000 (13:49 -0700)]
Fix NPE when getting managed profile info.

- There can be a race condition where the cached profile user ids
  aren't yet updated but the actual user has already been removed.
  Ignore these users when computing the quiet profile users.

Bug: 67932220
Test: Add/remove a work profile and launch an app
Change-Id: I8888d30e431ca4ffdacc28cc15a80a2deaa23d10

6 years agoFixed several bugs found for incidentd
Yi Jin [Mon, 16 Oct 2017 21:42:50 +0000 (14:42 -0700)]
Fixed several bugs found for incidentd

1. Add logging for proto can't be parsed by incident_report
2. Close opened file descriptor of incident report request!
3. Fix invalid syntax of auto-gen section_list.cpp

Bug: 67849582
Test: manually run incident and checks /proc/<its pid>/fd
Change-Id: I38e6ac28de09aca6243ad536ed41d8059e08ba24

6 years agoMerge "Allow ro. properties to have arbitrary lengths" am: 3851f132d1 am: 9fba6c2fe1...
Tom Cherry [Wed, 18 Oct 2017 19:55:19 +0000 (19:55 +0000)]
Merge "Allow ro. properties to have arbitrary lengths" am: 3851f132d1 am: 9fba6c2fe1 am: 918a29c88d
am: 3fb7276115

Change-Id: I7bc3e26d70267add40bfc2fb09b69b475e4daec6

6 years agoMerge "Allow ro. properties to have arbitrary lengths" am: 3851f132d1 am: 9fba6c2fe1
Tom Cherry [Wed, 18 Oct 2017 19:44:54 +0000 (19:44 +0000)]
Merge "Allow ro. properties to have arbitrary lengths" am: 3851f132d1 am: 9fba6c2fe1
am: 918a29c88d

Change-Id: I29e0ca8d91d29431b498788b548fd48e85d6669b

6 years agoZenModeConfig XML no longer stores alarms twice.
Beverly [Wed, 18 Oct 2017 19:36:43 +0000 (15:36 -0400)]
ZenModeConfig XML no longer stores alarms twice.

Test: manual
Change-Id: Ib1824c4a5950e3cffeae0669bfdd17672dfa10a7
Fixes: 67929980

6 years agoMerge "Don't defer client hidden if activity is already paused" into oc-mr1-dev am...
Wale Ogunwale [Wed, 18 Oct 2017 19:18:46 +0000 (19:18 +0000)]
Merge "Don't defer client hidden if activity is already paused" into oc-mr1-dev am: b3a8950183
am: 36276fd6ee  -s ours

Change-Id: I8a04854f153979490d3db693687a2736b6cf8bc7

6 years agoMerge "Allow ro. properties to have arbitrary lengths" am: 3851f132d1
Tom Cherry [Wed, 18 Oct 2017 18:48:55 +0000 (18:48 +0000)]
Merge "Allow ro. properties to have arbitrary lengths" am: 3851f132d1
am: 9fba6c2fe1

Change-Id: I17743afca87569e5ef6e17572aec0e8e8e535847

6 years agoMerge "Allow ro. properties to have arbitrary lengths"
Tom Cherry [Wed, 18 Oct 2017 18:39:42 +0000 (18:39 +0000)]
Merge "Allow ro. properties to have arbitrary lengths"
am: 3851f132d1

Change-Id: Ie9c340401786d97e469e283418cffef6fbbbb186

6 years agoMerge "Merge "Add crash recovery logic to HardwarePropertiesManagerService" into...
Android Build Merger (Role) [Wed, 18 Oct 2017 18:26:27 +0000 (18:26 +0000)]
Merge "Merge "Add crash recovery logic to HardwarePropertiesManagerService" into oc-mr1-dev am: 2c25615224 am: f8084a33b4"

6 years agoMerge "Add crash recovery logic to HardwarePropertiesManagerService" into oc-mr1...
Karthik Ravi Shankar [Wed, 18 Oct 2017 18:24:20 +0000 (18:24 +0000)]
Merge "Add crash recovery logic to HardwarePropertiesManagerService" into oc-mr1-dev am: 2c25615224
am: f8084a33b4

Change-Id: I4ff5f1b208a246e0d750f3f4871096463ea1db74

6 years agoMerge "reword title of CS rejection notification"
Chen Xu [Wed, 18 Oct 2017 18:22:30 +0000 (18:22 +0000)]
Merge "reword title of CS rejection notification"

6 years agoMerge "Allow ro. properties to have arbitrary lengths"
Tom Cherry [Wed, 18 Oct 2017 18:21:10 +0000 (18:21 +0000)]
Merge "Allow ro. properties to have arbitrary lengths"

6 years agoMerge "Don't defer client hidden if activity is already paused" into oc-mr1-dev
Wale Ogunwale [Wed, 18 Oct 2017 18:16:41 +0000 (18:16 +0000)]
Merge "Don't defer client hidden if activity is already paused" into oc-mr1-dev
am: b3a8950183

Change-Id: I594079cd01aedb6f14cb534d43b8c0820a63c442

6 years agoMerge "Add crash recovery logic to HardwarePropertiesManagerService" into oc-mr1-dev
Karthik Ravi Shankar [Wed, 18 Oct 2017 18:09:08 +0000 (18:09 +0000)]
Merge "Add crash recovery logic to HardwarePropertiesManagerService" into oc-mr1-dev
am: 2c25615224

Change-Id: I251edb32e216129d6cb1a1ad2b29f22505cb420a

6 years agoMerge "Don't defer client hidden if activity is already paused" into oc-mr1-dev
TreeHugger Robot [Wed, 18 Oct 2017 17:42:05 +0000 (17:42 +0000)]
Merge "Don't defer client hidden if activity is already paused" into oc-mr1-dev

6 years agoMerge "Add crash recovery logic to HardwarePropertiesManagerService" into oc-mr1-dev
Karthik Ravi Shankar [Wed, 18 Oct 2017 16:56:05 +0000 (16:56 +0000)]
Merge "Add crash recovery logic to HardwarePropertiesManagerService" into oc-mr1-dev

6 years agoAllow ro. properties to have arbitrary lengths
Tom Cherry [Wed, 18 Oct 2017 16:25:17 +0000 (09:25 -0700)]
Allow ro. properties to have arbitrary lengths

Bug: 23102347
Bug: 34954705
Test: build
Change-Id: I99b074633c60e95cdd2284bf8a708b9187c1e310

6 years agoMerge "Report time to unlock users"
Fyodor Kupolov [Wed, 18 Oct 2017 16:23:48 +0000 (16:23 +0000)]
Merge "Report time to unlock users"

6 years agoModifies error message when making Hub requests
Arthur Ishiguro [Wed, 18 Oct 2017 16:13:08 +0000 (09:13 -0700)]
Modifies error message when making Hub requests

Making the debug msg more clear since it could be useful in cases where
something goes wrong in making requests to the Context Hub. While things
will be refactored later, but this is a simple change that could save
some debug time in the meantime.

Bug: 67734082
Test: Compile only
Change-Id: I155b135a1d52f9402db41659740cabb936a1da0d

6 years agoMerge "Merge "Fix incorrect colors for CustomTile in QS" into oc-mr1-dev am: 859f8c4a...
Android Build Merger (Role) [Wed, 18 Oct 2017 15:16:52 +0000 (15:16 +0000)]
Merge "Merge "Fix incorrect colors for CustomTile in QS" into oc-mr1-dev am: 859f8c4a21 am: e5d55d52b6"

6 years agoMerge "Fix incorrect colors for CustomTile in QS" into oc-mr1-dev am: 859f8c4a21
Evan Laird [Wed, 18 Oct 2017 15:13:54 +0000 (15:13 +0000)]
Merge "Fix incorrect colors for CustomTile in QS" into oc-mr1-dev am: 859f8c4a21
am: e5d55d52b6

Change-Id: I7ab8bd9a58a7582286e73f1888b81d4a745eac24

6 years agoMerge "Sync of SmartSelection.java wrapper from Google3 to support the new annotate...
TreeHugger Robot [Wed, 18 Oct 2017 15:08:27 +0000 (15:08 +0000)]
Merge "Sync of SmartSelection.java wrapper from Google3 to support the new annotate call, and alternative ways of construction."

6 years agoMerge "Fix incorrect colors for CustomTile in QS" into oc-mr1-dev
Evan Laird [Wed, 18 Oct 2017 14:15:04 +0000 (14:15 +0000)]
Merge "Fix incorrect colors for CustomTile in QS" into oc-mr1-dev
am: 859f8c4a21

Change-Id: Id96f0a18c77628d63069ed434f5904936cb41359

6 years agoMerge "Default zen rules updated."
Beverly Tai [Wed, 18 Oct 2017 13:34:28 +0000 (13:34 +0000)]
Merge "Default zen rules updated."

6 years agoMerge "Fix incorrect colors for CustomTile in QS" into oc-mr1-dev
TreeHugger Robot [Wed, 18 Oct 2017 13:20:43 +0000 (13:20 +0000)]
Merge "Fix incorrect colors for CustomTile in QS" into oc-mr1-dev

6 years agoIntroduce a new wrapper for log_msg -- LogEvent
Joe Onorato [Wed, 18 Oct 2017 06:38:21 +0000 (23:38 -0700)]
Introduce a new wrapper for log_msg -- LogEvent

It stores all of the parsed fields in a single vector, and
provides accessor methods to get at fields by index with
their correct type.

Test: statsd_test
Change-Id: I4fa94e4ce52db3ac87f19b62f9c85398de6e8145

6 years agoClean up how we handle configurations, and other assorted cleanup
Joe Onorato [Mon, 16 Oct 2017 03:08:52 +0000 (20:08 -0700)]
Clean up how we handle configurations, and other assorted cleanup

- Add a ConfigManager class that tracks the configurations
  that have been passed to us.  Configurations are now
  tracked by tuples of (uid,tag), where the tag is an
  app-defined string, in case a single uid has multiple
  configurations.
- Move all of the initialization into StatsService.
- Get rid of the ability to have multiple LogListeners. Raw
  events are now pushed directly into StatsService, which
  can distribute them to the interested parties (and will
  eventually be able to do the proper locking).
- Add Log.h, which sets our LOG_TAG correctly.
- Move some of the related files that I expect will grow some
  into their own subdirectories.

Test: statsd_test
Test: adb shell cmd stats config ...
Test: adb shell dumpsys stats
Change-Id: I79487603003d8a842d5bd319741f1ecbf72063d1

6 years agoSync of SmartSelection.java wrapper from Google3 to support the new annotate call...
Lukas Zilka [Wed, 18 Oct 2017 09:39:13 +0000 (11:39 +0200)]
Sync of SmartSelection.java wrapper from Google3 to support the new annotate call, and alternative ways of construction.

Bug: 67618889
Test: Builds. Works in Google3.
Change-Id: I3b67235c969178966c784d13a091ca404d598488

6 years agoFramework: Prefer android.system.Os over libcore.io.Libcore.os
Tobias Thierer [Tue, 17 Oct 2017 19:26:20 +0000 (20:26 +0100)]
Framework: Prefer android.system.Os over libcore.io.Libcore.os

This is a pure refactoring with no a behavior change other than
that these calls now go through android.system.Os, which immediately
delegates to Libcore.os.

This is a first step towards separating framework (via
android.system.Os) vs. libcore (via Libcore.os) clients of these
low level APIs. Separating these is a prerequisite towards moving
the API parts of android.system into framework, and moving the
rest into a different package in libcore.

Test: Treehugger
Bug: 67901714

Change-Id: Ifd8349ec5416e5693f40dba48fdf2bef651b7d81

6 years agoMerge "Use soong_ui directly, instead of make" am: e994b4b584 am: 0531e5c647 am:...
Dan Willemsen [Wed, 18 Oct 2017 06:33:44 +0000 (06:33 +0000)]
Merge "Use soong_ui directly, instead of make" am: e994b4b584 am: 0531e5c647 am: 98fc198f1f
am: bfc9e71e0d

Change-Id: I5ef2f58b01632438702ac3bebb19b61000016dfe

6 years agoMerge "Use soong_ui directly, instead of make" am: e994b4b584 am: 0531e5c647
Dan Willemsen [Wed, 18 Oct 2017 06:24:45 +0000 (06:24 +0000)]
Merge "Use soong_ui directly, instead of make" am: e994b4b584 am: 0531e5c647
am: 98fc198f1f

Change-Id: Id17adee4b02cc499261f88c3faed15d889f5b6c3

6 years agoMerge "Use soong_ui directly, instead of make" am: e994b4b584
Dan Willemsen [Wed, 18 Oct 2017 06:17:09 +0000 (06:17 +0000)]
Merge "Use soong_ui directly, instead of make" am: e994b4b584
am: 0531e5c647

Change-Id: Ic3fc61824852181512f941dbc57c158540546616

6 years agoMerge "Use soong_ui directly, instead of make"
Dan Willemsen [Wed, 18 Oct 2017 06:10:06 +0000 (06:10 +0000)]
Merge "Use soong_ui directly, instead of make"
am: e994b4b584

Change-Id: I406a02af2d5fd1accf5c53609af00f416669e18f

6 years agoMerge "Use soong_ui directly, instead of make"
Dan Willemsen [Wed, 18 Oct 2017 06:00:51 +0000 (06:00 +0000)]
Merge "Use soong_ui directly, instead of make"

6 years agoMerge "Fix loading of the default animation settings"
Terry (Woncheol) Heo [Wed, 18 Oct 2017 04:39:53 +0000 (04:39 +0000)]
Merge "Fix loading of the default animation settings"

6 years agoMerge "Added perf test to measure bytes written"
TreeHugger Robot [Wed, 18 Oct 2017 03:02:44 +0000 (03:02 +0000)]
Merge "Added perf test to measure bytes written"

6 years agoMerge "Relax checks on dynamic permissions."
TreeHugger Robot [Wed, 18 Oct 2017 01:59:07 +0000 (01:59 +0000)]
Merge "Relax checks on dynamic permissions."

6 years agoMerge "AAPT2: Flatten AndroidManifest.xml stringpool in UTF16" into oc-mr1-dev am...
Adam Lesinski [Wed, 18 Oct 2017 01:27:03 +0000 (01:27 +0000)]
Merge "AAPT2: Flatten AndroidManifest.xml stringpool in UTF16" into oc-mr1-dev am: 3bdfe1a251
am: f60d30b682

Change-Id: Ic03aa3e7991b01a8ed93732ae8280e832ee6758a

6 years agoMerge "Minor logging improvements on Autofill."
TreeHugger Robot [Wed, 18 Oct 2017 01:21:09 +0000 (01:21 +0000)]
Merge "Minor logging improvements on Autofill."

6 years agoMerge "Fixes retrieving fullscreen stack when recents is not available yet"
TreeHugger Robot [Wed, 18 Oct 2017 01:09:37 +0000 (01:09 +0000)]
Merge "Fixes retrieving fullscreen stack when recents is not available yet"

6 years agoMerge "AAPT2: Flatten AndroidManifest.xml stringpool in UTF16" into oc-mr1-dev
Adam Lesinski [Wed, 18 Oct 2017 00:57:26 +0000 (00:57 +0000)]
Merge "AAPT2: Flatten AndroidManifest.xml stringpool in UTF16" into oc-mr1-dev
am: 3bdfe1a251

Change-Id: I3295e61dcf29a7cb242b4ee0017f2fd94a0cfd65

6 years agoUse soong_ui directly, instead of make
Dan Willemsen [Wed, 18 Oct 2017 00:46:41 +0000 (17:46 -0700)]
Use soong_ui directly, instead of make

This will use ckati instead of make for dumping variables, for
consistent makefile parsing. It may also sandbox executions, etc.

Also skip the legacy make wrapper to build, and use soong_ui instead.
The command line arguments are equivalent, but -j is no longer
necessary, we'll default to a sane value.

Test: bit -b framework
Change-Id: Idc2c9d1abe84b6b783b8702925de5493d47a4509

6 years agoMerge "AAPT2: Flatten AndroidManifest.xml stringpool in UTF16" into oc-mr1-dev
TreeHugger Robot [Wed, 18 Oct 2017 00:51:00 +0000 (00:51 +0000)]
Merge "AAPT2: Flatten AndroidManifest.xml stringpool in UTF16" into oc-mr1-dev

6 years agoAdded perf test to measure bytes written
Fyodor Kupolov [Tue, 17 Oct 2017 01:42:52 +0000 (18:42 -0700)]
Added perf test to measure bytes written

Bug: 64262688
Test: SQLiteDatabaseIoPerfTest
Change-Id: I00e14254cec0849cd054d91b5ae70684ce753902

6 years agoAdd config resource to specify device specific services
Daichi Hirono [Tue, 10 Oct 2017 08:22:58 +0000 (17:22 +0900)]
Add config resource to specify device specific services

The new string resource contains class names of device specific services
and referred by SystemServer.java.

Bug: 63893131
Test: Manually added device specific service and see if it's launched
Change-Id: I0cf88de5dfcf86dad459c0909073dce7fbfa57b9

6 years agoReport time to unlock users
Fyodor Kupolov [Thu, 12 Oct 2017 00:53:23 +0000 (17:53 -0700)]
Report time to unlock users

Bug: 67716047
Test: Manual
Change-Id: I701bedf2aa101ed7b4d913a1921471ec38f8cb0e

6 years agoAdd SystemApis annotations
Selim Gurun [Wed, 18 Oct 2017 00:01:38 +0000 (17:01 -0700)]
Add SystemApis annotations

There are some number of places where bluetooth APIs are used via
reflection from GMSCore. Add proper annotations.

Bug: 67052734
Test: Manual - and using make update-api
Change-Id: Ib6e3aa1ff5b6f9cdc78367f9be13ed00542d6f65

6 years agoUpdate build target to restrict it to arm and x86 only am: 50365007b6
Winston Man [Tue, 17 Oct 2017 23:59:58 +0000 (23:59 +0000)]
Update build target to restrict it to arm and x86 only am: 50365007b6
am: a3edc551c0

Change-Id: I2cb6bf873f58489e88d701a7151c163e1a133162

6 years agoUpdate build target to restrict it to arm and x86 only
Winston Man [Tue, 17 Oct 2017 23:37:59 +0000 (23:37 +0000)]
Update build target to restrict it to arm and x86 only
am: 50365007b6

Change-Id: If461907f6f797e5fda72ef47147594a4ed7f41a9

6 years agoMerge "Moving some recents logic into the shared lib."
Winson Chung [Tue, 17 Oct 2017 23:15:19 +0000 (23:15 +0000)]
Merge "Moving some recents logic into the shared lib."

6 years agoMerge "Turn off PGO temporarily"
Zhizhou Yang [Tue, 17 Oct 2017 22:58:45 +0000 (22:58 +0000)]
Merge "Turn off PGO temporarily"

6 years agoMerge "Pipe through packageName from Jobs to TimeController expiries"
TreeHugger Robot [Tue, 17 Oct 2017 22:48:59 +0000 (22:48 +0000)]
Merge "Pipe through packageName from Jobs to TimeController expiries"

6 years agoFixes retrieving fullscreen stack when recents is not available yet
Matthew Ng [Tue, 17 Oct 2017 22:43:49 +0000 (15:43 -0700)]
Fixes retrieving fullscreen stack when recents is not available yet

First time going to recents would not have the recents stack created yet
and so SystemUI would fallback to getting the window rect from the
fullscreen stack. The code getting the fullscreen stack passed an
undefined window mode which would return a null stack. Fix this by
asking for a fullscreen window mode.

Change-Id: I372bcf5ccffd87af467a8a1a8cee46def1640654
Fixes: 67864447
Test: manual - on boot, launch app, press recents button

6 years agoMerge "Using hardware canvas for profiling Views"
TreeHugger Robot [Tue, 17 Oct 2017 22:36:31 +0000 (22:36 +0000)]
Merge "Using hardware canvas for profiling Views"

6 years agoMerge changes from topic "resubmit_joeo_cl"
TreeHugger Robot [Tue, 17 Oct 2017 22:27:54 +0000 (22:27 +0000)]
Merge changes from topic "resubmit_joeo_cl"

* changes:
  Fix build error.
  Revert "Revert "Start auto-generating the stats log API.""

6 years agoAllow creating CursorWindow of custom size
Fyodor Kupolov [Tue, 10 Oct 2017 17:36:43 +0000 (10:36 -0700)]
Allow creating CursorWindow of custom size

The default size is controlled by config_cursorWindowSize.

Test: SQLiteCursorTest
Bug: 62550963
Change-Id: Ic5c6550b2dd53401afc039ec257524a98bf2950e

6 years agoMerge "Add config to skip showing CF fail-to-disable dialog" am: d32138d78a am: a0df3...
Jordan Liu [Tue, 17 Oct 2017 22:16:48 +0000 (22:16 +0000)]
Merge "Add config to skip showing CF fail-to-disable dialog" am: d32138d78a am: a0df3496d3 am: 4025ccb0a1
am: 2cdc98d7a6

Change-Id: I0924e5bf275376f28ad94f2749d35357a4e618db

6 years agoAAPT2: Flatten AndroidManifest.xml stringpool in UTF16
Adam Lesinski [Fri, 13 Oct 2017 19:40:37 +0000 (12:40 -0700)]
AAPT2: Flatten AndroidManifest.xml stringpool in UTF16

A few OEM devices have introduced a memory corruption bug
that is only triggered when an application's AndroidManifest.xml
uses UTF8 string pools. Workaround this by only encoding
AndroidManifest.xml with UTF16 strings.

Bug: 64434571
Test: manual
Change-Id: I2ee50d1b2b5942d971ef2a544c878de63f67c652

6 years agoMerge "Remove libmedia and libstagefright dependency from extractors"
TreeHugger Robot [Tue, 17 Oct 2017 22:11:52 +0000 (22:11 +0000)]
Merge "Remove libmedia and libstagefright dependency from extractors"

6 years agoMerge "Unhide slice data APIs"
Jason Monk [Tue, 17 Oct 2017 21:59:15 +0000 (21:59 +0000)]
Merge "Unhide slice data APIs"

6 years agoMerge "Add config to skip showing CF fail-to-disable dialog" am: d32138d78a am: a0df3...
Jordan Liu [Tue, 17 Oct 2017 21:36:11 +0000 (21:36 +0000)]
Merge "Add config to skip showing CF fail-to-disable dialog" am: d32138d78a am: a0df3496d3
am: 4025ccb0a1

Change-Id: Ida23475584fb0324ce12af05af422230b170b1a4

6 years agoRelax checks on dynamic permissions.
Jeff Sharkey [Tue, 17 Oct 2017 21:29:41 +0000 (15:29 -0600)]
Relax checks on dynamic permissions.

We'll have to circle back to enforce this once we do more
investigation.

Test: none
Bug: 67371907
Change-Id: Ib2f73b6e52d56cf080f3a6f224ab4bf452d91a48

6 years agoMerge "Update documentation for pm install / pm install-create"
TreeHugger Robot [Tue, 17 Oct 2017 21:29:08 +0000 (21:29 +0000)]
Merge "Update documentation for pm install / pm install-create"

6 years agoMerge "Add config to skip showing CF fail-to-disable dialog" am: d32138d78a
Jordan Liu [Tue, 17 Oct 2017 21:15:19 +0000 (21:15 +0000)]
Merge "Add config to skip showing CF fail-to-disable dialog" am: d32138d78a
am: a0df3496d3

Change-Id: Ic13004cc1c9afa5474df291211333e215ad96424

6 years agoMerge "Add config to skip showing CF fail-to-disable dialog"
Jordan Liu [Tue, 17 Oct 2017 21:06:58 +0000 (21:06 +0000)]
Merge "Add config to skip showing CF fail-to-disable dialog"
am: d32138d78a

Change-Id: I0bb3388b4f2e0243049316c3548aacf6f034ffd2

6 years agoMinor logging improvements on Autofill.
Felipe Leme [Tue, 17 Oct 2017 21:02:20 +0000 (14:02 -0700)]
Minor logging improvements on Autofill.

Test: manual verification

Fixes: 67898895

Change-Id: Ic97d51a388a426b3ff9e74520f52036257a5c1ce

6 years agoMerge "Add config to skip showing CF fail-to-disable dialog"
Jordan Liu [Tue, 17 Oct 2017 20:58:01 +0000 (20:58 +0000)]
Merge "Add config to skip showing CF fail-to-disable dialog"

6 years agoMerge "Update FeatureSplit sample"
TreeHugger Robot [Tue, 17 Oct 2017 20:48:32 +0000 (20:48 +0000)]
Merge "Update FeatureSplit sample"

6 years agoMerge "Revert "Show dialog if top app is killed by lmk""
TreeHugger Robot [Tue, 17 Oct 2017 20:47:29 +0000 (20:47 +0000)]
Merge "Revert "Show dialog if top app is killed by lmk""

6 years agoNew Autofill API: CustomDescription.batchUpdates()
Felipe Leme [Thu, 28 Sep 2017 00:40:30 +0000 (17:40 -0700)]
New Autofill API: CustomDescription.batchUpdates()

This API allows the service to apply updates in the save UI remote view, when
a given condition applies.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.CustomDescriptionTest
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.CustomDescriptionUnitTest
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.BatchUpdatesTest

Fixes: 63933969

Change-Id: I5002f231cd2029463b81a68fb3acd9bf1ae5964a

6 years agoMerge "DO NOT MERGE Revert "Show dialog if top app is killed by lmk"" into oc-mr1...
Zhi An Ng [Tue, 17 Oct 2017 20:44:27 +0000 (20:44 +0000)]
Merge "DO NOT MERGE Revert "Show dialog if top app is killed by lmk"" into oc-mr1-dev am: d3dc9171d4
am: 63e3339ec9  -s ours

Change-Id: Ia75813944b333f258e37cfa1d700e619bd6b4c41

6 years agoUpdate build target to restrict it to arm and x86 only
Winston Man [Tue, 17 Oct 2017 20:24:31 +0000 (21:24 +0100)]
Update build target to restrict it to arm and x86 only

This is to address build breakage for MIPS
https://android-build.googleplex.com/builds/submitted/4400887/sdk_phone_mips-sdk_mac/latest/logs

Bug: 64504762
Test: build successful with target marlin-eng (arm), gce_x86_phone (x86) and sdk_phone_mips (mips)
Change-Id: I710c823ae235d0650b4d1a018180b552261aecc5

6 years agoTurn off PGO temporarily
Zhizhou Yang [Tue, 17 Oct 2017 20:37:00 +0000 (13:37 -0700)]
Turn off PGO temporarily

Bug: http://b/67862169

Turn off PGO for hwui since it caused a performance regression in
tesetBitmapDrawPerf.

Test: Built successfully and tested the performance with benchmarks.
Change-Id: I7be1ff919cc03eb72e2464867a417cc3dad7a260

6 years agoMerge "Frameworks: Remove warning for SystemProperties.get" am: c589496ce9 am: b72c06...
Tom Cherry [Tue, 17 Oct 2017 20:30:18 +0000 (20:30 +0000)]
Merge "Frameworks: Remove warning for SystemProperties.get" am: c589496ce9 am: b72c0626f5 am: 16e676be4b
am: 3b01d0a09a

Change-Id: Icdc349598538e7cb2740e0829e797ec02ff0209a

6 years agoMerge "Batterystats handles nested unoptimized ble scans" am: 4627c01ee4 -s ours...
Bookatz [Tue, 17 Oct 2017 20:22:40 +0000 (20:22 +0000)]
Merge "Batterystats handles nested unoptimized ble scans" am: 4627c01ee4  -s ours am: 2fd6b1d7cd  -s ours am: 9fccdd14e5  -s ours
am: 72a538960d  -s ours

Change-Id: I797007708f03e21e4e687ec6cb1d932b5b8d7af1

6 years agoMerge "DO NOT MERGE Revert "Show dialog if top app is killed by lmk"" into oc-mr1-dev
Zhi An Ng [Tue, 17 Oct 2017 20:16:02 +0000 (20:16 +0000)]
Merge "DO NOT MERGE Revert "Show dialog if top app is killed by lmk"" into oc-mr1-dev
am: d3dc9171d4

Change-Id: I6bf6797bdf92bfef0f4f8e23a394eaa7646460c0

6 years agoMerge "Frameworks: Remove warning for SystemProperties.get" am: c589496ce9 am: b72c0626f5
Tom Cherry [Tue, 17 Oct 2017 20:04:51 +0000 (20:04 +0000)]
Merge "Frameworks: Remove warning for SystemProperties.get" am: c589496ce9 am: b72c0626f5
am: 16e676be4b

Change-Id: Ie43c9ec866feba876016c8ceb4c1e5d6222f0a18