Commit Graph

397733 Commits

Author SHA1 Message Date
Zimuzo
cfaed764bc Improve Packagewatchdog performance
I38be25753e1be64c0f98649ba843bc09e28043d9 introduced a PackageWatchdog for system server. This cl improves the following:
1. Memory allocations
2. Lock invariants
3. Comments
4. Behavior if XML file gets corrupted

Test: Still builds
Bug: 120598832
Change-Id: I8a06761997ad5738d894504d3d11ac037cb99a82
2019-01-04 13:30:17 +00:00
Jeff Sharkey
c54ffd28f7 Merge "MediaStore should reflect state on disk." 2019-01-03 17:56:17 +00:00
Julia Reynolds
478fac7485 Merge changes Ia21f45c1,I208797f3
* changes:
  Check if notification is valid before it finally vibrates because it can be canceled as soon as enqeued
  Update sound/vibrate notification key only when it actually buzz/beep.
2019-01-03 17:24:10 +00:00
Adam He
f15c481604 Merge "Moved buffer for VIEW_TEXT_CHANGED events to MainContentCaptureSession." 2019-01-03 17:16:12 +00:00
Adam He
dc0d7b0ccc Merge "Merge app-specific and generic user data for field classification." 2019-01-03 17:15:57 +00:00
Hai Shalom
a088295e7f Merge "[DPP] Add DPP key management capability API" 2019-01-03 17:05:44 +00:00
Hai Shalom
4dab74f563 Merge "[DPP] Added new DPP Initiator APIs and callbacks" 2019-01-03 17:05:28 +00:00
TreeHugger Robot
aee9b41643 Merge "Move all logic of navigation bar to NavigationBarController(2/N)" 2019-01-03 16:55:22 +00:00
Zimuzo Ezeozue
12278ded88 Merge "Add Packagewatchdog to monitor health of apps on the device" 2019-01-03 16:39:54 +00:00
Christine Franks
83ddf8e8be Merge "Add ColorDisplayServiceInternal local service" 2019-01-03 16:25:28 +00:00
Jean-Michel Trivi
9958c94e4d Merge "Dynamic audio policies: multi-zone through uid/device affinity" 2019-01-03 16:16:50 +00:00
Wale Ogunwale
a7b3c1a7b2 Merge "Add support for singleTaskInstance displays" 2019-01-03 16:00:22 +00:00
Jorim Jaggi
957d539293 Merge "Revert "Add testStartHomeOnAllDisplays back"" 2019-01-03 15:23:09 +00:00
TreeHugger Robot
2f3f3b4939 Merge "Turn all warnings into errors" 2019-01-03 15:20:45 +00:00
Jorim Jaggi
534fe4e434 Revert "Add testStartHomeOnAllDisplays back"
This reverts commit c1ad524a85.

Reason for revert: Broke presubmits?

Change-Id: I8a4e7262e002c6494422430471df1ab65f5bc198
2019-01-03 15:16:23 +00:00
Charles Chen
10ca70b075 Move all logic of navigation bar to NavigationBarController(2/N)
Since we don't have status bar on external displays, we need to saparate
the logic to make some animations or transitions just work on external
navigation bars. When we set System UI visibility on an external display,
we could make the flag only effect navigation bar. Also, it can simplify
StatusBar code by moving navigation bar related fields into
NavigationBarController.

Test: atest SystemUITests
Bug: 117478341

Change-Id: I1cdf61f6eeb2c377e04a073401efa0cdb45b65cd
2019-01-03 22:12:03 +08:00
Shafik Nassar
f576d53e14 Merge "Extending CHAR LIMIT for Give Access string" 2019-01-03 14:04:01 +00:00
Chandan Nath
2de1d8577d Merge "[Multi-user] No-op refactor to move backup dirs and settings, which should be user-specific, to one class for each." 2019-01-03 13:05:49 +00:00
TreeHugger Robot
570a4f0c54 Merge "Fine tune RoundedRect and Squircle overlay path Bug: 118757933" 2019-01-03 13:02:57 +00:00
TreeHugger Robot
67490ba1f9 Merge "Log when user clicks on the device owner user info." 2019-01-03 12:39:41 +00:00
TreeHugger Robot
5661046432 Merge "Avoid killing instrumentation process while start process" 2019-01-03 12:04:25 +00:00
shafik
b1a691f946 Extending CHAR LIMIT for Give Access string
The CHAR LIMIT (the maximum number of chars to be assigned for a
specific string) for 'Give Access' was initially set to 16.
In translation, this text got longer and reached 17 chars.
This commit extends CHAR LIMIT for this string to 18.

Change-Id: Ifae954a8bb9ef50ec66e4b9c00dcb80735b002ea
Fixes: 122229622
Test: ensured building does not break
2019-01-03 11:11:39 +00:00
Victor Chang
67b5e2ae1a Merge "Remove unused ICU headers" 2019-01-03 11:01:57 +00:00
TreeHugger Robot
a9ccb72194 Merge "Implement cancelSessionCommand" 2019-01-03 10:02:56 +00:00
TreeHugger Robot
17b0767409 Merge "Add testStartHomeOnAllDisplays back" 2019-01-03 08:44:20 +00:00
Narayan Kamath
440b8bd5bb Merge "ModuleInfoProvider: Fix bogus call to getPackageInfo." 2019-01-03 08:41:32 +00:00
Hyunyoung Song
64ee943c21 Fine tune RoundedRect and Squircle overlay path
Bug: 118757933

Test: builds, also below commands

$ adb shell cmd overlay enable --user 0 com.android.theme.icon.roundedrect
$ adb shell cmd overlay disable --user 0 com.android.theme.icon.roundedrect
$ adb shell cmd overlay enable --user 0 com.android.theme.icon.teardrop
$ adb shell cmd overlay disable --user 0 com.android.theme.icon.teardrop

Change-Id: I4757837fa3763d19c311d4a82a3899d156ede94e
2019-01-03 00:05:01 -08:00
Sungsoo Lim
c6cfa0f74b Implement cancelSessionCommand
Also this CL adds missing getter methods of MediaSession2.

Bug: 122055262
Test: build
Change-Id: I4a3108ca89982e9482b8c0aa8920caad9a4d79c8
2019-01-03 14:47:13 +09:00
TreeHugger Robot
6150cc58dc Merge "Range.java:Correct sign error in description" 2019-01-03 05:46:15 +00:00
TreeHugger Robot
bb99fe0ba9 Merge "Add DeviceDefault text styles for Settings." 2019-01-03 04:03:16 +00:00
TreeHugger Robot
bb459ce745 Merge "[GUP] Hard code the name of the whitelist file." 2019-01-03 03:24:18 +00:00
Kevin Chyn
c7e24fd36a Merge "Move null check" 2019-01-03 03:06:12 +00:00
TreeHugger Robot
f2497e52b1 Merge "Introduce android:preferCodeIntegrity, private for now" 2019-01-03 02:43:17 +00:00
Wu Ahan
2d20fc8f01 Merge "Catch SecurityException while resolving image to avoid crashing." 2019-01-03 02:30:28 +00:00
TreeHugger Robot
0995402a41 Merge "Refactoring canSuspendPackage to support batch queries" 2019-01-03 02:12:57 +00:00
Nate Fischer
d6ca59a508 Merge "WebView: no bars in javadoc" into pi-dev am: 002c637337
am: 23a006b6e2

Change-Id: I8882626eeefce0b2a5e483b8612b45b05ce4faa6
2019-01-02 18:12:03 -08:00
TreeHugger Robot
b39a986c6e Merge "Mark NotificationEntry.Data.key as final" 2019-01-03 02:00:47 +00:00
Nate Fischer
23a006b6e2 Merge "WebView: no bars in javadoc" into pi-dev
am: 002c637337

Change-Id: I093585bdc5beaff3f6479b660d9d6d7b5577a5d2
2019-01-02 18:00:02 -08:00
TreeHugger Robot
608b9d5355 Merge "Added an option to hide the home button" 2019-01-03 01:57:35 +00:00
TreeHugger Robot
002c637337 Merge "WebView: no bars in javadoc" into pi-dev 2019-01-03 01:48:09 +00:00
Peiyong Lin
3a1be746c0 [GUP] Hard code the name of the whitelist file.
Allowing customized whitelist filename could result in inconsistency and
fragmentations in toolings.

BUG: 120870520
Test: Build, flash and boot
Change-Id: Ibe9337b358b6a67600048f1661d73574d7bea607
2019-01-02 17:46:55 -08:00
Victor Hsieh
e7b5a8dbd7 Introduce android:preferCodeIntegrity, private for now
This attribute is default to false, and if set to true, indicates that
the app wants to run with strong integrity guarantee currently the
platform can provide the best.

In this change, this flag implies that on install time,
 1) .dex and .so must be stored uncompressed and aligned to install
 2) android:extractNativeLibs must be false to install

At run time, ART will run from the dex within the APK directly, and NDK
libraries will be mapped directly from the APK.  This way, thest files
stay protected by signature.

The attribute currently stays in private to make development progress.
We plan to make it public once we confirm the demand from some apps.

Test: atest AppIntegrityTest (to be added in ag/5554864 after publicized)
Bug: 112037137
Change-Id: Ifde90cb0666fbb57e8b61f90b4ba1a2dd2a2b4ae
2019-01-02 16:45:49 -08:00
TreeHugger Robot
0ef75b1942 Merge "Make constructor of Access public" 2019-01-03 00:34:37 +00:00
Gopalakrishnan Nallasamy
ad1c854f87 Range.java:Correct sign error in description
Current description for android.util.Range says ""All ranges are bounded, and the left side of the
range is always {@code >=} * the right side of the range." It should have been  "<=" there instead
of ">=".  So, corrected that in this CL.

Bug: 122271254

Test: make offline-sdk-docs
      Modified description was visible correctly.

Change-Id: I1eaa94210b39813b3e72ac2a0834bc0b466a99a5
2019-01-03 00:27:06 +00:00
Matthew Ng
b8c30bbf81 Added an option to hide the home button
Test: manual
Bug: 112934365
Change-Id: I35dd870054389f54118956123d51145b6a2c42b4
2019-01-02 16:27:00 -08:00
Chih-Hung Hsieh
12fbb5786c Merge "Fix/suppress services/core google-explicit-constructor warnings" am: ffb51ba0f0 am: 14756c26fa
am: fa49fae6ca

Change-Id: Ie08eba549292e324d87b72cffea6cecaf67940ef
2019-01-02 16:22:59 -08:00
Chih-Hung Hsieh
fa49fae6ca Merge "Fix/suppress services/core google-explicit-constructor warnings" am: ffb51ba0f0
am: 14756c26fa

Change-Id: Iecd917842dafbe1f07b25827730d7671fc7e22a3
2019-01-02 16:13:52 -08:00
Chih-Hung Hsieh
14756c26fa Merge "Fix/suppress services/core google-explicit-constructor warnings"
am: ffb51ba0f0

Change-Id: Ibea7a936c7313a38cd5e148ce504106081d47899
2019-01-02 15:59:01 -08:00
Treehugger Robot
ffb51ba0f0 Merge "Fix/suppress services/core google-explicit-constructor warnings" 2019-01-02 23:48:35 +00:00
TreeHugger Robot
24fd0a9f80 Merge "Make DarkIconDispatcher visible to plugins" 2019-01-02 23:41:03 +00:00