Commit Graph

18100 Commits

Author SHA1 Message Date
Sunny Goyal
f4b3cbc273 Merge "Adding a copy constructor for RemoteViews" 2017-09-11 19:40:58 +00:00
nharold
dfb62b6177 Merge "Un-hide TelephonyManager.getSignalStrength()" am: 3e884ce13c am: 447b7c49fc am: 95fe8c1312
am: 94a3a079c3

Change-Id: I13af7f2497590a276e255326307ff32bb49d21b6
2017-09-11 18:51:14 +00:00
nharold
94a3a079c3 Merge "Un-hide TelephonyManager.getSignalStrength()" am: 3e884ce13c am: 447b7c49fc
am: 95fe8c1312

Change-Id: I514d635abcb039efa1cc218fe28ba0ed979b9bf7
2017-09-11 18:27:48 +00:00
nharold
95fe8c1312 Merge "Un-hide TelephonyManager.getSignalStrength()" am: 3e884ce13c
am: 447b7c49fc

Change-Id: I5c1738fca4a43b0e8c1ddd0041a00f96d32142e8
2017-09-11 18:17:03 +00:00
nharold
447b7c49fc Merge "Un-hide TelephonyManager.getSignalStrength()"
am: 3e884ce13c

Change-Id: I0692185c533ca4a0999cbf3237c3afabd4b87972
2017-09-11 18:07:07 +00:00
nharold
3e884ce13c Merge "Un-hide TelephonyManager.getSignalStrength()" 2017-09-11 17:44:34 +00:00
Sanket Padawe
957bb655d2 Merge "Deprecate TelephonyManager APIs which are present in TelecomManager." am: a90205492f am: f0dd39f7d0
am: b706659354

Change-Id: Ibdaf08aca01df5582ed3042ac956155df590adb5
2017-09-11 03:58:23 +00:00
Sanket Padawe
b706659354 Merge "Deprecate TelephonyManager APIs which are present in TelecomManager." am: a90205492f
am: f0dd39f7d0

Change-Id: I66f4d857e4fb6e683063bb5543a992659f55a06c
2017-09-11 03:51:14 +00:00
Sanket Padawe
f0dd39f7d0 Merge "Deprecate TelephonyManager APIs which are present in TelecomManager."
am: a90205492f

Change-Id: I1d15e13cb3ae8fa8caf098e34587e3599b5bc967
2017-09-11 03:40:47 +00:00
Sanket Padawe
5aac2e91db Deprecate TelephonyManager APIs which are present in TelecomManager.
Bug: 62346128
Test: Build
Change-Id: I4c3b4652f5d22215572d64b764bcd42bb7295ebe
Merged-in: I4c3b4652f5d22215572d64b764bcd42bb7295ebe
2017-09-08 05:46:13 -07:00
Fyodor Kupolov
28e49b7eed Merge "Allow using SQLiteGlobal for testing" into oc-mr1-dev am: 347eaf21fa
am: ac6d9d3173

Change-Id: I0819f276018c9c9d50fe51c834c6356dad02c87e
2017-09-08 00:43:44 +00:00
Fyodor Kupolov
ac6d9d3173 Merge "Allow using SQLiteGlobal for testing" into oc-mr1-dev
am: 347eaf21fa

Change-Id: I664b887cced9b328227c6ad053463e426c316fd8
2017-09-08 00:26:49 +00:00
TreeHugger Robot
10c41c2727 Merge "New Autofill API: SaveRequest.getDatasetIds()" 2017-09-07 17:31:23 +00:00
TreeHugger Robot
91761cbb72 Merge "Add ACTIVITY_TYPE and STACK_ID constants to Test API" 2017-09-06 23:12:45 +00:00
Steven Timotius
e597ca1578 Add ACTIVITY_TYPE and STACK_ID constants to Test API
These constants will be used by ActivityManagerTestBase

Test: cts-tradefed run commandAndExit cts-dev --module CtsActivityManagerDeviceTestCases
Change-Id: I0f0265edfa6d6b31592fa96bec58f857849932e0
2017-09-06 16:09:53 -07:00
Sunny Goyal
56333a872a Adding a copy constructor for RemoteViews
Copying a remoteView will not longer mutate the original views

Simplifying bitmap cache and memory measurement for remoteViews. A
remoteView tree will have a common bitmapCache, and hence ite memory
estimate would be same as the total bytes allocated to all the bitmaps.

Bug: 62629395
Test: am instrument -w -e class android.widget.RemoteViewsTest com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I7ea6ce476f19f425431ed01ef22cc97764626230
2017-09-06 08:54:33 -07:00
Sanket Padawe
e01a735ebc Merge "Deprecate TelephonyManager APIs which are present in TelecomManager." 2017-09-06 05:50:58 +00:00
Sanket Padawe
fc329a3ed6 Deprecate TelephonyManager APIs which are present in TelecomManager.
Bug: 62346128
Test: Build
Change-Id: I4c3b4652f5d22215572d64b764bcd42bb7295ebe
2017-09-05 01:47:40 -07:00
Fyodor Kupolov
5d53e4477f Allow using SQLiteGlobal for testing
Test: android.database.sqlite.cts.SQLiteOpenHelperTest
Bug: 63398887
Change-Id: Ic636d672a78c7b770a964bdf17c19c8ccfb6c7eb
2017-09-01 18:33:37 -07:00
Felipe Leme
9852897bf6 New Autofill API: SaveRequest.getDatasetIds()
Test: modified some existing CTS tests to use it
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Fixes: 64843801

Change-Id: I95fe7766f19e5a9eea9d7138636a15cc832c704c
2017-09-01 14:01:10 -07:00
Julia Reynolds
8c6fe753dd Merge "Add more functionality to channel groups" 2017-09-01 12:49:49 +00:00
TreeHugger Robot
6307647e24 Merge "Create a flag to allow starting managed user in background" 2017-09-01 09:59:49 +00:00
TreeHugger Robot
47f4cbdf04 Merge "Added getClientState() to FillEvent; deprecated it on FillEventHistory." 2017-08-31 22:59:02 +00:00
TreeHugger Robot
98eaf2ebd6 Merge "Add VERSION_CODES.P" 2017-08-31 20:16:36 +00:00
TreeHugger Robot
2026fa3377 Merge "Unhide enable_apps carrier config key." 2017-08-31 18:54:57 +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
Benjamin Franz
77c94a9c03 Create a flag to allow starting managed user in background
Currently DPM.createAndManageUser does not start the user in the
background, leading to a potential race between user having access to
the secondary user and admin having time to push policies. To mitigate
this we're adding a flag that allows secondary users to be started in
background as part of the API. The admin can then apply policies before
switching to that user.

Bug: 64382185
Test: cts-tradefed run singleCommand cts -m DevicePolicyManager --test
com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_StartUserInBackground
--abi arm64-v8a
Change-Id: Id6f6ab7584a249680c8554c21977cbb69a220332
2017-08-31 16:11:47 +01:00
Benjamin Franz
326be27572 Merge "Profile Owner API to clear application data" 2017-08-31 08:59:30 +00:00
Phil Weaver
666e08ab15 Merge "resolve merge conflicts of 490d397d28 to oc-dr1-dev" into oc-dr1-dev
am: 0ddaa63b67

Change-Id: I84cdc92d542597541266fe506b4a3af160d970b2
2017-08-30 23:40:22 +00:00
Julia Reynolds
005c8b9098 Add more functionality to channel groups
Description, blocking, links to/from the app

Test: cts, runtest systemui-notification
Bug: 63927402
Change-Id: Icc8caf319651f9ac2d622fb54110270c89bdff61
2017-08-30 17:07:58 -04:00
Jim Miller
a507fc4b9e Merge "Add a constant to allow system-provided fingerprint dialogs" into oc-mr1-dev am: fb8e9b9096
am: 8ad2bd4b53

Change-Id: Ic25a7a89485ec1791befafd4933a8cdd3741ce2e
2017-08-30 18:19:50 +00:00
Jim Miller
8ad2bd4b53 Merge "Add a constant to allow system-provided fingerprint dialogs" into oc-mr1-dev
am: fb8e9b9096

Change-Id: I2ce2160b4ffa4f088321710a33475debfd7b1212
2017-08-30 18:04:57 +00:00
TreeHugger Robot
fb8e9b9096 Merge "Add a constant to allow system-provided fingerprint dialogs" into oc-mr1-dev 2017-08-30 17:47:46 +00:00
Jorim Jaggi
11b58a917c Add theme attribute for light navigation bar
Such that apps can set this in the theme and get a splash screen
that has a light navigation bar if requested.

Test: LightBarThemeTest
Change-Id: Iee93c49743f66ecad76e0a056ba16a1785f22784
Fixes: 62429332
2017-08-30 15:37:19 +02:00
Felipe Leme
1c501ebfec Added getClientState() to FillEvent; deprecated it on FillEventHistory.
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Fixes: 62830277

Change-Id: Ib99a342c931f4fd44fc8aced1faef0b75588f63d
2017-08-29 17:48:00 -07:00
Phil Weaver
0784828fb0 resolve merge conflicts of 490d397d28 to oc-dr1-dev
Bug: 62196835
Test: I solemnly swear I tested this conflict resolution.


Merged-In: I1a3e3c5b1696a5f5b95eac187acb5a03863b4a0b
Change-Id: Ib00a23ae9a329cfc102b1a116b5a585be36b56f6
2017-08-29 22:56:44 +00:00
Nathan Harold
2b86092afe Un-hide TelephonyManager.getSignalStrength()
Expose the API to directly retrieve the latest cached
signal strength from ServiceStateTracker.

Bug: 36133439
Test: manual/sl4a
Change-Id: I36e4a24f19d49da5797d875ccfd10576ca0a68b8
2017-08-29 14:13:33 -07:00
Junda Liu
4793b28d3f Unhide enable_apps carrier config key.
Bug: 62907095
Test: manual
Change-Id: Ifa16c967dadf7788cd190d5ad152fc642fc267f2
2017-08-29 20:22:44 +00:00
Joachim Sauer
a59380177d Merge "Adapt ICU 59 API update to Doclava changes." am: e048261656 am: 0fc0cc9dd8
am: 02b2b3d703

Change-Id: I09d38e6ed0426bc826722c1cdb5e7c79cf90adb6
2017-08-29 14:16:18 +00:00
Joachim Sauer
0fc0cc9dd8 Merge "Adapt ICU 59 API update to Doclava changes."
am: e048261656

Change-Id: Iea671a7029e083bffee2bcaacfaa0df41f45c1cc
2017-08-29 13:54:14 +00:00
Benjamin Franz
a77e35782c Profile Owner API to clear application data
This new API lets DOs clear application data on a per package basis. It
can be used to reset misbehaving packages as well as for a light-weight
session model where employees log in to a device and have their data
cleared when they log out.

Test: cts-tradefed run singleCommand cts -m DevicePolicyManager --test
com.android.cts.devicepolicy.DeviceOwnerTest#testClearApplicationData
--abi arm64-v8a
Bug: 63910199
Change-Id: I6a03ae90fffe6159172ea7e46f9b8b69efeabcfe
2017-08-29 12:18:02 +01:00
Joachim Sauer
e447d9f0fb Adapt ICU 59 API update to Doclava changes.
Add methods that were missing from the previous API update because the
update-api version used for that had different behaviour from the
current one.

Specifically overrides for methods that differ only in sychronization
are now considered API-worthy and weren't before (b/62576297).

All methods added in this commit are methods that exist in the base
class without synchronization and are synchronized in the class they are
now being added in.

Bug: 64807220
Test: m checkapi
Change-Id: I9bf1b3d02e6a8f04b93ec36c0adffb7eedad3ad3
Merged-In: Iff584fb72dc8d651f9482b573f4b8cec89840ca6
2017-08-29 11:26:29 +01:00
Phil Weaver
c510ecb3ec Backport overlay security fix
Replacing app opps fix with the flag that is used
elsewhere.

Bug: 37442941
Test: Verified that toast and system overlay still goes
away on permission and a11y service capability screens.

Merged-In: I1a3e3c5b1696a5f5b95eac187acb5a03863b4a0b

Change-Id: If9bec515105369055415d54c7fcad7a65431f8e7
2017-08-29 00:52:25 +00:00
Michael Wright
1a6585fc20 Merge "O MR1 is API 27" into oc-mr1-dev am: d489d122f4
am: 800af77f9c

Change-Id: If3e76e14e60573d8f2e188abd95e3ef634eda3a2
2017-08-26 02:53:45 +00:00
Michael Wright
800af77f9c Merge "O MR1 is API 27" into oc-mr1-dev
am: d489d122f4

Change-Id: I7e4e4a710ce874502b1e749a9892e46619a988df
2017-08-26 02:41:46 +00:00
TreeHugger Robot
d489d122f4 Merge "O MR1 is API 27" into oc-mr1-dev 2017-08-26 02:29:51 +00:00
TreeHugger Robot
2e41218797 Merge "Adding group divider support in Android Menus" 2017-08-25 23:33:17 +00:00
Michael Wright
f9c1757836 Merge "Add new system API for stable display size" into oc-mr1-dev am: c217d744b4
am: 9d9693e4af

Change-Id: I687f303f8d92be5ec0604761fa785fc20612633a
2017-08-25 21:21:13 +00:00
Michael Wright
9d9693e4af Merge "Add new system API for stable display size" into oc-mr1-dev
am: c217d744b4

Change-Id: I25a68c0bf9eecd1dbe878851a62926520d4ea71a
2017-08-25 21:02:36 +00:00
Michael Wright
eedcbf1504 Add new system API for stable display size
Fixes: 34388294
Test: manual
Change-Id: Ie380230bbd82370f507161b4cdb6f0d100b09f11
2017-08-25 20:56:00 +00:00