Ben Lin
2db7e4d384
Merge "Remove snippet regarding ContentProvider#notifyChange in documentation." into oc-dev am: d6bfaba59c
...
am: bb87997182
Change-Id: I82a9b7c4542e4a2f157a608be3a991c158707f12
2017-05-03 02:37:27 +00:00
Ben Lin
d6bfaba59c
Merge "Remove snippet regarding ContentProvider#notifyChange in documentation." into oc-dev
2017-05-03 02:25:08 +00:00
Makoto Onuki
d10ca46df3
Merge "Add more information to WTF to investigate bug 37809561" into oc-dev am: e497b698d2
...
am: bab47edecb
Change-Id: Ie781c121fbf3b71e3189cf1a84257116afd963a8
2017-05-03 00:06:30 +00:00
TreeHugger Robot
e497b698d2
Merge "Add more information to WTF to investigate bug 37809561" into oc-dev
2017-05-02 23:51:37 +00:00
Winson Chung
4678eca685
Merge "Restoring old methods for compatibility." into oc-dev am: d6c190c8d2
...
am: 3d66fb6519
Change-Id: I1066d1efed081776286ef8ded7933998a89e1dd8
2017-05-02 23:34:46 +00:00
Winson Chung
ca754789c1
Restoring old methods for compatibility.
...
Bug: 37637423
Test: Build and test PIP apps
Change-Id: I9ccb49a3e42de55a249ab54bde2f3c5a1c179c1c
2017-05-02 15:18:23 -07:00
Ben Lin
dac516ef32
Remove snippet regarding ContentProvider#notifyChange in documentation.
...
For ContentProvider and DocumentsProvider, throwing an exception in
their query methods will result in no Cursor returned to the remote
side. Without a cursor, there is no way to listen in on changes.
Removing the part regarding notifyChange since there's no established
paradigm on which URI to listen/notify changes on.
Test: Documentation change only.
Bug: 37876119
Change-Id: I0739794a1e8182918758ba953251ed9a3268f227
2017-05-02 13:35:13 -07:00
Makoto Onuki
f3bb6f31f4
Add more information to WTF to investigate bug 37809561
...
Bug 37809561
Test: Build & boot -- didn't actually exercise the WTF case but it should work
since getStackTraceString accepts null too.
Change-Id: Iabfbe1fcde293fec919c65df7ea9650e1b247b9a
2017-05-02 12:02:23 -07:00
Tony Mak
60d88ea3dd
Merge "Add back the throwIfParentInstance checking in getAffiliationIds" into oc-dev am: 91c6e44e9e
...
am: 1fe0c5cae8
Change-Id: I2fb7103267fbcf76ede3f168b4d7b4892c501943
2017-05-02 15:55:21 +00:00
Tony Mak
62cf586159
Add back the throwIfParentInstance checking in getAffiliationIds
...
Fix: 37887947
Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.ParentProfileTest#testParentProfileApiDisabled
Change-Id: I05944c7a2447998d3ea948195fb25b09ab9735fc
2017-05-02 13:42:30 +00:00
Adam Powell
072661f580
Merge "Hide FragmentContainer#instantiate for API 26" into oc-dev am: ba9b2ce254
...
am: d1832d7bf8
Change-Id: Ic5186638644ef7b1654d473c15866476788ccfaa
2017-05-01 23:48:57 +00:00
TreeHugger Robot
ba9b2ce254
Merge "Hide FragmentContainer#instantiate for API 26" into oc-dev
2017-05-01 23:30:12 +00:00
Calin Juravle
6958495360
Merge "SystemApi for dex module registration"
2017-05-01 22:56:31 +00:00
Adam Powell
f05458cf7e
Hide FragmentContainer#instantiate for API 26
...
Bug 37638617
Change-Id: I065cd31d6ce987155669f72eff0e0d6d8a9430ab
Test: none; hiding API only
2017-05-01 14:26:54 -07:00
Jeff Sharkey
a03c9d1640
Merge "Updates based on API council guidance." into oc-dev am: 3ba7117164
...
am: e13d60764c
Change-Id: Ib0a727b11cc24c20d10adf9df85df100f603a87f
2017-05-01 18:52:23 +00:00
Jeff Sharkey
3ba7117164
Merge "Updates based on API council guidance." into oc-dev
2017-05-01 18:36:25 +00:00
Dianne Hackborn
8a40a4ca27
Merge "Work on issue #36891897 : Need to ensure foreground services can't..." into oc-dev am: f1a4b50739
...
am: a766f1d1ec
Change-Id: I82c6b62af3d4eddbd4e97c83b2bb7d4a1657c63d
2017-04-30 17:44:10 +00:00
Dianne Hackborn
83b40f69be
Work on issue #36891897 : Need to ensure foreground services can't...
...
...hide themselves
The activity manager now keeps track of all apps that are running
foreground services and builds a notification showing them to the
user. We ensure they are shown to the user for at least 30 seconds
(configurable). If foreground services are executed while the
screen is off, their apps will be shown to the user for at least
30 seconds after the screen turns back on.
While doing this I am also adding a new process state to distinguish
between "important background" stuff that should bypass bg check vs.
ones that don't. By default, these now no longer bypass bg check,
which is really the expected (and documented) behavior. There is a
new bind flag to allow them to bypass bg check, which is currently
only used by the IME.
Also add some new job scheduler commands that will be used to
write new tests cases for jobs timing out.
Bug: 36891897
Test: manual
Change-Id: Ied3f7b56444254513fd776f06b88bc0e54704958
2017-04-29 19:41:12 -07:00
Adam Lesinski
42dd85aee7
Merge changes I446fb6ab,Ife3bbd29 into oc-dev am: 53c9898e79
...
am: 66534ef01c
Change-Id: I62d31b0d933a2f06b5a97f16447d7500b7fe71d1
2017-04-29 20:50:20 +00:00
TreeHugger Robot
53c9898e79
Merge changes I446fb6ab,Ife3bbd29 into oc-dev
...
* changes:
Valid resource IDs may be negative
AAPT2: Workaround for findViewById with package ID > 0x7f
2017-04-29 20:38:20 +00:00
TreeHugger Robot
5bb8294f92
Merge "Add managed profile whitelist to control NotificationListenerServices" into oc-dev
2017-04-29 19:49:35 +00:00
Jeff Sharkey
000ce80505
Updates based on API council guidance.
...
Test: builds, boots
Change-Id: I223faf55c1e1b4d81d11b4c8b2d93ccd131c969b
Fixes: 37775662
Fixes: 37748635
Fixes: 37673408
Fixes: 37672564
Fixes: 37672218
Fixes: 37638323
Fixes: 37637423
2017-04-29 13:14:17 -06:00
Christopher Tate
bc222b842d
Merge "API: make "what's the quota?" an operation on the backup data sinks" into oc-dev am: 78a00503db
...
am: 3f9418bf0d
Change-Id: Ice11345dc40639e11f75248fd054fc14ef6c247b
2017-04-29 03:17:07 +00:00
TreeHugger Robot
78a00503db
Merge "API: make "what's the quota?" an operation on the backup data sinks" into oc-dev
2017-04-29 03:05:29 +00:00
Pavel Grafov
083ee917c0
Merge "Use List instead of array in network logging API." into oc-dev am: 83d139bd1b
...
am: 49e5ce52bb
Change-Id: If86cf7e255281caf7f0c4ffcded56c025a7d6409
2017-04-28 23:21:48 +00:00
TreeHugger Robot
83d139bd1b
Merge "Use List instead of array in network logging API." into oc-dev
2017-04-28 23:00:02 +00:00
Adam Lesinski
360182156a
Valid resource IDs may be negative
...
Package IDs greater than 0x7f are interpreted as negative
numbers in Java's signed integer. The proper check for existence of
a resource ID is that it is not 0.
Bug: 37498913
Test: none
Change-Id: I446fb6abb514bf7cf2d0dcbfbd81dd5718cd2cb4
2017-04-28 12:48:36 -07:00
Pavel Grafov
f09a16628d
Use List instead of array in network logging API.
...
Bug: 37625453
Test: runtest --path frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/NetworkEventTest.java
Test: ts-tradefed run cts -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceOwnerTest#testNetworkLoggingWithSingleUser
Change-Id: Icba7e3178202e0e650689d98c4010a9b40c6a53c
2017-04-28 19:31:00 +01:00
Andrew Scull
5cf5494744
Merge "Expand abbreviation in constant identifier." into oc-dev am: 2c20a0f885
...
am: 7d32c0bd04
Change-Id: I435db9c38e42cb0d2dbf82441470e45dc37728cc
2017-04-28 18:25:23 +00:00
Shane Brennan
8bfbb0af21
Merge "Updating docs for RemoteInput non-textual inputs per API review request." into oc-dev
2017-04-28 18:02:46 +00:00
Shane Brennan
7eec245c62
Merge "Update comment to getDataOnlyRemoteInputs per API review." into oc-dev
2017-04-28 17:56:56 +00:00
Jeff Sharkey
dd6a433163
Merge "Respond to API council feedback." into oc-dev am: 77cc43e0d2
...
am: 86e27f65f8
Change-Id: I7933a8ba6858d38423b29a52dfc5f9f65c641faf
2017-04-28 17:48:26 +00:00
Andrew Scull
2c20a0f885
Merge "Expand abbreviation in constant identifier." into oc-dev
2017-04-28 17:42:00 +00:00
Jeff Hao
d4f657a1b1
Merge "Prepend shared libraries in their original order."
2017-04-28 17:27:06 +00:00
TreeHugger Robot
77cc43e0d2
Merge "Respond to API council feedback." into oc-dev
2017-04-28 17:10:16 +00:00
Julia Reynolds
493014417b
Merge "Default number badging off." into oc-dev am: 076a255a76
...
am: 9b0ce863d3
Change-Id: If75d5012b1d2a3d8a9d7928d885b92f73f783c2e
2017-04-28 15:03:09 +00:00
Julia Reynolds
3033198561
Default number badging off.
...
Test: cts
Bug: 37737008
Change-Id: I5f73a648936d18c59c74334083b33e131395a681
2017-04-28 10:42:11 -04:00
Julia Reynolds
226ae10c66
Merge "Documentation updates" into oc-dev am: b8d4a94867
...
am: 9b4511c643
Change-Id: Ib8d4c116d548b55f395e977ab76bc1f85d9791ba
2017-04-28 14:01:53 +00:00
Julia Reynolds
b8d4a94867
Merge "Documentation updates" into oc-dev
2017-04-28 13:44:10 +00:00
Andrew Scull
17e1b5da53
Expand abbreviation in constant identifier.
...
The abbreviation is not in common use. Also remove FBE from
documentation as it also isn't used elsewhere.
Test: Build success
Bug: 37621349
Change-Id: Icf19be5e96e71dcd45aa7cac8f58b05b6d77d02b
2017-04-28 11:49:50 +01:00
Felipe Leme
ee15506088
Merge "Refactored Autofill to move starting flag out of Session." into oc-dev am: b63d261f9c
...
am: f966d48f66
Change-Id: I2d7d5a8eb571ceb093f26d3f9805917b201167f7
2017-04-28 09:41:57 +00:00
TreeHugger Robot
b63d261f9c
Merge "Refactored Autofill to move starting flag out of Session." into oc-dev
2017-04-28 09:25:06 +00:00
Felipe Leme
03214b8198
Merge "Changed HtmlInfo.getAttributes() to return List instead of ArrayList" into oc-dev am: 3dfd827574
...
am: 7c45398614
Change-Id: I5398a804be6f6674a0371fe319ba8789bd72e7f0
2017-04-28 06:55:57 +00:00
Svetoslav Ganov
633463af36
Merge "Implement the rest of autofill importance modes" into oc-dev am: 70c0221813
...
am: 1c4e06a3fe
Change-Id: Ie8a4a655770cb0175d335cf74cbb73b65a60e19d
2017-04-28 06:49:59 +00:00
TreeHugger Robot
3dfd827574
Merge "Changed HtmlInfo.getAttributes() to return List instead of ArrayList" into oc-dev
2017-04-28 06:42:22 +00:00
Felipe Leme
0aa4c5065d
Refactored Autofill to move starting flag out of Session.
...
Otherwise, all onFillRequest() calls in the same partition would use
the same flags.
Fixes: 37675138
Test: existing CtsAutoFillServiceTestCases pass
Test: CtsAssistTestCases pass
Test: PartitionedActivityTest.testAutofill4ParitionsMixManualAndAuto() pass
Change-Id: I03c8a036637bae534904d4f41265e451088cf940
2017-04-27 23:38:14 -07:00
Svetoslav Ganov
70c0221813
Merge "Implement the rest of autofill importance modes" into oc-dev
2017-04-28 06:30:07 +00:00
Felipe Leme
09a70628da
Changed HtmlInfo.getAttributes() to return List instead of ArrayList
...
Fixes: 37747396
Test: CtsAutoFillServiceTestCases pass
Change-Id: Ief53e6d71805f561577b73e57a9d36bc3769862a
2017-04-28 04:56:29 +00:00
Winson Chung
3e16fdfe2a
Merge "Only sublist array by size or limit, whichever is smaller." into oc-dev am: a2f102b175
...
am: 0e71996f92
Change-Id: I9e98c2922365bd869c0d0e3f0a345a0c64e6879e
2017-04-28 02:01:07 +00:00
Svet Ganov
fd31f85d0c
Implement the rest of autofill importance modes
...
Test: CTS tests pass; augmented tests to verify new behavior
bug:36171235
Change-Id: Ieff2b8d7e1c3a3eba456deca7bed70c8e29c415e
2017-04-27 18:16:08 -07:00