Commit Graph

89649 Commits

Author SHA1 Message Date
Anson Lin
9898084744 Merge "SeamlessMedia button as one of media action button" 2019-01-31 06:24:21 +00:00
linanson
2bcd403526 SeamlessMedia button as one of media action button
- Implement the mechanism for Seamless button in the group of media action button.
- Have a fake Seamless icon in the right of media action button group.
- Need to bind with MediaOutputSlice that are implementing.

Bug: 118428931
Test: Build pass
Change-Id: Idc51d416cc1fc85babdc83d138c8558db5ed5d8e
2019-01-31 14:20:49 +08:00
Anson Lin
75ef7a2723 Merge "Set the flag string "settings_seamless_transfer" as a static constant" 2019-01-31 06:17:47 +00:00
TreeHugger Robot
bdd22d05a9 Merge "Consolidate wake-screen settings" 2019-01-31 05:30:10 +00:00
Varun Anand
066e326222 Merge "Add an API that allows VPNs to declare themselves as metered." am: 62a9b66a38 am: 9563c15d09
am: b8ae5b64a9

Change-Id: I74c6eceaa7444d0cc79fac3b94151a1bdeb63037
2019-01-30 20:11:09 -08:00
linanson
5fbcaf46c1 Set the flag string "settings_seamless_transfer" as a static constant
Bug: 118428931
Test: Build pass
Change-Id: I1eb31307d4a1a63f4217f031bcb4d8bb856babdc
2019-01-31 11:42:01 +08:00
Varun Anand
b8ae5b64a9 Merge "Add an API that allows VPNs to declare themselves as metered." am: 62a9b66a38
am: 9563c15d09

Change-Id: Iab1d2a3bf27ec9c033253ccd48ce8026e3b18799
2019-01-30 19:39:50 -08:00
Varun Anand
9563c15d09 Merge "Add an API that allows VPNs to declare themselves as metered."
am: 62a9b66a38

Change-Id: Iadf012754e2e39f4b99efc97d5666dd0bc1ff2d6
2019-01-30 19:09:30 -08:00
Varun Anand
62a9b66a38 Merge "Add an API that allows VPNs to declare themselves as metered." 2019-01-31 02:43:25 +00:00
TreeHugger Robot
1fe4278594 Merge "Test Context's opPackageName should be the target package name" 2019-01-31 02:40:31 +00:00
TreeHugger Robot
e2841c523b Merge "Fix comments in AttentionService result consts" 2019-01-31 01:52:36 +00:00
Alex Salo
f29e2228ce Merge "Remove PROPERTY_ prefix" 2019-01-31 01:49:10 +00:00
Christian Wailes
a6fd7351cd Merge "Added OWNERS entries for some Zygote related files." am: 3ad8923842 am: 2f0392e6f7
am: c5de65d8f0

Change-Id: I4bae89b7d2996042f3a8e72ec1dcc78ba4fa4a27
2019-01-30 17:44:07 -08:00
TreeHugger Robot
6e6b31adc8 Merge "Log translate action's views and clicks." 2019-01-31 01:36:40 +00:00
Christian Wailes
c5de65d8f0 Merge "Added OWNERS entries for some Zygote related files." am: 3ad8923842
am: 2f0392e6f7

Change-Id: If5c42163657b9704bcd4e257a0869e4ee8345793
2019-01-30 17:29:36 -08:00
Abodunrinwa Toki
520b2f8122 Log translate action's views and clicks.
This logs a "view" event for the translate action *once* for each
selection session that involves a foreign language. It logs a "click"
action when the translate action is clicked.

The logged action index will give an indication of whether the translate
action was the primary action (index 0) and thus immediately visible to the
user or whether it was one of the secondary actions (index > 0) and
possibly in the selection toolbar's overflow.

Bug: 123414932
Bug: 120837847
Test: atest core/tests/coretests/src/android/view/textclassifier
Test: atest cts/tests/tests/view/src/android/view/textclassifier
Test: atest android.widget.TextViewTest
Test: atest android.widget.cts.TextViewTest
Test: (MANUAL):
      1. Ensure device has an app that supports Intent.ACTION_TRANSLATE
      2. Run the following command on the shell: adb logcat -c "TCEventTronLogger"
      3. Select some foreign lanugage text in a TextView
      4. Click on "Translate" item on the toolbar
      5. Observe that the device logs a "view" and a "click" event
      6. Repeat 3
      7. Click on a different menu item, e.g. "Copy"
      8. Observe that the device logs only a "view" event

Change-Id: I36f32459c577cf8f8bcf1e65960c4e6d7ffa5e01
2019-01-31 01:22:17 +00:00
Christian Wailes
2f0392e6f7 Merge "Added OWNERS entries for some Zygote related files."
am: 3ad8923842

Change-Id: I2d7923044351f0473ee353d516a4d89657d0f05b
2019-01-30 17:18:05 -08:00
Soonil Nagarkar
c845053656 Merge "Location settings documentation and migration" 2019-01-31 01:14:12 +00:00
Christian Wailes
3ad8923842 Merge "Added OWNERS entries for some Zygote related files." 2019-01-31 01:04:28 +00:00
TreeHugger Robot
8dacd6195c Merge changes I8569aa7c,I2ac4ee57
* changes:
  Rename location access check flag.
  Rename Permissions Hub property.
2019-01-31 00:57:53 +00:00
TreeHugger Robot
dcc1a9dd36 Merge "Add feature flag for mainline module." 2019-01-31 00:38:07 +00:00
Yiwen Chen
c948e0a4ef Merge "Add ramping ringer vibration duration flag" 2019-01-31 00:32:03 +00:00
TreeHugger Robot
2bd06a3062 Merge "Add sample rate for app compaction metrics." 2019-01-31 00:17:00 +00:00
Jeff Sharkey
2fbc125658 Merge "Respond to API feedback for directory names." 2019-01-31 00:05:06 +00:00
Matt Casey
f984e58cc8 Merge "Remove enumerated voice states." 2019-01-30 23:26:07 +00:00
TreeHugger Robot
71f12a3093 Merge "Allow cross user SessionCallback support" 2019-01-30 23:05:37 +00:00
Alex Salo
7ce945bea5 Fix comments in AttentionService result consts
Test: not needed, javadoc comment change only
Bug: 111939367

Change-Id: I72a3b0d406a5bacc75651617c6505817e7e03693
2019-01-30 14:50:52 -08:00
Pavel Grafov
ed02ce4f19 Merge "Nuke old setAlwaysOnVpnPackageForUser method." am: 35a8f1a38a am: 79867a16fb
am: 6efd265881

Change-Id: I0ca587378c1db327c4e73b18ab5c1c2505f05ce0
2019-01-30 14:50:00 -08:00
Remi NGUYEN VAN
df46cd451f Merge "Add SystemApi for captive portal metrics" am: 55849979a5
am: 56bed1321e

Change-Id: I15adc597039539d53e5c08dc5f8cac74bcb0eda2
2019-01-30 14:42:34 -08:00
Soonil Nagarkar
5e185019f0 Location settings documentation and migration
-Add new LOCATION_MODE_ON for internal use only
-Update location docs for Q
-Fix egregious copy/pasta bug

Bug: 118883513
Test: NA
Change-Id: I5c04786f912f1b8db33930449ae2ba5854a55981
2019-01-30 14:42:04 -08:00
Pavel Grafov
6efd265881 Merge "Nuke old setAlwaysOnVpnPackageForUser method." am: 35a8f1a38a
am: 79867a16fb

Change-Id: I7f0de294357ae6c691d38be52dd278eb37d42116
2019-01-30 14:36:37 -08:00
Remi NGUYEN VAN
56bed1321e Merge "Add SystemApi for captive portal metrics"
am: 55849979a5

Change-Id: I1d1406a10c33034cf379ea7735cb106d3c536c8e
2019-01-30 14:35:30 -08:00
Pavel Grafov
79867a16fb Merge "Nuke old setAlwaysOnVpnPackageForUser method."
am: 35a8f1a38a

Change-Id: If3cb37b8fa19dd49b8595622b293886653d7a319
2019-01-30 14:27:01 -08:00
Remi NGUYEN VAN
55849979a5 Merge "Add SystemApi for captive portal metrics" 2019-01-30 22:24:12 +00:00
Jeff Sharkey
c4597797d1 Respond to API feedback for directory names.
We have public APIs to set "primary" and "secondary" directory names
when contributing new media, but we don't have a way to read out that
information once an app targets Q.  So define columns to provide API
symmetry.

Also, since these are called "primary" and "secondary", it's
confusing to have a "secondary bucket ID" defined, so rename that to
be a "group ID" instead.

Since this is a major schema change, recalculate all columns that
are derived from file paths.

Fix bugs where we tried dropping SQLite internals when wiping the
schema of a database, which would have always failed.

Bug: 115377970
Test: atest MediaProviderTests
Test: atest cts/tests/tests/media/src/android/media/cts/MediaScanner*
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I7b7b7e03bfdae6f94a1d70ac1d9e80776a2171b8
2019-01-30 15:14:26 -07:00
Treehugger Robot
35a8f1a38a Merge "Nuke old setAlwaysOnVpnPackageForUser method." 2019-01-30 22:10:40 +00:00
Varun Anand
1215f09b07 Add an API that allows VPNs to declare themselves as metered.
For VPN apps targeting Q and above, they will by default be treated as
metered unless they override this setting before establishing VPN.

Bug: 120145746
Test: atest FrameworksNetTests
Test: On device tests verifying meteredness setup correctly for apps
targeting Q and apps targeting P.
Change-Id: Ia6d1f7ef244bc04ae2e28faa59625302b5994875
2019-01-30 14:09:03 -08:00
Makoto Onuki
4becc35ead Test Context's opPackageName should be the target package name
AppOpsManager checks opPackageName against the calling UID,

Fix: 123595310
Test: atest cts/tests/app/src/android/app/cts/TestContextTest.java

Change-Id: I3de72ae77a8b25f42913369af5b8da0132583131
2019-01-30 13:52:56 -08:00
Ben Murdoch
2384df757c Add sample rate for app compaction metrics.
Introduce a parameter for simple sampling of app compaction
metrics as they go into statsd. Rate is confirgurable with
DeviceConfig.

Test: atest FrameworksServicesTests:AppCompactorTest
Bug: 123574961

Change-Id: Iebfd815dc4f7c6db7b849259d8b0b031e7de8621
2019-01-30 21:51:40 +00:00
Dan Sandler
cf318694e4 Merge "Some of us are weird." am: 559d6018b6 am: 99c3f55c89
am: 9007b5e977

Change-Id: Ie403557c8295b7d708ffcb0fbf800e8ac27f31a7
2019-01-30 13:34:35 -08:00
Julia Reynolds
2fdeefc352 Merge "Tests for matchesCallFilter" 2019-01-30 21:27:53 +00:00
Yiwen Chen
555b83df78 Add ramping ringer vibration duration flag
Bug: 120789399
Test: When finish the whole change, flash into a dev phone to test first.
Change-Id: I5ece793f1214e7b8a29f4c8d4abcc7fa6d7b511a
2019-01-30 21:27:41 +00:00
Dan Sandler
9007b5e977 Merge "Some of us are weird." am: 559d6018b6
am: 99c3f55c89

Change-Id: I9605a2e5f9efd41ca4c5eb0e6f0c636e6920774d
2019-01-30 13:24:06 -08:00
Dan Sandler
99c3f55c89 Merge "Some of us are weird."
am: 559d6018b6

Change-Id: Icf919c902d9a7e5e8eda1ac2e7f551cf51891281
2019-01-30 13:15:53 -08:00
Dan Sandler
559d6018b6 Merge "Some of us are weird." 2019-01-30 20:58:46 +00:00
Doris Ling
b97faba490 Add feature flag for mainline module.
Bug: 122615240
Test: rebuild
Change-Id: I89b723c71ade462d8d4b67172f52c676eaf0c363
2019-01-30 12:51:03 -08:00
David Su
66ae702cdc Merge changes from topics "link-probe-overlay", "link-probe-feature-flag"
* changes:
  Link Probing: Add overlay flag to disable feature by default
  Link Probing: Add feature flag
2019-01-30 20:50:24 +00:00
Pavel Grafov
194b1cebd1 Nuke old setAlwaysOnVpnPackageForUser method.
All callers have migrated to 4-argument one.

Test: builds
Bug: 77468593
Change-Id: I253515f6b0100b675505646339e5b82d373c9429
2019-01-30 19:56:36 +00:00
Mehdi Alizadeh
26447bc85c Merge "Ensure some calls are available for testing" 2019-01-30 18:37:17 +00:00
Eric Holk
ce7aa1bf68 Merge "[layout precompilation] Add testing hook for precompiled layouts" am: 15b86c9037
am: 0b329918fc

Change-Id: I6417624f74b779e05f5a4a30c484487a943697c6
2019-01-30 10:24:43 -08:00