32 Commits

Author SHA1 Message Date
Bill Yi
7c22c80a38 Import translations. DO NOT MERGE
Change-Id: I12715892d9848e7a1efac7a7cd990baad91ad550
Auto-generated-cl: translation import
2017-04-11 11:20:51 -07:00
Bill Yi
349a2e84a7 Import translations. DO NOT MERGE
Change-Id: Iec85eee89b58459da6cac37267b31b16fc01d14c
Auto-generated-cl: translation import
2017-04-07 17:38:37 -07:00
fionaxu
009848b03e support notification channel for defaultcarrier app
Apps posting notifications for O must supply a notification channel for
all notifications

Bug: 36895752
Change-Id: I7ec3b4cd8a6ea05c3ca9316d1f79b56e3531f5d0
2017-04-04 17:05:47 -07:00
Bill Yi
c14149a06a Import translations. DO NOT MERGE
Change-Id: I77938df9a45d62d2abf436670857c2a594b1533b
Auto-generated-cl: translation import
2017-03-31 00:29:46 -07:00
Chen Xu
e30227e5b0 Merge "make carrier default app direct boot aware" am: 98ded6c9ab am: 3f26682252
am: 51742e58fc

Change-Id: Ic3f9de6063bb605c87af8d6218c0cf7306d2c5d0
2017-03-27 21:06:09 +00:00
Chen Xu
98ded6c9ab Merge "make carrier default app direct boot aware" 2017-03-27 20:45:14 +00:00
fionaxu
68a9b0ff73 make carrier default app direct boot aware
when device is not ready (based on user state), broadcast will only be
delivered to components which are direct boot aware.
mark default carrier app to be direct boot aware to avoid missing
important redirection signal during booting.

Bug:34628643
Test: Manaul
Change-Id: I1893f9ffb6e805d1a41704f61fbaa1f16e500e1d
2017-03-24 13:08:22 -07:00
Bill Yi
2d7e6dbb54 Import translations. DO NOT MERGE
Change-Id: Iacdf71ff60d8b5419e40bbb2e3930c5b83dd5cee
Auto-generated-cl: translation import
2017-03-23 00:34:50 -07:00
Bill Yi
215fd28022 Import translations. DO NOT MERGE
Change-Id: I820e686def44fb4442c531f0c7fac97094fc8af4
Auto-generated-cl: translation import
2017-03-18 01:21:03 -07:00
Chen Xu
e3ece71f2e Merge "integrate portal webview to the default app" 2017-03-15 23:52:53 +00:00
TreeHugger Robot
57240e8415 Merge "integrate portal webview to the default app" 2017-03-15 23:24:57 +00:00
fionaxu
da578042ae integrate portal webview to the default app
Based on the UX review feedback, we plan to implement portal webview
function inside the carrier default app instead of reusing the existing
portal app. This will give us more flexibility and control, also will
improve UX flow by getting rid of the some unwanted dialogues.

Test: Manual
Bug: 36002256
Change-Id: I2627d5a43039ce433006c058bb4f2c1a39113e59
2017-03-15 14:42:55 -07:00
fionaxu
6bb41a42cb integrate portal webview to the default app
Based on the UX review feedback, we plan to implement portal webview
function inside the carrier default app instead of reusing the existing
portal app. This will give us more flexibility and control, also will
improve UX flow by getting rid of the some unwanted dialogues.

new added CaptivePortalLoginActivity is a copy paste from
com.android.captiveportallogin/CaptivePortalLoginActivity combined
with logic from deleted LaunchCaptivePortalActivity.
All webview UI was inherited from com.android.captiveportal

Test: Manual
Bug: 36002256
Merged-in: I2627d5a43039ce433006c058bb4f2c1a39113e59
Change-Id: If422fa12c5f24d9b9e2c9380b3edf94df74bb85f
2017-03-15 14:38:43 -07:00
fionaxu
5b30456b44 Merge "carrier default app notification polish" am: b2bb98e62d am: 921a49f7f8
am: 7c825ee40d

Change-Id: I2542b486de47071837407d1bb94ba89da0fb283a
2017-03-14 01:20:28 +00:00
fionaxu
7c4ad78907 carrier default app notification polish
change notification string and app name

Bug: 36002256
Test: Manual
Change-Id: Iec2658850522585157bdc7edd7330ac930bf751d
2017-03-13 16:09:43 -07:00
Bill Yi
3eb9000125 Import translations. DO NOT MERGE
Change-Id: I1606efdce763711b8a663ab176bc2470fb9937a7
Auto-generated-cl: translation import
2017-03-12 06:05:26 -07:00
fionaxu
19d1e1d09d Merge "polish the notification of the default carrier app" am: b224b318a0 am: 64e0d4553b
am: b920519c91

Change-Id: Idb6513f6706bed29caa616aa08e3bd16778930ae
2017-03-10 10:04:00 +00:00
fionaxu
2dffa5c5ed Merge "decouple carrierdefaultapp from phone process" am: e32fc81c5d am: 1fdd29d799
am: 780c1cc26d

Change-Id: Ib46becf994bba0c18b4a58af494331baa0c78959
2017-03-10 09:54:53 +00:00
Treehugger Robot
b224b318a0 Merge "polish the notification of the default carrier app" 2017-03-10 09:44:02 +00:00
fionaxu
91009327d2 decouple carrierdefaultapp from phone process
Bug: 36114351
Test: Manual
Change-Id: I679d97bd9854fe478499d1fac6225c3f954ecdbc
2017-03-09 23:59:15 -08:00
fionaxu
5b834a8208 polish the notification of the default carrier app
Based on the feedbacks from UX review
- modified notificaiton icon
- modified notification content text
- modified notification app name
- modified notification color

Test: Manual
Bug: 36002256
Change-Id: Icf13ea41fc88fb7b15f2b1c29fd3551fd3351819
2017-03-06 14:25:24 -08:00
Chen Xu
44fa5c3346 Merge "renaming telephony internal hidden intents" am: 09c663a84c am: 979e4690ec
am: 201320492c

Change-Id: I4e37359a98fb8ecdff63b45a54f08b61e7be25ad
2017-02-23 04:15:28 +00:00
TreeHugger Robot
ab7bc7afd7 Merge "Updated some internal apps to use TYPE_APPLICATION_OVERLAY" 2017-02-22 20:53:33 +00:00
Wale Ogunwale
791a887701 Updated some internal apps to use TYPE_APPLICATION_OVERLAY
TYPE_SYSTEM_ALERT is deprecated as of O.

Test: builds
Change-Id: Ic335ff0aa2f0356737c2e67debe8e71ea9eb2f41
2017-02-22 10:47:26 -08:00
Bill Yi
34d71e48c6 Import translations. DO NOT MERGE
Change-Id: If48c638ad46ea1c051b42cd45446ee8c8b811a61
Auto-generated-cl: translation import
2017-02-22 03:52:56 -08:00
Bill Yi
8a934a2454 Import translations. DO NOT MERGE
Change-Id: I3fb0605acf60b1bed44058c9013d6e7ed3c9b3f0
Auto-generated-cl: translation import
2017-02-16 19:52:15 -08:00
fionaxu
b80c879c91 renaming telephony internal hidden intents
The "android.*" namespace for intent constants is reserved for public
Android API in AOSP. (Whether public to the full SDK, @SystemApi or
defined in AOSP support libraries.) Implementation details of AOSP
components (subject to change by OEMs at will) should use the
"com.android.internal.*" as per CDD

Bug: 33679454
Test: manual
Change-Id: I72ed2760a6ddb0bba61cc8041cea57d5f28b7c15
2017-02-15 15:42:23 -08:00
Bill Yi
493f9c4893 Import translations. DO NOT MERGE
Change-Id: I51010554d0b8e46a3b4541bdce9323cfb01e107d
Auto-generated-cl: translation import
2017-01-30 19:21:33 -08:00
Bill Yi
871721b868 Import translations. DO NOT MERGE
Change-Id: I727384c4c6570b4f6674db37eb9193f462aa4fd2
Auto-generated-cl: translation import
2017-01-25 16:25:56 -08:00
fionaxu
72ee500527 support suw and post-suw cases for default app
- our default carrier actions might not compatible with suw since data might be disabled
without surfacing users with an option to activate inside SuW.
- instead, skip carrier actions during setupwizard and schedule a job to resume carrier actions if needed when exit suw.
- use jobscheduler to monitor provision bit instead of keep the app running and listen for content change asynchronously.

Bug: 30958215
Test: Manual

Change-Id: Ie4004b46405b914158f585059d332f4e694053f3
2017-01-23 16:28:39 -08:00
Paul Duffin
ccb0445027 Prepare for removal of legacy-test from default targets
In preparation for removing junit classes from the Android API
the legacy-test target will be removed from the
TARGET_DEFAULT_JAVA_LIBRARIES. This change adds explicit
dependencies on junit and/or legacy-android-test to ensure that
modules will compile properly once it is removed.

(cherry picked from 6387604f9e672ece85e07c4bcbd7be396867f06f)

Bug: 30188076
Test: make checkbuild
Merged-In: I13e88297731253420e4e5f5291d503f13a39a156
Change-Id: I58446eb8c45d8ac2bcdbc9fa40d1321e811bdd4b
2017-01-19 09:43:05 +00:00
fionaxu
a21a87b7a4 Default Carrier app for traffic mitigation
- have the basic function working, support traffic mitigation and
  captive portal login
- support carrier customization, OEM could configure a list of carrier
  actions to act upon certain signals
- unit test

Test: Manual test with live sim card & runtest --path
frameworks/base/packages/CarrierDefaultApp
Bug: 30958215

Change-Id: Ie99be3b95e8a1dd60fc51bef703836478fbde09d
2017-01-12 15:50:18 -08:00