- Aug 05, 2020
-
-
Tyler Gunn authored
The API contract for createLaunchEmergencyDialerIntent indicates that the return value is @NonNull, however the code clearly can return a null value if either: 1. Telecom is unavailable. 2. There is a remote exception. Since the API just returns a new ACTION_EMERGENCY_DIAL intent with the package name of the emergency dialer (from Telecom string resources), we can provide a reasonable fallback behavior by just returning a new ACTION_EMERGENCY_DIAL intent with no targeted package. The system will still launch the emergency dialer in this case, but if there is a scenario where multiple emergency dialers are installed on a device, the AOSP one may get launched instead. This is, however, better than there being NO emergency dialer launched. Test: Comment out call to Telecom service and verify the AOSP emergency dialer still launches. Bug: 152187752 Fixes: 155097434 Merged-In: I1665d456dace8e41cc035e792f319d98dd07219c Change-Id: I06f8a5bebace5b22822f7bb714e14915126b904f
-
- Jul 29, 2020
-
-
Tom Cherry authored
-
Treehugger Robot authored
-
vichang authored
-
Paul Hu authored
-
Treehugger Robot authored
-
Dan Zhang authored
-
Mark Chien authored
-
Peter Wang authored
Bug: 161483894 Fix: 161483894 Test: N/A Change-Id: I0c916a89591ac88475d25c87f9c08eb0a3dd3147 Merged-In: I0c916a89591ac88475d25c87f9c08eb0a3dd3147
-
Alice Kuo authored
See https://source.android.com/setup/contribute/respectful-code for reference #inclusivefixit Bug: 161896447 Test: NA (Comment only) Change-Id: Id4f72f98d5a5def26d42d112aeb1b67217d38af0
-
Treehugger Robot authored
-
Treehugger Robot authored
-
markchien authored
If dhcp server is obsolete, explicitly stop it to shut down its thread. Bug: 161418295 Test: atest CtsTetheringTest Change-Id: Ic5b876bd23711ec8d832879a7baee0495246b218
-
Junyu Lai authored
-
- Jul 28, 2020
-
-
Treehugger Robot authored
-
Curtis Belmonte authored
See https://source.android.com/setup/contribute/respectful-code for reference Test: Presubmit Bug: 161896447 Change-Id: I7f7dae2bfbcf0fe98f1a716647cb17008495f3cf
-
Tom Cherry authored
Test: build Merged-In: Ie639f57f86c2573cd5e06a1fa9397487f4b3f235 Change-Id: Ie639f57f86c2573cd5e06a1fa9397487f4b3f235
-
Hall Liu authored
-
Curtis Belmonte authored
See https://source.android.com/setup/contribute/respectful-code for reference Test: Presubmit Bug: 161896447 Change-Id: I02fd71bce7deb031a3699ce79121ea4c424fac61
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Curtis Belmonte authored
See https://source.android.com/setup/contribute/respectful-code for reference Test: Presubmit Bug: 161896447 Change-Id: I7fb8abdb8e3ca65d29a40bd7f6f090aefaa0765f
-
Curtis Belmonte authored
See https://source.android.com/setup/contribute/respectful-code for reference Test: Presubmit Bug: 161896447 Change-Id: If0192e33d6d063c7dfda72af1509a3fbd16e3044
-
Curtis Belmonte authored
See https://source.android.com/setup/contribute/respectful-code for reference Change-Id: Iaada83171b81a798db1e7c413e8e0c4d1f3d9a55 Test: Presubmit Bug: 161896447
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Joel Galenson authored
See https://source.android.com/setup/contribute/respectful-code for reference. #inclusivefixit Bug: 161896447 Test: None Change-Id: I1b24350f4e4528ff40ef8d9065a2c5c4251c5059
-
Nathan Harold authored
-
Victor Chang authored
Stop-gap measure to allow TwilightService to fork the implementation of CalendarAstronomer or use its own implementation, and remove the @CorePlatformApi. Bug: 139480281 Bug: 134508682 Test: m droid Change-Id: Id75fefe4f66a386a1c072f8b2e0bdbd0f642bb4b
-
Liz Kammer authored
-
Treehugger Robot authored
-
vichang authored
-
Treehugger Robot authored
-
Chiachang Wang authored
-
paulhu authored
PermissionMonitor check permission by each package name but only update the uid permission to netd. It's better to check permission by uid directly. Thus, use ActivityManager#checkUidPermission to check permissions for each uid. Bug: 132784544 Test: atest FrameworksNetTests Change-Id: I057d34383b4dc408b2773e4c6b146774ba0c5eb2
-
Chiachang Wang authored
See https://source.android.com/setup/contribute/respectful-code for reference. Bug: 161896447 Test: m Change-Id: I6c3c03c0c2d1302af6d5245486823c13a3432900
-
Pavan Kumar M authored
Avoid recording negative data by doing integer-based math as much as possible, but switch to double-based math if we detect that we'd end up causing an overflow. Test : - Builds, Boots - High data throughput scenarios - NetworkStatsHistoryTest, NetworkStatsCollectionTest, NetworkStatsTest Bug: 119527458 Change-Id: I55d4aa649bea3ae201ad513074ff2b71cb918dad
-
Nate Fischer authored
No change to logic, only docs. This removes non-inclusive terminology ("whitelist") from our API javadoc, with the exception of references to setSafeBrowsingWhitelist() (which we plan to deprecate soon, in favor of an inclusively named API). This rephrases one paragraph to be a bit clearer as well. Bug: 160928306 Test: m offline-sdk-docs -j4 Change-Id: If249be8a70b01c01390ebfeb418fd7c5e119f1f2
-