Commit Graph

73090 Commits

Author SHA1 Message Date
Makoto Onuki
c36d04179a Merge "Merge "Log sync details to rotating log files (userdebug/eng only)" into oc-dr1-dev am: c4e8720eb2" into oc-dr1-dev-plus-aosp
am: 54805b7467

Change-Id: I8e6c29906a3d5f8814a89ad419146e5b8eff9e4c
2017-06-26 21:25:30 +00:00
Makoto Onuki
7edc7569b7 Merge "Log sync details to rotating log files (userdebug/eng only)" into oc-dr1-dev
am: c4e8720eb2

Change-Id: Ib24297e8ca16f1f9db5f6951438f4f7006e545c7
2017-06-26 21:15:26 +00:00
Tomasz Wasilczyk
319f81c83c Merge "Remove previous implementation of RadioService." 2017-06-26 20:58:52 +00:00
TreeHugger Robot
c4e8720eb2 Merge "Log sync details to rotating log files (userdebug/eng only)" into oc-dr1-dev 2017-06-26 20:58:29 +00:00
Christine Franks
8d901bf872 Merge "Add ACTION_DISMISS_TIMER intent" into oc-dr1-dev am: ca4def2ac8
am: 21e21efcf9

Change-Id: Iaab165b6465d15f0a960144798c1920fd30ab688
2017-06-26 19:52:26 +00:00
Christine Franks
21e21efcf9 Merge "Add ACTION_DISMISS_TIMER intent" into oc-dr1-dev
am: ca4def2ac8

Change-Id: I9b847d08144f484bb68a293c0be258fb52fdeb92
2017-06-26 19:41:24 +00:00
Jeff Sharkey
adcd1fe0f6 Merge "Progress towards FBE and adoptable storage." 2017-06-26 17:41:47 +00:00
Gustav Sennton
beec08679b Use classloader namespace instead of lib paths to load WebView libs.
When loading WebView's native libraries we now have a classloader
pointing to the namespace of thise libraries - so we no longer need to
explicitly reference those libraries by their path names.

Bug: 62860565
Test: Start a WebView-using app. Ensure that libwebviewchromium.so is
loaded into the app process.

Change-Id: I205131f4b5fac7c33374560515b85ddef19a7ce9
2017-06-26 16:05:33 +01:00
Christine Franks
c99c0e2297 Add ACTION_DISMISS_TIMER intent
Bug: 38475809
Test: manual - visual inspection of code
Change-Id: I9e58c9699fc2e6afad38db6b44f2e2b649564327
2017-06-26 14:34:47 +00:00
Richard Uhler
a18500b508 Fix bug in reporting SwapPss in dumpsys meminfo.
am: a178205e8b

Change-Id: I49c805c6fab673008b18a5a8deb256ec2a5fb970
2017-06-26 09:01:32 +00:00
TreeHugger Robot
e59243772a Merge "Fix bug in reporting SwapPss in dumpsys meminfo." 2017-06-26 06:36:36 +00:00
Richard Uhler
a178205e8b Fix bug in reporting SwapPss in dumpsys meminfo.
Bug: 29875093
Test: Run dumpsys meminfo -a, verify SwapPss adds up and is non-zero
      for dalvik and native.

Change-Id: I79d0b6a59bf5f4e73f75f0b9540ec0fcc9e23b02
2017-06-26 06:34:04 +00:00
Phil Weaver
da3774ea41 Merge "Protect a11y against multi-threaded UIs" into oc-dr1-dev
am: 10a41f9b12

Change-Id: I24be95a742543ebb89c51a177af8875ce2dc7b43
2017-06-24 05:16:33 +00:00
TreeHugger Robot
10a41f9b12 Merge "Protect a11y against multi-threaded UIs" into oc-dr1-dev 2017-06-24 04:44:12 +00:00
Jeff Sharkey
a65e6491e4 Progress towards FBE and adoptable storage.
Offer to adopt storage devices on FBE devices, but keep it guarded
behind a system property for now, since we still need to work out key
storage details.

Verify that all users are unlocked before moving apps or shared
storage.  We only need them to be unlocked; we don't need them to
be actually running.

Have PackageManager dump the set of volumes that it's finished
scanning and loading, since otherwise CTS can get excited and race
too far ahead of it.  Add a specific error code to communicate
that users are locked.

Test: cts-tradefed run commandAndExit cts-dev --abi armeabi-v7a -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AdoptableHostTest
Bug: 37436961, 29923055, 25861755, 30230655
Change-Id: I749dc3d8148e1a95d8bc4be56665253ef826d3fe
2017-06-23 16:35:15 -06:00
TreeHugger Robot
ec8c01d767 Merge "Switch formatElapsedTime to use ICU's MeasureFormat" 2017-06-23 21:51:31 +00:00
Ying Xu
12148fa980 Merge "Add flag to wipe eUICC data" into oc-dr1-dev am: 05ce703c87
am: a465181691

Change-Id: I8a54d9ab00223155e473b7ea4683a48def627288
2017-06-23 21:14:22 +00:00
Ying Xu
a465181691 Merge "Add flag to wipe eUICC data" into oc-dr1-dev
am: 05ce703c87

Change-Id: I556f01f7f317e639f8a33a981154721e53a95641
2017-06-23 21:04:25 +00:00
Ying Xu
05ce703c87 Merge "Add flag to wipe eUICC data" into oc-dr1-dev 2017-06-23 20:52:56 +00:00
TreeHugger Robot
6d6bcabd75 Merge "Fix crashes in AppWidgetHost when app_widgets is not supported" 2017-06-23 20:29:36 +00:00
Makoto Onuki
a9dca2483e Log sync details to rotating log files (userdebug/eng only)
Bug 62052247
Test: Manual test with setting debug.synclog to 0 and 1.

Change-Id: I553dc8d3457ae99cbca5bf6a74303b8a8d8817e7
2017-06-23 12:21:58 -07:00
yinxu
f4f9cec234 Add flag to wipe eUICC data
Add a new flag in the DevicePolicyManager so that we can Use
EuiccManager#eraseSubscriptions(PendingIntent) to erase all the carrier data
from eUICC chip if the user choose to "ERASE" from the Android device manager.

Bug: 37277944
Test: E2E
Change-Id: Ia78090a00d956c645725be4fd591e02ded8ec467
2017-06-23 10:56:55 -07:00
Tomasz Wasilczyk
4bd958353e Remove previous implementation of RadioService.
Bug: b/36863239
Test: instrumentalization
Change-Id: Ia56f4aaf7575d83336eaa39df34341bd2f12cbc3
2017-06-23 10:47:28 -07:00
Elijah Taylor
6022aa57d3 Fix crashes in AppWidgetHost when app_widgets is not supported
Even though an app is supposed to declare android.software.app_widgets
when relying on the widgets API, some apps still use this API without
declaring the feature.  Previously AppWidgetHost relied on having an
AppWidgetService available, without checking for feature development
before dereferencing the service.

This stubs out the AppWidgetHost interface when the app_widgets feature
is not available.

Bug: 28847209
Test: run nova launcher, observe no crash

Change-Id: Idaf46de990fffa6c6a03562f8e097c0a6a320c8a
(cherry picked from commit 0536802defc7df6edb22e076b1147d0d919da0f8)
2017-06-23 09:54:09 -07:00
TreeHugger Robot
31ac8dfdc4 Merge "Rate limit notification sounds/vibrations" 2017-06-23 16:43:33 +00:00
Richard Uhler
91702eb391 Fix bug in reporting SwapPss in dumpsys meminfo.
Bug: 29875093
Test: Run dumpsys meminfo -a, verify SwapPss adds up and is non-zero
      for dalvik and native.

Change-Id: I79d0b6a59bf5f4e73f75f0b9540ec0fcc9e23b02
2017-06-23 16:54:25 +01:00
TreeHugger Robot
360eea897f Merge "Remove 'unused' import" 2017-06-23 15:10:12 +00:00
Tomasz Wasilczyk
43953f3412 Merge "Switch to the new Java-based RadioService." 2017-06-23 13:14:02 +00:00
Vladimir Marko
45faa6a41b Merge "Merge "Rename Binder.destroy() to Binder.destroyBinder()." am: a634b38c8e am: 1b4b326128 am: 17bb92fe14" into oc-dr1-dev-plus-aosp
am: 3ec8fd13f8

Change-Id: Ib21b4d3a88558971a51f31f16f9f57e1e54b3fb9
2017-06-23 13:06:38 +00:00
Benjamin Franz
482bb2343f Remove 'unused' import
Unused import android.provider.Settings previously caused checkstyle
script to bark on DevicePolicyManager. Remove the import and update all
usages of it in javadocs.

Bug: 37890361
Test: make docs
Change-Id: I3134d97274b2882060f5172170517ce501d5aafd
2017-06-23 13:49:36 +01:00
Vladimir Marko
8c120b8eb5 Merge "Rename Binder.destroy() to Binder.destroyBinder()." am: a634b38c8e am: 1b4b326128
am: 17bb92fe14

Change-Id: I08ab885e0b4373074e5eba3d36dcbb73c87458dc
2017-06-23 12:45:17 +00:00
Seigo Nonaka
c25c3da8b6 Stop loading other package's font by default.
Since CONTEXT_RESTRICTED is not a default flag of createPackageContext,
we can't rely on it for preventing unexpected font injections.
To protect developers and existing apps from a risk of font injection,
stop loading font from other package's resouce unless the developer
explicitly set CONTEXT_IGNORE_SECURITY.

Bug: 62813533
Bug: 62879353
Test: Manually done
Merged-In: I4442ddc48dadb5c968b444be86038b602074d301
Change-Id: I4442ddc48dadb5c968b444be86038b602074d301
(cherry picked from commit 6d6cd68660)
2017-06-23 12:27:23 +00:00
Vladimir Marko
17bb92fe14 Merge "Rename Binder.destroy() to Binder.destroyBinder()." am: a634b38c8e
am: 1b4b326128

Change-Id: I165243924444f89ee880072c55eba012ccf1d149
2017-06-23 10:55:48 +00:00
Vladimir Marko
a634b38c8e Merge "Rename Binder.destroy() to Binder.destroyBinder()." 2017-06-23 10:36:02 +00:00
Seigo Nonaka
b7773ce875 Stop loading other package's font by default.
Since CONTEXT_RESTRICTED is not a default flag of createPackageContext,
we can't rely on it for preventing unexpected font injections.
To protect developers and existing apps from a risk of font injection,
stop loading font from other package's resouce unless the developer
explicitly set CONTEXT_IGNORE_SECURITY.

Bug: 62813533
Bug: 62879353
Test: Manually done
Merged-In: I4442ddc48dadb5c968b444be86038b602074d301
Change-Id: I4442ddc48dadb5c968b444be86038b602074d301
(cherry picked from commit 6d6cd68660)
2017-06-23 10:02:59 +00:00
Seigo Nonaka
ba12631bba Merge "Stop loading other package's font by default." into oc-dev
am: 824d75e0e1

Change-Id: I5518dbd8b5d8a4548ea00bbfca0e3aee87880ee7
2017-06-23 04:23:44 +00:00
Marie Janssen
9841eb93ab Merge "Bluetooth: minor documentation fix to de-confuse" am: 5a56873612 am: 3205ff1331 am: f71b0bedcf
am: 0444f135c6

Change-Id: I3ab05ce665eee7d2b417f87b38d5cd76bebc535c
2017-06-23 03:56:36 +00:00
Marie Janssen
0444f135c6 Merge "Bluetooth: minor documentation fix to de-confuse" am: 5a56873612 am: 3205ff1331
am: f71b0bedcf

Change-Id: I615f8f2d16d2dd17fcbd5df20378766096631eeb
2017-06-23 03:47:09 +00:00
Marie Janssen
f71b0bedcf Merge "Bluetooth: minor documentation fix to de-confuse" am: 5a56873612
am: 3205ff1331

Change-Id: I0cd44ad8d22da154d0bf666b9075a3fcbc655439
2017-06-23 03:38:17 +00:00
Marie Janssen
5a56873612 Merge "Bluetooth: minor documentation fix to de-confuse" 2017-06-23 03:17:37 +00:00
Badhri Jagan Sridharan
685c3450c6 Merge "Log call to setPortRoles" into oc-dr1-dev am: 025b07c38e
am: 4fd5aff33b

Change-Id: Idad8e4bc9afae725f52ca17f933a0fca28acfd0d
2017-06-23 02:15:26 +00:00
Badhri Jagan Sridharan
4fd5aff33b Merge "Log call to setPortRoles" into oc-dr1-dev
am: 025b07c38e

Change-Id: Icd1d42fd0fb301f68dae38a242760035c1f6dfec
2017-06-23 02:07:57 +00:00
Seigo Nonaka
80f6a985c3 Stop loading other package's font by default.
Since CONTEXT_RESTRICTED is not a default flag of createPackageContext,
we can't rely on it for preventing unexpected font injections.
To protect developers and existing apps from a risk of font injection,
stop loading font from other package's resouce unless the developer
explicitly set CONTEXT_IGNORE_SECURITY.

This CL contains Iac2a6fb3d82ef23d5ca6ee33f4aaa9ed28455271 by manual
merging to handle repository split.

Bug: 62813533
Bug: 62879353
Test: Manually done
Merged-In: I4442ddc48dadb5c968b444be86038b602074d301
Change-Id: I4442ddc48dadb5c968b444be86038b602074d301
2017-06-22 19:07:17 -07:00
TreeHugger Robot
025b07c38e Merge "Log call to setPortRoles" into oc-dr1-dev 2017-06-23 01:58:26 +00:00
Felipe Leme
bad5406547 Improved documentation for AutofillService package: am: 2ef19c1d73 am: 472b4c834f
am: 9485ed3142

Change-Id: I8c0c4f2aa8f2c70cb1611c2afc1f93cc1e81dbc5
2017-06-23 00:53:20 +00:00
Felipe Leme
9485ed3142 Improved documentation for AutofillService package: am: 2ef19c1d73
am: 472b4c834f

Change-Id: I9636c277b82569e6ffa684df26358a6a7c36d3c2
2017-06-23 00:44:47 +00:00
Felipe Leme
472b4c834f Improved documentation for AutofillService package:
am: 2ef19c1d73

Change-Id: Iac283d34da149829a25313d0910f2564b347e332
2017-06-23 00:36:37 +00:00
Felipe Leme
91d763f1b5 Improved documentation for AutofillService package:
am: 2ef19c1d73

Change-Id: I67d6649d4acb84ebb598c1ebceb3c3ed58cfd0c0
2017-06-23 00:36:35 +00:00
Badhri Jagan Sridharan
4641fc3e2a Log call to setPortRoles
Came of bunch of bugs, for instance b/62912250 where some app is
forcing the port role. Logging which package is doing this

Change-Id: I234db3292326d247c82723989b46160fcbd59c10
2017-06-22 16:41:49 -07:00
Tomasz Wasilczyk
25f69f7968 Merge "Rename Broadcast Radio service to avoid confusion with GSM radio." 2017-06-22 23:07:51 +00:00