TreeHugger Robot
b41b74bfa1
Merge "AOSP format StrictMode"
2017-09-01 01:58:38 +00:00
TreeHugger Robot
d74357d29c
Merge "MagnificationGestureHandler refactoring and unit test"
2017-09-01 01:58:16 +00:00
Lei Yu
b868891671
Merge "Hook up AOD knobs to Settings.Global" into oc-mr1-dev am: 67594c6f54
...
am: 04e7d1fa20
Change-Id: I9b4a60017a5e2273e572d90929d269e31352b5a0
2017-09-01 01:24:17 +00:00
Kurt Nelson
46974a2a46
AOSP format StrictMode
...
This class predates having a format presubmit and is a mix of formats.
Test: formatting only
Change-Id: I0978ab51e9429131852b05f23c957bb0988bdbcd
2017-08-31 18:06:39 -07:00
Lei Yu
04e7d1fa20
Merge "Hook up AOD knobs to Settings.Global" into oc-mr1-dev
...
am: 67594c6f54
Change-Id: Ifbb83939c2c2c30048fe43b2092b2afe4c3b234c
2017-09-01 01:01:47 +00:00
Lei Yu
67594c6f54
Merge "Hook up AOD knobs to Settings.Global" into oc-mr1-dev
2017-09-01 00:54:01 +00:00
TreeHugger Robot
78b69408a2
Merge "Documented use of AutofillManager.notifyViewVisibilityChanged()"
2017-09-01 00:01:11 +00:00
Chenjie Yu
e0330bf721
Merge "add StatsLog and its jni"
2017-08-31 23:28:28 +00:00
Mårten Kongstad
58396d4e49
Merge changes I7218f17a,I96b7340a am: 111c955d1d am: 96e763fe71 am: 38f0f5687f
...
am: 4f4a341402
Change-Id: Ibe4fdcdfaa1948001d884eaa099cc84258ad68bc
2017-08-31 23:18:09 +00:00
Michael Wright
bf5daf4565
Merge "Don't always fallback to clockTick for EFFECT_TICK." into oc-mr1-dev am: b60141b23c
...
am: b32153e3d2
Change-Id: If9a5a28fc0ac20e63177945800518977b7aec872
2017-08-31 23:04:20 +00:00
TreeHugger Robot
47f4cbdf04
Merge "Added getClientState() to FillEvent; deprecated it on FillEventHistory."
2017-08-31 22:59:02 +00:00
TreeHugger Robot
b7e37475e8
Merge "Suppressing spammy logs when widget inflation fails"
2017-08-31 22:55:51 +00:00
Mårten Kongstad
4f4a341402
Merge changes I7218f17a,I96b7340a am: 111c955d1d am: 96e763fe71
...
am: 38f0f5687f
Change-Id: I8d3c46d10463f4c64f7ef96006c31c1343710f53
2017-08-31 22:03:11 +00:00
Tarandeep Singh
379f158b77
Merge "Add multi-display support to FloatingToolbar." into oc-mr1-dev am: 01b6ff0178
...
am: a040bae50a
Change-Id: I29cea04f2a2401ee8aa50794db3612216e50a29c
2017-08-31 21:58:43 +00:00
Mårten Kongstad
38f0f5687f
Merge changes I7218f17a,I96b7340a am: 111c955d1d
...
am: 96e763fe71
Change-Id: I21e3d230c91a76b77287d13c93a87db2f197e7d7
2017-08-31 21:53:08 +00:00
Michael Wright
b32153e3d2
Merge "Don't always fallback to clockTick for EFFECT_TICK." into oc-mr1-dev
...
am: b60141b23c
Change-Id: Ifc2015508739226259f16672f2176623397fe5ab
2017-08-31 21:51:54 +00:00
Mårten Kongstad
96e763fe71
Merge changes I7218f17a,I96b7340a
...
am: 111c955d1d
Change-Id: I64cb964b751561e87115976866646b1db3858e14
2017-08-31 21:44:25 +00:00
TreeHugger Robot
b60141b23c
Merge "Don't always fallback to clockTick for EFFECT_TICK." into oc-mr1-dev
2017-08-31 21:44:01 +00:00
Tarandeep Singh
a040bae50a
Merge "Add multi-display support to FloatingToolbar." into oc-mr1-dev
...
am: 01b6ff0178
Change-Id: Ic3c317435ba408522b2b26f74c4df5a772871566
2017-08-31 21:38:33 +00:00
Treehugger Robot
111c955d1d
Merge changes I7218f17a,I96b7340a
...
* changes:
ResourcesManager: correct @NonNull -> @Nullable
AAPT2: Allow <overlay> in AndroidManifest.xml
2017-08-31 21:27:42 +00:00
Chenjie Yu
671b1b5b83
add StatsLog and its jni
...
Test: ran existing tests. Also confirmed with logcat.
Change-Id: I038bbdbd787b1d20e008eda7edf7053875795de2
2017-08-31 14:21:28 -07:00
Julian Mancini
831458a65a
Remove PDF Thumbnail functionality
...
am: 30175b958e
Change-Id: Id58212dce0b51eada2a31936f1614d773d89ecad
2017-08-31 21:11:16 +00:00
Felipe Leme
072d18b6f7
Documented use of AutofillManager.notifyViewVisibilityChanged()
...
Test: mmm -j108 frameworks/base/:doc-comment-check-docs
Bug: 38509603
Change-Id: I83c7089b071a82b7d887cb48c18683b671b0c4d6
2017-08-31 14:05:22 -07:00
Tarandeep Singh
01b6ff0178
Merge "Add multi-display support to FloatingToolbar." into oc-mr1-dev
2017-08-31 20:45:48 +00:00
Julian Mancini
30175b958e
Remove PDF Thumbnail functionality
...
Bug: 64225798
Test: Removing Functionality
Change-Id: Id02f1b50d161c6f2779c9f65c579383c18028b65
2017-08-31 14:26:10 -06:00
jackqdyulei
8443dd0e76
Hook up AOD knobs to Settings.Global
...
This cl creates AlwaysOnDisplayPolicy, which get values for the
following knobs(go/aod-experiments) from Settings.Global:
1. screen_brightness_array
2. dimming_scrim_array
3. prox_screen_off_delay
4. prox_cooldown_trigger
5. prox_cooldown_period
Also update code to make sure AlwaysOnDisplayPolicy is used
everywhere.
Bug: 64899561
Test: runtest -x AlwaysOnDisplayPolicyTest
Change-Id: I2e83ff980771e67177e4964bd83aa68b2bdca65f
2017-08-31 13:20:04 -07:00
Android Build Merger (Role)
c829bf4f58
Merge "Merge "Do not call setAlwaysButtonEnabled if the activity doesn't support defaults." into oc-mr1-dev am: c1235a1ff2 am: 0caca11df4"
2017-08-31 20:17:53 +00:00
TreeHugger Robot
98eaf2ebd6
Merge "Add VERSION_CODES.P"
2017-08-31 20:16:36 +00:00
Ruchi Kandoi
1fecd07bef
Merge "Do not call setAlwaysButtonEnabled if the activity doesn't support defaults." into oc-mr1-dev am: c1235a1ff2
...
am: 0caca11df4
Change-Id: Ia47decb98a151786fc9a5262eff20c55814b6170
2017-08-31 20:14:15 +00:00
Android Build Merger (Role)
7a35f63f66
Merge "Merge "Fixed FillResponse.toString() to display list of datasets." into oc-mr1-dev am: ac2a765a18 am: aad0ef1f40"
2017-08-31 20:12:43 +00:00
Sunny Goyal
0ec83525cf
Suppressing spammy logs when widget inflation fails
...
Test: N/A
Bug: 63061304
Change-Id: I6696856efb3999e2ad2a947604411c163f9d11c1
2017-08-31 20:12:36 +00:00
TreeHugger Robot
95fc70bcec
Merge "Changing RemoteViews to using MethodHandles instead of relection"
2017-08-31 20:11:00 +00:00
Felipe Leme
d188da9e17
Merge "Fixed FillResponse.toString() to display list of datasets." into oc-mr1-dev am: ac2a765a18
...
am: aad0ef1f40
Change-Id: I2b1869ec2eb3f25e9af9b89bd1a4d475b474580f
2017-08-31 20:08:12 +00:00
Eugene Susla
4f8680bb77
MagnificationGestureHandler refactoring and unit test
...
This is aimed at making MagnificationGestureHandler easier to understand
and reason about
Test: provided unit test + manual magnification test
Change-Id: I958ef0bdd2e6f857a2fab24962b1a06480685732
2017-08-31 13:03:23 -07:00
Ruchi Kandoi
0caca11df4
Merge "Do not call setAlwaysButtonEnabled if the activity doesn't support defaults." into oc-mr1-dev
...
am: c1235a1ff2
Change-Id: I109b96ae365e102428fbe6c7174ebd140145e293
2017-08-31 20:01:13 +00:00
Felipe Leme
aad0ef1f40
Merge "Fixed FillResponse.toString() to display list of datasets." into oc-mr1-dev
...
am: ac2a765a18
Change-Id: Ic84ca582b444c145609d79a04232926da6deb118
2017-08-31 19:54:07 +00:00
TreeHugger Robot
c1235a1ff2
Merge "Do not call setAlwaysButtonEnabled if the activity doesn't support defaults." into oc-mr1-dev
2017-08-31 19:47:42 +00:00
TreeHugger Robot
ac2a765a18
Merge "Fixed FillResponse.toString() to display list of datasets." into oc-mr1-dev
2017-08-31 19:43:01 +00:00
Makoto Onuki
7bd7a62336
Add VERSION_CODES.P
...
Bug: 64982450
Test: Build and boot
Change-Id: I0a90033239081c583b10021cbc06d032e206beb4
2017-08-31 18:06:26 +00:00
TreeHugger Robot
25706748aa
Merge "Improve rectangle direction generation"
2017-08-31 18:05:23 +00:00
Tarandeep Singh
c9c83a9ccb
Add multi-display support to FloatingToolbar.
...
DecorView has no support for multi-display (bug 65172902).
Until that is done, the easy fix for displaying cut, copy, paste
on non-default display is to modify FloatingToolbar.
FloatingToolbar uses context of Default display. Changed it
to use context of the window (which makes it multi-display
compatible).
Fixes: 64837794
Test: Manual using AAe's KitchenSink test app
bit FrameworksCoreTests:android.widget.TextViewActivityTest
bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Change-Id: I513f1aac1c0d22355c996247e3bf56c6d812348f
2017-08-31 17:51:50 +00:00
Sunny Goyal
271e32270b
Changing RemoteViews to using MethodHandles instead of relection
...
Test: am instrument -w -e class android.widget.RemoteViewsTest com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I1c1eb58d863e1196a38fadb15e08ad2fdcff1d4d
2017-08-31 17:35:13 +00:00
TreeHugger Robot
f8900f1a48
Merge "Rename roundPercentage to roundRatio"
2017-08-31 17:29:50 +00:00
Petar Šegina
7272925026
Improve rectangle direction generation
...
The previous solution didn't take into account that the source rectangle
might be at either end of the selection, thus giving it the wrong
direction of CENTER, while it should have been RIGHT or LEFT.
Test: manual - verify that the rectangles expand properly in a smart
select animation when there are multiple rectangles and the source is
not in the center - e.g. a multiline case with the selection starting on
the first line
Change-Id: Id18ab8f9918e74a576503620dae2f7cdd593fb0e
2017-08-31 17:17:00 +01:00
Yohei Yukawa
9402bb4994
Merge "Fix wrong dump output of *Info#flags" into oc-mr1-dev am: c4a8b3625b
...
am: edaa2ea5b7
Change-Id: I491132d3841b55d258fa9221467815fe7ef6f006
2017-08-31 15:45:40 +00:00
Android Build Merger (Role)
70ee016e21
Merge "Merge changes I49057737,I68e3096d am: 50cf621704 am: f5dcc28b0c am: 30348a8abb" into oc-mr1-dev-plus-aosp
2017-08-31 15:39:42 +00:00
Andreas Gampe
38849ccf26
Merge changes I49057737,I68e3096d am: 50cf621704 am: f5dcc28b0c
...
am: 30348a8abb
Change-Id: I9755772ab8c8d4c3708ee2a65cda0b0d3f39d30e
2017-08-31 15:35:58 +00:00
Yohei Yukawa
edaa2ea5b7
Merge "Fix wrong dump output of *Info#flags" into oc-mr1-dev
...
am: c4a8b3625b
Change-Id: I43645394470ca01bd533da378ba9edc3abaa3a3b
2017-08-31 15:32:59 +00:00
Andreas Gampe
30348a8abb
Merge changes I49057737,I68e3096d am: 50cf621704
...
am: f5dcc28b0c
Change-Id: Id25418e3def0b63a8c52671546968017cf350d18
2017-08-31 15:27:52 +00:00
Yohei Yukawa
8f272178a0
Fix wrong dump output of *Info#flags
...
This CL follows up to a previous CL [1] that introduced an ability to
control filtering level of
- ActivityInfo#dump()
- ApplicationInfo#dump()
- ComponentInfo#dump()
- ProviderInfo#dump()
- ResolveInfo#dump()
- ServiceInfo#dump()
but also masked following outputs as an unexpected side effect.
- ActivityInfo#flags
- ApplicationInfo#flags
- ProviderInfo#flags
- ServiceInfo#flags
With this CL, above *Info#flags are correctly dumped again.
[1]: I0d01565babb87e68b840c9756a2ea730d699efc7
6ac42aeed9
Test: Manually tested as follows.
1. make -j SoftKeyboard
2. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk
3. adb shell dumpsys input_method
-> Check 'com.example.android.softkeyboard' section
-> make sure ServiceInfo#flags=0x0
-> make sure ApplicationInfo#flags=0x38a8be44
FLAG_HAS_CODE (1<<2)
FLAG_ALLOW_CLEAR_USER_DATA (1<<6)
FLAG_SUPPORTS_SMALL_SCREENS (1<<9)
FLAG_SUPPORTS_NORMAL_SCREENS (1<<10)
FLAG_SUPPORTS_LARGE_SCREENS (1<<11)
FLAG_RESIZEABLE_FOR_SCREENS (1<<12)
FLAG_SUPPORTS_SCREEN_DENSITIES (1<<13)
FLAG_ALLOW_BACKUP (1<<15)
FLAG_SUPPORTS_XLARGE_SCREENS (1<<19)
FLAG_STOPPED (1<<21)
FLAG_SUPPORTS_RTL (1<<22)
FLAG_INSTALLED (1<<23)
FLAG_FULL_BACKUP_ONLY (1<<26)
FLAG_EXTRACT_NATIVE_LIBS (1<<28)
FLAG_HARDWARE_ACCELERATED (1<<29)
Fixes: 65057767
Change-Id: Icd1e18237e873844791ccdea7f424b6fe76137c0
2017-08-31 15:24:48 +00:00