Commit Graph

82812 Commits

Author SHA1 Message Date
Todd Kennedy
bdb4bc4fc0 Merge "Add internal implementation for notifyPackageUse" into oc-mr1-dev am: 8bb58a145c
am: ad64df2bac

Change-Id: I7fab82efe230dea393fa4b12c9c7ea71c44243fe
2017-09-05 17:00:43 +00:00
Abodunrinwa Toki
7c5df649d7 Merge "Delete old TEXT_SELECTION_MENU_ITEM_ASSIST logs." into oc-mr1-dev am: f28b8a8de3
am: 48063322b4

Change-Id: I23f8204732f1f166aacf10d5d147bd3f21025c6b
2017-09-05 16:51:19 +00:00
Todd Kennedy
ad64df2bac Merge "Add internal implementation for notifyPackageUse" into oc-mr1-dev
am: 8bb58a145c

Change-Id: Ic64dde3af1d7edcc75513b76c86ce8d8b8f083de
2017-09-05 16:43:19 +00:00
Abodunrinwa Toki
48063322b4 Merge "Delete old TEXT_SELECTION_MENU_ITEM_ASSIST logs." into oc-mr1-dev
am: f28b8a8de3

Change-Id: I9d9f590d9c1e133ca895c830525f118adccfe92a
2017-09-05 16:35:07 +00:00
TreeHugger Robot
8bb58a145c Merge "Add internal implementation for notifyPackageUse" into oc-mr1-dev 2017-09-05 16:28:13 +00:00
Abodunrinwa Toki
fadd4288df Delete old TEXT_SELECTION_MENU_ITEM_ASSIST logs.
This field is now being used for new smart selection logging.
See: Icc9d5b542140bdb01b2ad4211048bd83eae2ce83

Bug: 64914512
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: bit CtsAccessibilityServiceTestCases:android.accessibilityservice.cts.AccessibilityTextTraversalTest
Change-Id: If1ce8ca038b089500cd7adb9a146330abe909407
2017-09-05 14:19:52 +01:00
Abodunrinwa Toki
d0470d7ebd Merge "TextView text selection interaction logging." into oc-mr1-dev
am: 563a5637d7

Change-Id: Ie9a211b657d9fa370db699d9c11ad553ab5f22d6
2017-09-05 10:50:14 +00:00
Abodunrinwa Toki
5ddd3ed855 TextView text selection interaction logging.
TODO: Log typing over selection

Bug: 64914512
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: bit CtsAccessibilityServiceTestCases:android.accessibilityservice.cts.AccessibilityTextTraversalTest

Merged-In: Icc9d5b542140bdb01b2ad4211048bd83eae2ce83
Change-Id: Icc9d5b542140bdb01b2ad4211048bd83eae2ce83
2017-09-04 20:47:40 +01:00
Abodunrinwa Toki
57ec6ea1bb TextView text selection interaction logging.
TODO: Log typing over selection

Bug: 64914512
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: bit
CtsAccessibilityServiceTestCases:android.accessibilityservice.cts.AccessibilityTextTraversalTest

Change-Id: Icc9d5b542140bdb01b2ad4211048bd83eae2ce83
2017-09-04 20:40:07 +01:00
Hugo Benichi
f59de479ba Merge "Network Service Discovery test: properly release resources" am: c9d24d203d am: 80e0daa870 am: f467db29f9
am: 84b253b0c5

Change-Id: Icd9033ce7e32d5bddc9d0eba38b3b381fe424004
2017-09-04 12:59:49 +00:00
Hugo Benichi
84b253b0c5 Merge "Network Service Discovery test: properly release resources" am: c9d24d203d am: 80e0daa870
am: f467db29f9

Change-Id: Id9be284a16112f999d752751a7972fd735573cda
2017-09-04 12:42:56 +00:00
Hugo Benichi
f467db29f9 Merge "Network Service Discovery test: properly release resources" am: c9d24d203d
am: 80e0daa870

Change-Id: I03c0cff6dfdcd8dfc94de8399161ceab0f7a901a
2017-09-04 12:25:10 +00:00
Hugo Benichi
80e0daa870 Merge "Network Service Discovery test: properly release resources"
am: c9d24d203d

Change-Id: If34b3770a5c0fef65d124201e0ca1374cc6b1eca
2017-09-04 12:14:11 +00:00
Hugo Benichi
e062ae07f9 Network Service Discovery test: properly release resources
Bug: 32561414
Bug: 62918393
Bug: 62044295
Test: runtest frameworks-net
Change-Id: If23993b5e391947ecbdc01677f0a643144794b2b
2017-09-02 14:54:29 +09:00
TreeHugger Robot
e82e1fad14 Merge "Adding user forced app standby to alarms" 2017-09-02 01:15:15 +00:00
Andrii Kulian
555aad412b Merge "Fix NPE in ActivityView on surface destruction" into oc-mr1-dev am: 9352329ee1
am: e68942db8e

Change-Id: I1133759dace1e365516eed5675bea445bdb531e4
2017-09-02 00:48:04 +00:00
Andrii Kulian
e68942db8e Merge "Fix NPE in ActivityView on surface destruction" into oc-mr1-dev
am: 9352329ee1

Change-Id: I51c19df8f9ad2832102a126778fbc5927d61f094
2017-09-02 00:31:22 +00:00
TreeHugger Robot
9352329ee1 Merge "Fix NPE in ActivityView on surface destruction" into oc-mr1-dev 2017-09-02 00:16:48 +00:00
Suprabh Shukla
db6bf66ee3 Adding user forced app standby to alarms
The app op RUN_ANY_IN_BACKGROUND can be set to ignored to indicate that
any alarms for the receiving app will be delayed until the app op is set
to allowed or the app comes into the foreground. Power whitelisted apps
are exempted.

Test: cts-tradefed run cts-dev -m AlarmManagerTestCases

Fixes: 64446607
Change-Id: Ic48b52383ad5ccd726c62769cdca25202d1e3814
2017-09-01 15:45:43 -07:00
Andrii Kulian
d93da5c6e2 Fix NPE in ActivityView on surface destruction
Instance variable mSurface in ActivityView was not updated after surface
destroy/create cycle, which lead to NPE when we were trying to release
it again after second destroy callback.

Bug: 63338670
Test: Create app with activityView, cause activity restart.
Change-Id: I96447ebe77d175050565641ba94b748d2b633d99
2017-09-01 21:31:18 +00:00
Fyodor Kupolov
a816016de4 Merge "Do not close idle connections by default" into oc-mr1-dev am: 6f8afdc501
am: eb952ab3d0

Change-Id: I5b4583fc8d663afe87cdc79b32536e85a29756cd
2017-09-01 18:01:07 +00:00
Fyodor Kupolov
eb952ab3d0 Merge "Do not close idle connections by default" into oc-mr1-dev
am: 6f8afdc501

Change-Id: Icda0c6495682077725849f96855421f395cd8ff5
2017-09-01 17:45:27 +00:00
Fyodor Kupolov
6f8afdc501 Merge "Do not close idle connections by default" into oc-mr1-dev 2017-09-01 17:34:41 +00:00
TreeHugger Robot
9eb7a69e78 Merge "Removed deprecated BIND_AUTOFILL permission." 2017-09-01 15:11:56 +00:00
Benjamin Franz
64affcbf48 Resolve stopship to add P API level
Bug: 64383815
Test: make docs
Change-Id: I317d976f4a360e9c52d4e5cc7dcc42b7c197b217
2017-09-01 13:53:05 +01:00
Julia Reynolds
8c6fe753dd Merge "Add more functionality to channel groups" 2017-09-01 12:49:49 +00:00
TreeHugger Robot
2117dfc13d Merge "Improve and simplify final polygon drawing" 2017-09-01 12:46:29 +00:00
TreeHugger Robot
4456a99918 Merge "Update DPM.setKeyguardDisabled to also dismiss the keyguard" 2017-09-01 10:59:45 +00:00
Petar Šegina
aee97ac902 Improve and simplify final polygon drawing
The final step of the smart select animation, drawing the outline of all
the rectangles, was not working properly in cases where the rectangles
would touch or intersect, which we cannot guarantee that they won't.

Instead of the previous implementation, we now rely on Path to create
the outline of the rectangles, making much of the code simpler.

Now the polygon generation should work in the general case, which is one
of the prerequisites in getting the smart select animation to work
properly in multiline scenarios.

Test: manual - test the smart select animation with various rectangle
sets
        (100, 100, 500, 500), (300, 300, 700, 700)
        (100, 100, 500, 500), (500, 100, 900, 500)
        (100, 100, 500, 500), (500, 300, 900, 700)
        (100, 100, 500, 500), (300, 300, 700, 500), (200, 500, 400, 700)

Change-Id: I51dd72e18c5efe36df734aa62ab47d57a5946399
2017-09-01 11:57:37 +01:00
TreeHugger Robot
6307647e24 Merge "Create a flag to allow starting managed user in background" 2017-09-01 09:59:49 +00:00
Benjamin Franz
32a3bf3521 Update DPM.setKeyguardDisabled to also dismiss the keyguard
Currently if the keyguard is shown, setKeyguardDisabled does not
dismiss it but disables it for the future. This change also dismisses
the keyguard in this situation.

Test: manual
Bug: 64383815
Change-Id: Idb89f363510a18c741d335d96d11c5492c0eaee3
2017-09-01 09:19:39 +01:00
TreeHugger Robot
bc0134c1f5 Merge "Introducing activityType window configuration." 2017-09-01 02:16:21 +00:00
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
Todd Kennedy
df113c36a7 Add internal implementation for notifyPackageUse
We have checks that prevent applications from modifying the usage
times of instant apps [and vice versa]. However, it's critical for
internal components such as the ActivityManager to be able to upate
this for all packages. Add an internal implementation of this
method that skips the checks.

Change-Id: Ib890296065024104cdaf7c8d64a5a7583d9062c1
Fixes: 65228752
Test: Manual. Run an application installed as an "instant app" and notice the usage time goes up
2017-08-31 16:10:29 -07: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
Wale Ogunwale
6fbde9fccb Introducing activityType window configuration.
Used to represent the current activity type of the window
configuration which can be undefined, standard, home, recents, or
assistant. This information if currently represented in a few ways in
the window heirarchy e.g. with stack id or with fields in tasks and
activities. This change allows us to represent the idea in a more
structure way without overloading concepts like stack ids.

Test: bit FrameworksServicesTests:com.android.server.wm.ConfigurationContainerTests
Test: bit FrameworksServicesTests:com.android.server.wm.WindowConfigurationTests
Test: go/wm-smoke
Change-Id: I7d7283c72e806972eeb3a8dab448f195dd6cd811
2017-08-31 15:02:04 -07: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