History log of /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/CarrierAppUtilsTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3aab0a4e86bf59165a784104f4297f3a3388803f 21-Jul-2016 Jeff Davidson <jpd@google.com> Updated tests and callers for carrier "associated" apps.

Bug: 30141427
Change-Id: I15a4a04983e80e7d8c1b212ed6654ae5b6b3a0bf
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/CarrierAppUtilsTest.java
b548a8c87b4dd20f4a2f41fc339a0d41c3612bc3 07-Apr-2016 Jeff Davidson <jpd@google.com> Test disabling carrier apps with null TelephonyManager.

Bug: 27821069
Change-Id: Icd4e35dae7a684674ffe9e8e270ebedcfc4c02c4
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/CarrierAppUtilsTest.java
8fa6dfb2cbdc35ea4d70add3f8d9172d2e18d650 04-Feb-2016 Amit Mahajan <amitmahajan@google.com> Add annotations to tests to enable continuous testing.

Bug: 25691379
Change-Id: Ibe66bf70b68983fa09a842933467379eefde518f
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/CarrierAppUtilsTest.java
286fc2211b36fb3b7766f2a8e090b356427c2bc1 07-Jul-2015 Jeff Davidson <jpd@google.com> Don't toggle app state for updated system apps.

The default carrier app logic to disable/enable apps depending on the
SIM state should only apply to the copy of the app on /system. Once
the app has been updated via /data, we should leave the enabled
setting as the default (though we should still grant carrier
privileges as needed in this case).

Otherwise we may unexpectedly disable a previously enabled app if it
is updated and then the SIM state changes or device reboots at a time
when the SIM isn't loaded.

Bug: 22321187
Change-Id: Ia7281c5a174bd32fc4d63375603ace0b29794894
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/CarrierAppUtilsTest.java
1d744e15a15081c74b96513ed1cc95a1739087bb 07-Jul-2015 Jeff Davidson <jpd@google.com> Don't kill carrier app when enabling it.

There's no reason to do this, and if the app is running it will cause
it to suddenly close despite already being enabled.

Bug: 22306627
Change-Id: Ic37ad74f92d50d49b329b8fb70ea171ff447091b
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/CarrierAppUtilsTest.java
3c76dc89272d7b515d8afda1e7e9f7f362ef3caa 29-Jun-2015 Svet Ganov <svetoslavganov@google.com> Grant default permissons to the default SMS, Phone, Browser app.

bug:22104986

Change-Id: Idcbe85c43f995bdf37e7291c9384eb181560872d
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/CarrierAppUtilsTest.java
314fa4be00cb94d2617554351e13eafa0380b411 25-Jun-2015 Jeff Davidson <jpd@google.com> Always regrant default permissions even if app is enabled.

We can safely skip the call to setApplicationEnabledSetting in this
case, but we should still call grantDefaultPermissions to ensure that
we re-evaluate defaults when the carrier privilege rules has changed.

This fixes userdebug OTAs where the permissions are cleared, as we
were not re-granting them after the SIM was inserted, but it is safer
in general.

Bug: 22088420
Change-Id: Ied518653790e1fbf026cd3f0ec4de22e3b21f0ba
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/CarrierAppUtilsTest.java
03540ca93e3e59fd3cb826bb71716e54cb9dd095 23-Jun-2015 Jeff Davidson <jpd@google.com> Default permissions for carrier apps.

Provide the current list of carrier apps to PackageManager when we are
queried for them as part of granting default permissions. Trigger an
evaluation of default permissions whenever we are enabling a new
carrier app due to a change in SIM state (e.g. new carrier privilege
rules).

Bug: 21696731
Change-Id: I3d6d61712acb554878edeb5ee172887da16ef851
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/CarrierAppUtilsTest.java
0cdc53a095b5e715b9730f78dbd80d160fdd665f 19-Jun-2015 Jeff Davidson <jpd@google.com> Disable carrier apps until needed per the SIM.

Similar to how InputMethodManagerService marks IME apps as
DISABLED_UNTIL_USED except for apps being used as IMEs, we mark
carrier apps bundled with the system as DISABLED_UNTIL_USED until a
SIM that marks those apps as privileged is inserted.

Bug: 21814643
Change-Id: I24006039c18f2b0ad01019d3bb27c1344f97d53c
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/CarrierAppUtilsTest.java