Commit Graph

26022 Commits

Author SHA1 Message Date
Chilun
65f0ccfed7 Support secondary displays
Add category SECONDARY_HOME.

Bug: 118206886
Bug: 111363427
Test: Manual
Change-Id: I6c8fb0f1bdd905fafab357eb3b444e8db34f2bae
2018-12-06 21:22:02 +08:00
TreeHugger Robot
5dee3e168e Merge "Allow to launch activity without specifying display id" 2018-12-04 02:55:07 +00:00
TreeHugger Robot
96a43cf335 Merge "WinScope: Support boundless surfaces in WinScope" 2018-12-01 01:07:22 +00:00
Jaewoong Jung
daff9aad39 Merge "Use filegroup for notice files." am: c78aa7e0a0 am: b548f318c2
am: d17ddb966d

Change-Id: I100df67136389398009c0ba043083bdde9028a2e
2018-11-30 08:29:44 -08:00
Jaewoong Jung
d17ddb966d Merge "Use filegroup for notice files." am: c78aa7e0a0
am: b548f318c2

Change-Id: Icd2b2aa74583439a282fb603a1757a29b71644c0
2018-11-30 08:27:22 -08:00
Jaewoong Jung
b548f318c2 Merge "Use filegroup for notice files."
am: c78aa7e0a0

Change-Id: If4b4516b852be8cad78d1b4e6b1bf914f28ecaa1
2018-11-30 08:23:00 -08:00
Jaewoong Jung
c78aa7e0a0 Merge "Use filegroup for notice files." 2018-11-30 14:48:18 +00:00
Hsin-Yi Chen
e97949fbfc Merge "Add unit tests for header-abi-dumper -suppress-errors" am: fc6ca5c821 am: c84f56e8a2
am: 8f82142448

Change-Id: I1b957f835d1fa435ae300a798e219ad131f2a846
2018-11-30 00:59:51 -08:00
Hsin-Yi Chen
8f82142448 Merge "Add unit tests for header-abi-dumper -suppress-errors" am: fc6ca5c821
am: c84f56e8a2

Change-Id: I26f877a94263bff72e007778c85023b93f14bb56
2018-11-30 00:48:08 -08:00
Hsin-Yi Chen
c84f56e8a2 Merge "Add unit tests for header-abi-dumper -suppress-errors"
am: fc6ca5c821

Change-Id: Ie261d766f34499ed8de455f9ac1facaa462ba0ec
2018-11-30 00:32:37 -08:00
Jaewoong Jung
6fbb9d2a24 Use filegroup for notice files.
Update gen_buildfiles.py so that it generates filegroup-based notice
references. The previous usage that relied on the parent directory
pattern, '../', is no longer supported.

Test: Built successfully
Change-Id: Iddf334ed9c4e6139cc896a77e07b9eeb596c257e
2018-11-29 22:18:06 -08:00
Hsin-Yi Chen
fc6ca5c821 Merge "Add unit tests for header-abi-dumper -suppress-errors" 2018-11-30 04:38:58 +00:00
Vishnu Nair
9a7231033b WinScope: Support boundless surfaces in WinScope
SurfaceFlinger trace relies on Display Root#0 layer size to set the display bounds. This layer will
no longer have a size once b/114413815 is fixed. Instead, sf transform will set the bounds to undefined and the
bounds be calculated to be the union of the layer sizes.
see: http://x20web/teams/android-window-manager/winscope/winscope-staging-vishnun.html
Bug: 114413815
Test: build winscope and open trace

Change-Id: Ic04d524f0e095374321ef818f0d0ff420a2d3827
2018-11-28 15:04:08 -08:00
Logan Chien
e17483c9f8 Merge "sourcedr: List apps with sharedUserId" am: 5b62b27784 am: 320f2ae1ee
am: 53cc4042bf

Change-Id: I8dceedd95557c49c98435bd252bfafb0b45ea7a7
2018-11-27 20:14:54 -08:00
Logan Chien
53cc4042bf Merge "sourcedr: List apps with sharedUserId" am: 5b62b27784
am: 320f2ae1ee

Change-Id: Ib97279a60a764cad612a4cfa1c83ab06be963a22
2018-11-27 20:10:49 -08:00
Logan Chien
320f2ae1ee Merge "sourcedr: List apps with sharedUserId"
am: 5b62b27784

Change-Id: I73d00ae171e98dbf88bfa449059a250a3316c9f8
2018-11-27 20:05:42 -08:00
Logan Chien
5b62b27784 Merge "sourcedr: List apps with sharedUserId" 2018-11-28 03:49:56 +00:00
Riddle Hsu
ff3874d082 Allow to launch activity without specifying display id
- Add a dropdown item to not set launch display id.
- Default don't set launch display id.

In general use cases, activity should be launched on the
display where the caller resides.

Bug: 112451761
Test: Create a virtual display with system decoration support,
      launch an activity from shortcut and check if the activity
      runs on the same display.

Change-Id: Iab2fd21402c7aa0e245ebfeb3698aaa22cb30e18
2018-11-28 10:27:05 +08:00
Andrii Kulian
08bd8089cc Merge "Move from support appcompat to androidx appcompat" 2018-11-27 21:20:26 +00:00
Andrii Kulian
fbf1f2234c Merge "Intent Playground sample application" 2018-11-27 21:19:03 +00:00
Liam Clark
53ee6bc2bf Move from support appcompat to androidx appcompat
Test: Manual
Change-Id: Id9af2504b557d3dd6a2d84786316497cff53d9a3
2018-11-27 09:16:50 -08:00
Liam Clark
bd43fbe931 Intent Playground sample application
The app allows a user to explore the behaviour of different
launch modes, task affinities and intent flags.

It displays the current state of all tasks in the application
and their corresponding flags.

It allows the user to launch a set amount of activities on launch.
This bring the user directly into a state where many options for
exploration are available, rather than having to go through a
complicated setup first.

Access the activity field of RecentTaskInfo using reflection and mirror
the ActivityInstanceInfo into our own value object. This breaks
the compile time dependency on the ActivityInstanceInfo api and turns
it into a runtime dependency.

If the api is missing on the device we can still show the task structure
and log an error with the missing activity instance info.

Known bug: The enable suggestion button crashes the application.
Test: Build and Run

Change-Id: Id0274bae159c16aee6dccd805deb53851ffcf21d
2018-11-26 11:37:35 -08:00
Hsin-Yi Chen
43b9a1084a Merge "Let header-abi-dumper get lookahead token from preprocessor" am: 4065033167 am: d73fb326dc
am: 5bb24e4bbf

Change-Id: Idc33f0023c239808139d32cae21183a60fe2e791
2018-11-21 19:16:18 -08:00
Hsin-Yi Chen
5bb24e4bbf Merge "Let header-abi-dumper get lookahead token from preprocessor" am: 4065033167
am: d73fb326dc

Change-Id: I4d95d5240c853b01a2ec57ecc96612da8b69f569
2018-11-21 19:12:10 -08:00
Hsin-Yi Chen
d73fb326dc Merge "Let header-abi-dumper get lookahead token from preprocessor"
am: 4065033167

Change-Id: I135bd2f1be9bc791f7606a8b932de62cd16550e8
2018-11-21 19:07:06 -08:00
Hsin-Yi Chen
4065033167 Merge "Let header-abi-dumper get lookahead token from preprocessor" 2018-11-22 02:54:10 +00:00
Louis Pullen-Freilich
f6e0496669 Merge "Removes framework Preference demos" 2018-11-21 14:42:43 +00:00
Logan Chien
f02508a27b sourcedr: List apps with sharedUserId
This commit adds `list_app_shared_uid.py` which lists apps with
sharedUserId in their AndroidManifest.xml.

Test: list_app_shared_uid.py -o out.csv ${ANDROID_PRODUCT_OUT}
Change-Id: I93949a79801364523790042dd3a362f6d5a58d0e
2018-11-21 15:37:31 +08:00
Hsin-Yi Chen
07f3dd52a8 Add unit tests for header-abi-dumper -suppress-errors
- Add undeclared_types.h and known_issues.h.
- Classify modules into LsdumpModule and SdumpModule.

Test: ./test.py
Bug: 117582158
Change-Id: Ia8d56d28e6bf37f6d8f746fa9505b51c44772294
2018-11-20 18:39:12 +08:00
Hsin-Yi Chen
14a392a9da Let header-abi-dumper get lookahead token from preprocessor
header-abi-dumper looks ahead one token to determine whether an
identifier is a template. This commit makes the dumper get token from
preprocessor so as to handle template instantiation in macro.

Test: ./test.py
Bug: 117582158
Change-Id: I0e3f3708ec98eba5353fee619f4cfbdc50570a59
2018-11-20 18:18:21 +08:00
Justin Yun
4aec9895c9 Merge "build_mixed script has '-s' option for product.img" am: 4619c3295c am: cb5ab3812e
am: a648907a64

Change-Id: I18aadc35d805d4cee0e0ef8a3c60c44750555417
2018-11-20 01:14:55 -08:00
Justin Yun
a648907a64 Merge "build_mixed script has '-s' option for product.img" am: 4619c3295c
am: cb5ab3812e

Change-Id: I2bc9a3e9418fe2111ed04ca301246adbc73e10f9
2018-11-20 01:08:19 -08:00
Justin Yun
cb5ab3812e Merge "build_mixed script has '-s' option for product.img"
am: 4619c3295c

Change-Id: I12142c275aa3d1c3df527162e860912bf506ce8b
2018-11-20 01:03:11 -08:00
Treehugger Robot
4619c3295c Merge "build_mixed script has '-s' option for product.img" 2018-11-20 08:53:25 +00:00
Justin Yun
07a77c8b3f build_mixed script has '-s' option for product.img
For independent system update, we update system.img only.
But the devies that has product partition has some system modules
installed in product partition. In that case, we must update product
partition as well for independent system update.

Use '-s' option without parameters to flash product.img in addition
to system.img for mixed build targets.

Bug: 119266183
Test: development/vndk/tools/build_mixed \
        -p out/prebuilt_cached/artifacts/system/vbmeta.img \
	-s \
	out/prebuilt_cached/artifacts/system \
	out/prebuilt_cached/artifacts/blueline \
	out/dist \
	out/prebuilt_cached/artifacts/system/checkvintf

Change-Id: I86da00630bde7e9e522160c98691087bca9d7d66
2018-11-20 13:58:20 +09:00
Charles Chen
32bd77adba Merge "Make MD Launcher start a new task when launching app by default" 2018-11-20 03:19:12 +00:00
Louis Pullen-Freilich
1496f57583 Removes framework Preference demos
The framework Preference APIs are deprecated, so these samples are
misleading and should be removed.

Trying to submit again now that the relevant sample tags have been removed.

Bug: b/119602280
Test: n/a
Change-Id: I7efb509f5c938122575cf4177b50872bfc089d00
2018-11-19 18:05:33 +00:00
Charles Chen
24c88f07ae Make MD Launcher start a new task when launching app by default
We want to make MD launcher have the similar behaviors as other
launchers, which is start a new task by default.

Fixes: 119634726
Test: Manual - launch EditTextVariation and click home button
Change-Id: I862557c1ac41ce4d259ebe45394eb503065e1fa0
2018-11-19 13:14:03 +00:00
Louis Pullen-Freilich
aff9a71419 Merge "Revert "Removes framework Preference demos"" 2018-11-16 18:28:27 +00:00
Louis Pullen-Freilich
4b364839bd Revert "Removes framework Preference demos"
This reverts commit 946280d6ce.

Reason for revert: Breaking builds due to doc generation using these samples

Change-Id: I7caf9792e84e0e1eedea4a7294a321c684be2d5c
2018-11-16 18:26:28 +00:00
Louis Pullen-Freilich
0d2db8feb9 Merge "Removes framework Preference demos" 2018-11-16 17:16:17 +00:00
Hsin-Yi Chen
59ff9d98cc Merge "Let header-abi-dumper declare unknown types automatically" am: fcafbf84ee am: 6ef900bcd4
am: dc6695ca21

Change-Id: Ifd9807300ae85634e493d879de31a7b7723ad6b6
2018-11-15 22:55:38 -08:00
Hsin-Yi Chen
dc6695ca21 Merge "Let header-abi-dumper declare unknown types automatically" am: fcafbf84ee
am: 6ef900bcd4

Change-Id: I35e544e9526b8d8ac49dc8473757cae8428ffb0c
2018-11-15 22:50:29 -08:00
Hsin-Yi Chen
6ef900bcd4 Merge "Let header-abi-dumper declare unknown types automatically"
am: fcafbf84ee

Change-Id: If005234add470892bc7e15188c38756d4ef3733a
2018-11-15 22:46:10 -08:00
Hsin-Yi Chen
fcafbf84ee Merge "Let header-abi-dumper declare unknown types automatically" 2018-11-16 06:27:03 +00:00
Louis Pullen-Freilich
946280d6ce Removes framework Preference demos
The framework Preference APIs are being deprecated, so removing the
samples will help avoid confusion.

Bug: b/119602280
Test: n/a
Change-Id: Ib3a2c38b8fbb0f1afc9ef6a35963def46ee931f7
2018-11-15 12:51:50 +00:00
Logan Chien
f56dc2c29d Merge "header-checker: Code cleanup" am: 3fc148f690 am: 24015b58e8
am: db37d35fa8

Change-Id: Ia318e3e23398f7b98d3aa680125fc3b83a68f5a6
2018-11-15 01:57:45 -08:00
Logan Chien
db37d35fa8 Merge "header-checker: Code cleanup" am: 3fc148f690
am: 24015b58e8

Change-Id: I91db5065da6e6046b0d5f387cc4248266c96312a
2018-11-15 01:50:20 -08:00
Logan Chien
24015b58e8 Merge "header-checker: Code cleanup"
am: 3fc148f690

Change-Id: I211936cce1176268dcb2005182fe85f442413207
2018-11-15 01:45:27 -08:00
Logan Chien
3fc148f690 Merge "header-checker: Code cleanup" 2018-11-15 09:30:32 +00:00