Commit Graph

388476 Commits

Author SHA1 Message Date
Howard Ro
9a862de7e9 Move/rename stats_enums.proto's directory/name
Migrate stats_enums.proto to core/proto/android/stats/ directory for the
consistency with other enums file imported in atoms.proto

Test: mma
Change-Id: I79f068889ac5c34c6fd8c5966687669efb37d180
2018-10-11 23:52:09 -07:00
TreeHugger Robot
35315bdbc9 Merge "Prevent nav mode from being -1 to avoid crash" 2018-10-10 00:54:45 +00:00
TreeHugger Robot
bcca0c0770 Merge "Using application context in static instance of LatencyTracker to avoid context leak" 2018-10-10 00:01:24 +00:00
Marius Renn
7cc5a53c25 Merge "Add HardwareBuffer support to Bitmaps" 2018-10-09 23:09:30 +00:00
Matthew Ng
5a25020d4b Prevent nav mode from being -1 to avoid crash
Computing the nav mode would return -1 if there were no difference in
sys ui new and old bar mode. When dumping the data from nav bar, it
would crash if bar mode was -1 and there is no static constant for -1
bar mode. Therefore prevent setting -1 as a valid bar mode.

Test: manual
Change-Id: I9747f7aa7273b4bc05d26b08130818f059645187
Fixes: 117324620
2018-10-09 16:09:27 -07:00
Aurimas Liutikas
fb301a4718 Merge "Add style parents dump command." 2018-10-09 22:46:37 +00:00
TreeHugger Robot
80772962f7 Merge "Fixed some Autofill Save strings:" 2018-10-09 22:38:50 +00:00
Sunny Goyal
86914c2a04 Using application context in static instance of LatencyTracker
to avoid context leak

Test: Verified on device
Bug: 117515648
Change-Id: If5ad93f9ab41c9bea32030fb46fc605f3a193cfd
2018-10-09 15:26:34 -07:00
Cody Northrop
70687b7783 Merge "Add ANGLE_ENABLED_APP to CoreSettings" 2018-10-09 21:43:59 +00:00
Peiyong Lin
cfa8a02831 Merge "[SurfaceControl] Add setColorTransform API." 2018-10-09 21:35:15 +00:00
Aurimas Liutikas
13e6a1dc3e Add style parents dump command.
This command prints out the parent graph of a given style

Test: out/host/linux-x86/bin/aapt2 dump styleparents \
    --style Widget.MaterialComponents.TextInputLayout.FilledBox \
    out/target/product/generic_x86/system/priv-app/SystemUIGoogle/SystemUIGoogle.apk
Change-Id: Ib2ace7e90bee6f1c4b6a184edc591b1a3993db75
2018-10-09 13:55:31 -07:00
kopriva
c997fc62e0 Merge "docs: fixing errors found with lint check" into pi-dev am: 8c7d2142f6
am: 4d12f4c42b

Change-Id: I96a6dab05b6d4ea40950fe2ddc0948adf1b4e48f
2018-10-09 13:29:04 -07:00
kopriva
4d12f4c42b Merge "docs: fixing errors found with lint check" into pi-dev
am: 8c7d2142f6

Change-Id: Ief137b64e798b4b5bb6be5e6d25a35e08037abe5
2018-10-09 13:18:06 -07:00
TreeHugger Robot
8c7d2142f6 Merge "docs: fixing errors found with lint check" into pi-dev 2018-10-09 20:04:29 +00:00
TreeHugger Robot
1e7b9347d7 Merge "Created resuable DumpApkCommand and added "badger"" 2018-10-09 19:15:47 +00:00
Xiangyu/Malcolm Chen
e0017d64ee [automerger skipped] Merge "More descriptions on SubscriptionController#setPreferredData" am: 16fcd3dcff am: 247f18f47a
am: 4b61b0bdf1  -s ours

Change-Id: I14b83faa3d9d61e3e5de8f3a93a2e7f7104590d0
2018-10-09 12:13:18 -07:00
sqian
241c69b1ce Merge "Add Call Redirection Default Application in Settings" am: b7c0727c15 am: 936791f536
am: 846b2d1920

Change-Id: Ib86bc25d77275a814752bad4f0d2800182ab150b
2018-10-09 12:00:01 -07:00
Xiangyu/Malcolm Chen
4b61b0bdf1 Merge "More descriptions on SubscriptionController#setPreferredData" am: 16fcd3dcff
am: 247f18f47a

Change-Id: Id25f73dc5a0bd91c78f3822d31a6b37f7b488d5c
2018-10-09 11:54:25 -07:00
sqian
846b2d1920 Merge "Add Call Redirection Default Application in Settings" am: b7c0727c15
am: 936791f536

Change-Id: Ibf6554de156ec0e4d7fa9dc46eb8eee216857188
2018-10-09 11:47:46 -07:00
Xiangyu/Malcolm Chen
247f18f47a Merge "More descriptions on SubscriptionController#setPreferredData"
am: 16fcd3dcff

Change-Id: I33f2ee636be99c3cfba706dc581415881b5f11c3
2018-10-09 11:40:35 -07:00
sqian
936791f536 Merge "Add Call Redirection Default Application in Settings"
am: b7c0727c15

Change-Id: Iae885868a4e985822eac0e4134b16224ee8237f6
2018-10-09 11:36:25 -07:00
Felipe Leme
6101f5d962 Fixed some Autofill Save strings:
- Renamed "Update to" to "Update in".
- Replaced encoded symbols for < and >.

Bug: 112779203
Bug: 80100983

Test: it compiles!

Change-Id: Iff2375b65c5fadab9d1b1f8c554896238a24d56c
2018-10-09 11:33:48 -07:00
Xiangyu/Malcolm Chen
16fcd3dcff Merge "More descriptions on SubscriptionController#setPreferredData" 2018-10-09 18:18:11 +00:00
Treehugger Robot
b7c0727c15 Merge "Add Call Redirection Default Application in Settings" 2018-10-09 18:06:05 +00:00
Kevin Chyn
167aa777b0 Merge changes I02a3c932,I04b6f64d
* changes:
  Add protected BiometricPrompt API to allow default title
  Add setActiveUser to BiometricManager/Service
2018-10-09 18:04:17 +00:00
Ryan Mitchell
8cf68fcac1 Merge "Add rtmitchell to AAPT2 OWNERS" am: 0d3f4e61c9 am: f1aadaf8c5
am: ca7411c0e9

Change-Id: Ie50f8397291a83194c556e7647fe071788ebcdd9
2018-10-09 10:51:55 -07:00
Ryan Mitchell
214846df59 Created resuable DumpApkCommand and added "badger"
This change refactors the dump commands to inherit from a base
DumpApkCommand and adds a command that prints out an ASCII
image of a badger if the user wrote "badger" instead of
"badging". The command is hidden from the help menu.

Bug: 73535002
Test: manual
Change-Id: I9bdd8a7bbf6a4282c4933e5c478f6d1d8e32d99e
2018-10-09 10:51:25 -07:00
Ryan Mitchell
ca7411c0e9 Merge "Add rtmitchell to AAPT2 OWNERS" am: 0d3f4e61c9
am: f1aadaf8c5

Change-Id: I9a34ef3d924719c84e63a7dfd94755aae4f0ec61
2018-10-09 10:41:48 -07:00
TreeHugger Robot
96af49eb01 Merge "AAPT2: optionally keep resources without default value" 2018-10-09 17:32:29 +00:00
Ryan Mitchell
f1aadaf8c5 Merge "Add rtmitchell to AAPT2 OWNERS"
am: 0d3f4e61c9

Change-Id: I5285ed50123ed2fd219c6b9daa5e460c0cbdaa36
2018-10-09 10:31:54 -07:00
TreeHugger Robot
ee3fa7ed26 Merge "Allow Settings theme override colorPrimaryDark by OEMs." 2018-10-09 17:28:28 +00:00
kopriva
a1a7848f83 docs: fixing errors found with lint check
This covers directories through /app.

removed unused import in KeyguardManager.java

Test: make ds-docs

Bug: 117494359

Change-Id: Ie2536676ae8d3ab9349aa43dc3e3248b618dd143
Exempt-From-Owner-Approval: Docs-only change
2018-10-09 10:27:35 -07:00
Peiyong Lin
52bb6b436f [SurfaceControl] Add setColorTransform API.
Previously we have added methods to manipulate color transform for each
surface, this patch exposes this API to Java code land for WindowManager or
display service to set the color transform.

BUG: 111562338
Test: Build, flash and boot.
Change-Id: I0388eed5d72b043820786264f060cde2bd7a6aea
2018-10-09 10:25:52 -07:00
Yangster
2b81dcb04d Merge "Add yanglu@ and yaochen@ to the proto owner list." am: e546a26394 am: 884820a2a8
am: 9ab692f865

Change-Id: I753321a5f73b8621109d582f7f8b9f37e74e11b1
2018-10-09 10:25:52 -07:00
Yangster
9ab692f865 Merge "Add yanglu@ and yaochen@ to the proto owner list." am: e546a26394
am: 884820a2a8

Change-Id: Ie1d39b67e9ae40b6ca8952d256864c7b57494a7d
2018-10-09 10:12:48 -07:00
Treehugger Robot
0d3f4e61c9 Merge "Add rtmitchell to AAPT2 OWNERS" 2018-10-09 17:06:50 +00:00
Yangster
884820a2a8 Merge "Add yanglu@ and yaochen@ to the proto owner list."
am: e546a26394

Change-Id: Ia4cb799b12593f03bd8a111ce1acdd2c7a470055
2018-10-09 10:02:21 -07:00
Fabian Kozynski
fa66c22c20 Merge "Fixes wrong measurements on QS animation" 2018-10-09 16:54:28 +00:00
Treehugger Robot
e546a26394 Merge "Add yanglu@ and yaochen@ to the proto owner list." 2018-10-09 16:37:25 +00:00
TreeHugger Robot
421f1a152c Merge "CalendarTracker tracks all calendars" 2018-10-09 16:25:22 +00:00
Philip P. Moltmann
ae15e11ddd Merge "Deprecate Intent based installation/uninstallation" 2018-10-09 16:15:50 +00:00
Philip P. Moltmann
60678a0777 Merge "Do not allow to revert setForceSafeLabel" 2018-10-09 16:14:42 +00:00
Fabian Kozynski
52bd8c260e Fixes wrong measurements on QS animation
Clipping of PagedTileLayout is done independent of padding so no
measurement corrections are needed. Padding in TilePage fixed so
the pages are centered (they use all the width).

FrameLayout in qs_paged_tile_layout removed as not used.

Change-Id: If8cd95855ebcddf533e87b9203c4ee3d831bdf2c
Test: atest && visual
Fixes: 117452733
Bug: 117401270
Bug: 117096186
2018-10-09 10:18:26 -04:00
Mårten Kongstad
d8d290107a AAPT2: optionally keep resources without default value
Teach "aapt2 link" about a new flag --no-resource-removal. When given,
aapt2 will not filter out resources that lack default values. This is
useful mostly when building overlay packages that define resources for
non-default configurations, such as only for values-sv.

Test: manual: build package with resource only in values-vs, verify apk with aapt2 dump
Change-Id: Idc513bcb3f43bbff7f073163562c3dfccdb9bc9b
2018-10-09 07:01:17 -07:00
TreeHugger Robot
99ecc121bc Merge "Remove side effects of contact affinity." 2018-10-09 13:50:25 +00:00
TreeHugger Robot
512ebfe3f6 Merge "Adding a few missing PiP dump logs." 2018-10-09 11:57:03 +00:00
kopriva
c7d26d48ce Merge "docs: bug 37128155, broken link" into pi-dev am: 415e35525f
am: cc5deaf7d5

Change-Id: I41b0ec4bc5fb9d9c3ace80a0d21d3f4d1ea6d29f
2018-10-08 23:37:48 -07:00
Mike Ma
db1b6a8537 [automerger skipped] Merge "DO NOT MERGE: Fix signature of KernelCpuProcReader" into pi-dev am: 9457e1c429 -s ours
am: 285cd97730  -s ours

Change-Id: I24e0b3c66810cdf0cf360f81950f6d7df50a2013
2018-10-08 23:29:28 -07:00
kopriva
cc5deaf7d5 Merge "docs: bug 37128155, broken link" into pi-dev
am: 415e35525f

Change-Id: I2ef8a7bcb904734d5d7073e57c7a2bdc1334fe2c
2018-10-08 23:28:36 -07:00
Mike Ma
285cd97730 [automerger skipped] Merge "DO NOT MERGE: Fix signature of KernelCpuProcReader" into pi-dev
am: 9457e1c429  -s ours

Change-Id: I97986706c01bdb61b47a43fc8411f9a7a345b003
2018-10-08 23:23:47 -07:00