322669 Commits

Author SHA1 Message Date
TreeHugger Robot
310818ff82 Merge "strong fp lockout after 20 failed attempts" into oc-dev 2017-05-12 23:41:43 +00:00
TreeHugger Robot
1835f076b3 Merge "Do not perform backup/restore of instant apps" into oc-dev 2017-05-12 23:40:40 +00:00
Todd Kennedy
00adcb06ab Merge "Add command to retrieve the instant app resolver" into oc-dev am: 2a34734131
am: a17fe9cca6

Change-Id: I02a709b4716a65c27cb3c696adbf5da88627c517
2017-05-12 23:40:31 +00:00
Abodunrinwa Toki
4ce651e92d TextView: Invalidate selection action mode on "select all".
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Change-Id: I0b5ebb8d6f1af1a9938151f758a2feedb14fcb9f
Fixes: 38244876
2017-05-13 00:39:58 +01:00
Abodunrinwa Toki
f389ef7491 Merge "Properly invalidate text classification cache." into oc-dev am: f0d0e37564
am: 6400a4a806

Change-Id: I110979a6d595fbd4a101b10ec92c70df57798ef5
2017-05-12 23:37:54 +00:00
Evan Rosky
0b8720fdb6 Merge "Added redundant focusable attribute read in TextView" into oc-dev am: e18533e58e
am: bb6db1d6db

Change-Id: Id3993cc8c5967269a55558bb0497060a5e7490b6
2017-05-12 23:35:46 +00:00
Hyunyoung Song
d55a65c69c Merge "Update ShortcutManager/Service javadoc/impl around sizing" into oc-dev am: b9a098aeb6
am: ac9b9de6df

Change-Id: I54760855839f270aadab53c1a851f55b5e676dcd
2017-05-12 23:28:28 +00:00
Bill Yi
237a7255d9 Import translations. DO NOT MERGE
Change-Id: Ideae955ce1ddea3d17038235c4ed55127d7b7541
Auto-generated-cl: translation import
2017-05-12 16:23:59 -07:00
Todd Kennedy
a17fe9cca6 Merge "Add command to retrieve the instant app resolver" into oc-dev
am: 2a34734131

Change-Id: I928a7c6ecf81163350fe42ea1669f454710dd1b7
2017-05-12 23:20:08 +00:00
Abodunrinwa Toki
a0f4621b5d Merge "TextClassifier: Ensure url scheme is in lowercase" into oc-dev am: ebd6bb561d
am: 3f940359c5

Change-Id: I063bb700b07b4341019b557251bde6d053d011e1
2017-05-12 23:18:39 +00:00
Bill Yi
c28ba4d7af Import translations. DO NOT MERGE
Change-Id: I3dbc87350186c1064ed2892eb7683e9f4a717031
Auto-generated-cl: translation import
2017-05-12 16:18:03 -07:00
Abodunrinwa Toki
6400a4a806 Merge "Properly invalidate text classification cache." into oc-dev
am: f0d0e37564

Change-Id: I996ef66340d7f466dce6c74a92d6105aa647a0a1
2017-05-12 23:17:54 +00:00
Bill Yi
869f94d56e Merge "Import translations. DO NOT MERGE" into oc-dev am: ee82be81ff -s ours
am: 39b8088ac0  -s ours

Change-Id: If58243c84efd1e46f9ca5eebed0ddfdd07dcf818
2017-05-12 23:16:34 +00:00
TreeHugger Robot
2a34734131 Merge "Add command to retrieve the instant app resolver" into oc-dev 2017-05-12 23:11:51 +00:00
Evan Rosky
bb6db1d6db Merge "Added redundant focusable attribute read in TextView" into oc-dev
am: e18533e58e

Change-Id: I3c91ff7bd660afdb5655108fd18d333f653678a6
2017-05-12 23:11:33 +00:00
Hyunyoung Song
ac9b9de6df Merge "Update ShortcutManager/Service javadoc/impl around sizing" into oc-dev
am: b9a098aeb6

Change-Id: Ie08ced373f88647afa6d8788ea78dd07ade6decf
2017-05-12 23:08:38 +00:00
Dianne Hackborn
70a2eadc3e Merge "Work on issue #38242094: Activity manager oom adj computation seems broken" into oc-dev am: e2f908b6af
am: 799b1af858

Change-Id: I8e4a7cf96cf771e37ae49892762522b82eb875a2
2017-05-12 23:08:06 +00:00
Abodunrinwa Toki
f0d0e37564 Merge "Properly invalidate text classification cache." into oc-dev 2017-05-12 23:08:03 +00:00
Evan Rosky
e18533e58e Merge "Added redundant focusable attribute read in TextView" into oc-dev 2017-05-12 23:03:58 +00:00
Bryce Lee
7f9368637c Introduce result ranges for activity start return results.
The return result from starting activity actually represents two
pieces of information. First, it conveys whether the activity
started. Secondly, it conveys whether there was a fatal error if
the activity did not start. Many parts of the code assume that a
value greater than or equal to the defined success means that the
activity successfully started. This is not the case as there are a
number of results greater than success where the activity does not
start.

This change addresses the issue by introducing three distinct
result ranges. The first represents results where the activity
could not start due to a fatal error. The second represents results
where the activity did not start due to a non-fatal error. The last
range represents successful activity starts. Two convenience methods
have been added to ActivityManager to return whether the result
represents a fatal error and whether the result was successful.

Change-Id: Ifaf844c353641a28b03b3c2d7b6be053fd9b8b44
Fixes: 38021882
Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.DeviceOwnerTest#testLockTask_deviceOwnerUser
2017-05-12 16:02:23 -07:00
Suprabh Shukla
f196b7f47b Adding AOSP copyrights header am: af76b13403
am: b558f00436

Change-Id: Iaadae8a9135771fae11b197e297ffe671f0373f1
2017-05-12 23:01:53 +00:00
TreeHugger Robot
b9a098aeb6 Merge "Update ShortcutManager/Service javadoc/impl around sizing" into oc-dev 2017-05-12 23:01:35 +00:00
Abodunrinwa Toki
3f940359c5 Merge "TextClassifier: Ensure url scheme is in lowercase" into oc-dev
am: ebd6bb561d

Change-Id: I3b00d480a1c0e059e96de366708f5e7950bf59b9
2017-05-12 22:59:19 +00:00
Bill Yi
39b8088ac0 Merge "Import translations. DO NOT MERGE" into oc-dev
am: ee82be81ff  -s ours

Change-Id: Ibe7b360857483ede8db13e0dfde2159e2ef612fa
2017-05-12 22:57:15 +00:00
Dianne Hackborn
799b1af858 Merge "Work on issue #38242094: Activity manager oom adj computation seems broken" into oc-dev
am: e2f908b6af

Change-Id: I07dc985a1489005e45cd08960d997c23a75b8ccc
2017-05-12 22:55:17 +00:00
Naveen Kalla
f2d48586c9 Merge "Add RIL_UNSOL_MODEM_RESTART message" am: 85e188585e am: e174804841 am: d4e877ea89 -s ours
am: d85f5f0cf0  -s ours

Change-Id: Iee6ec4fb2db9f362d504e8abf538db0ec055d562
2017-05-12 22:52:15 +00:00
Suprabh Shukla
b558f00436 Adding AOSP copyrights header
am: af76b13403

Change-Id: I8bb58665d676a2601ccd3f3f0ccaf84825e71962
2017-05-12 22:51:31 +00:00
Abodunrinwa Toki
ebd6bb561d Merge "TextClassifier: Ensure url scheme is in lowercase" into oc-dev 2017-05-12 22:50:54 +00:00
Tomasz Wasilczyk
f13b8419b8 Implement handling hardware failures of ITuner.
Test: instrumentation tests for other features pass, no tests added
Bug: b/36863239
Change-Id: Iaab9ac06bacc3dcdfde100427653ef1c429d13c6
2017-05-12 15:47:20 -07:00
Naveen Kalla
d85f5f0cf0 Merge "Add RIL_UNSOL_MODEM_RESTART message" am: 85e188585e am: e174804841
am: d4e877ea89  -s ours

Change-Id: Id3a9057a63c2b4ad54ec893bfe8c40b396b4ce5c
2017-05-12 22:45:53 +00:00
TreeHugger Robot
ee82be81ff Merge "Import translations. DO NOT MERGE" into oc-dev 2017-05-12 22:45:09 +00:00
TreeHugger Robot
e2f908b6af Merge "Work on issue #38242094: Activity manager oom adj computation seems broken" into oc-dev 2017-05-12 22:44:26 +00:00
Adam Lesinski
ada8deb436 OMS: Setup state for users on boot and when added
Some users never get switched to (managed profile/work profile) so the
overlay state for a user would never be setup (but they could still show
UI and apps).

This change ensures that user state is setup after an OTA to android O,
and whenever a user is added.

Bug: 37899201
Test: manual (add user via Device Admin sample: vendor/google/tools/DeviceAdminSample)
Change-Id: If214e26e39b18c2861794baf5c608a47d536e5ff
2017-05-12 15:42:52 -07:00
Sunny Goyal
a4cff85897 Merge "Updating AppWidgetServiceImplTest as per Mockito changes" into oc-dev am: d7bd16b258
am: 2a400805ef

Change-Id: I9313d2ac70597102b791c017d1b98f5fd14323d4
2017-05-12 22:41:07 +00:00
Naveen Kalla
d4e877ea89 Merge "Add RIL_UNSOL_MODEM_RESTART message" am: 85e188585e
am: e174804841

Change-Id: If2ba09241a05d0765c23cf5831e957efe3c1ef77
2017-05-12 22:40:24 +00:00
John Reck
62cc11996d Flag apps that have debugging set in systrace
Fixes: 36885723
Test: manual, ran systrace, verified only the app in #1
has the warning line and other (non-debuggable) apps
do not.

Change-Id: I244d28aeab352b524df4f1673654fdeb277d9f9c
2017-05-12 15:39:51 -07:00
Winson Chung
0a65737c55 Ensure that we check against the pending state while suspended.
Bug: 38192462
Test: Launch PIP, try to make PIP fullscreen.

Change-Id: I575f57492506224b8ee9f247f3c5903c812a04d6
2017-05-12 15:39:44 -07:00
Felipe Leme
7a1deb7c5f Couple autofill fixes.
- Fixed PFLAG3_NOTIFY_AUTOFILL_ENTER_ON_LAYOUT value - it was overlapping with
PFLAG3_ASSIST_BLOCKED.
- Added missing permission on methods called by Shell command.
- Improved debugging.

Bug: 38173625

Test: android.autofillservice.cts.MultipleFragmentLoginTest#loginOnTwoFragments

Change-Id: Ie7880c97d38298e06134709c5c2e9e38fa1bacbb
2017-05-12 15:34:48 -07:00
Suprabh Shukla
af76b13403 Adding AOSP copyrights header
Test: N/A

Change-Id: Iabec646a1f8087480f899c5b4996122a9f4bd13a
2017-05-12 15:34:04 -07:00
Sunny Goyal
2a400805ef Merge "Updating AppWidgetServiceImplTest as per Mockito changes" into oc-dev
am: d7bd16b258

Change-Id: Icf51abae4931e58c44d5fce0a0e2fbf02e004325
2017-05-12 22:33:37 +00:00
Felipe Leme
205d420c68 Fixed and improved (for reuse) PendingRequest lifecycle.
Fixes: 38173625
Test: android.autofillservice.cts.MultipleFragmentLoginTest#loginOnTwoFragments

Change-Id: Ic9ba3cb51048296384d42670cc71db78a0e8fcf6
2017-05-12 15:33:00 -07:00
Naveen Kalla
e174804841 Merge "Add RIL_UNSOL_MODEM_RESTART message"
am: 85e188585e

Change-Id: I33dd05658ad8c9eed74e42ab27fa248a5942b688
2017-05-12 22:32:53 +00:00
Adam Lesinski
4b585db64f AAPT2: Allow <uses-permission-sdk-23> in manifest
Bug: 38269610
Test: build tools/aapt2/integration-tests/AppOne
Change-Id: I1d0b87aa36f6bf82aab146339acf8848166b218d
2017-05-12 15:25:50 -07:00
TreeHugger Robot
d7bd16b258 Merge "Updating AppWidgetServiceImplTest as per Mockito changes" into oc-dev 2017-05-12 22:25:48 +00:00
Treehugger Robot
85e188585e Merge "Add RIL_UNSOL_MODEM_RESTART message" 2017-05-12 22:25:27 +00:00
John Reck
cefa024e73 Merge "Switch to protobuf lite" 2017-05-12 22:21:25 +00:00
Winson Chung
9a352b6055 Updating expand icon asset.
Bug: 38237934
Test: Launch activity in PIP, tap to show expand icon
Change-Id: Icae85ff27accd1e2143836541587e3bedc17570b
2017-05-12 15:10:38 -07:00
Bookatz
664e902058 Merge "Batterystats BLE results counter takes in count" into oc-dev am: 80fc1af120
am: 78ae8e0436

Change-Id: Ia618e177af4d1e6f33c901be91a7109dc7615850
2017-05-12 22:08:05 +00:00
Robert Greenwalt
4a411f7d67 Remove switchStreams API.
After discussion about how best this could fit in the API we
discovered many disagreements that we couldn't resolve in the
time available.  Pulling the feature from the API until we
can resolve issues.

Test: builds
Change-Id: I6d36a1dea8ce9816fad497b992a347188d3ac88e
2017-05-12 15:04:04 -07:00
Bookatz
78ae8e0436 Merge "Batterystats BLE results counter takes in count" into oc-dev
am: 80fc1af120

Change-Id: I5b88079ab4bbefbc3e838e3ee8f90bfa961b0650
2017-05-12 22:02:10 +00:00