Commit Graph

12 Commits

Author SHA1 Message Date
Hall Liu
60905c039b Merge "API tweaks" am: f3fbbeaa05 am: 4c3e0ccfa5
am: fe12d8de3f

Change-Id: I13342f7735adb24240c4ca34245f93e3d7579d78
2019-03-06 17:17:16 -08:00
Hall Liu
ee609ff1c1 API tweaks
* Make the PhoneAccountSuggestion ctor public
* Change protection level of the bind-suggestion-service permission to
signature-only.

Fixes: 126442573
Fixes: 126442403
Test: CTS
Change-Id: Ic6d44989efd28420a5e9e7e9c365318538d140bb
2019-03-06 11:32:18 -08:00
Wei Sheng Shih
9ec61a3214 Merge "Revert "API tweaks"" am: c61bb461b6 am: 8230f428e4
am: fdc3dc5670

Change-Id: I53aba1bcac7bc5aabba152dcb9f6510befba4f69
2019-03-06 02:02:49 -08:00
Wei Sheng Shih
6042fca3f2 Revert "API tweaks"
This reverts commit f3e0eb8b0c.

Reason for revert: Droid Cop revert this CL due to it cause Cts fail on PermissionPolicyTest.testPlatformPermissionPolicyUnaltered

Change-Id: I062b2b9f25dbf388940930a81fd8e036b82b7f45
2019-03-06 09:15:17 +00:00
Hall Liu
0ff1a805bb Merge "API tweaks" am: 13152049e9 am: cc8f17b2dd
am: aa1483ec38

Change-Id: Id177c76677cbe3c8b0ef6b9a0fcc235ca223c069
2019-03-05 17:49:31 -08:00
Hall Liu
f3e0eb8b0c API tweaks
* Make the PhoneAccountSuggestion ctor public
* Change protection level of the bind-suggestion-service permission to
signature-only.

Fixes: 126442573
Fixes: 126442403
Test: CTS
Change-Id: Ie1616e86df6814e4aa05659d4aa3aca1959519d2
2019-03-04 17:29:52 -08:00
Hall Liu
aa1eee77b3 Merge "API tweaks round 2" am: 3c0a49ec48 am: 87d1b7a83e
am: dfe5bcebd5

Change-Id: Ibec797ea98e43ef450fe6a095550c5c73c4f8604
2019-03-01 17:44:21 -08:00
Jeff Sharkey
9e8f83db6d All Parcelable CREATOR fields are @NonNull.
If they were null, then the Parcelable would fail to work.

Bug: 126726802
Test: manual
Change-Id: I7929ffa2f20e5de1c8e68e8263cca99496e9d014
Exempt-From-Owner-Approval: Trivial API annotations
2019-02-28 23:29:04 -07:00
Hall Liu
1059cd57f0 API tweaks round 2
Add nullability annotations and change a static constant to a method
that returns a value.

Fixes: 126702861
Fixes: 126699926
Fixes: 126698717
Fixes: 126699057
Fixes: 126701443
Fixes: 126700882
Test: compiles
Change-Id: I96396eb8890b8b5148cf74447e08c31983398e47
2019-02-28 18:54:15 -08:00
Hall Liu
7ddcfd698e Enable CTS testing for phone account suggestions
Add TestApi annotation on PhoneAccountSuggestionService and add sensible
equals and hashCode methods to PhoneAccountSuggestions

Bug: 111455117
Test: CTS
Change-Id: I112e350cc637cb086252c53be5e08596e743537d
2018-12-17 15:27:48 -08:00
Hall Liu
34d9e24008 Add docs and more annotations
Add docs to some constants in PhoneAccountSuggestion and add @TestApi
annotations to enable CTS testing for the new APIs.

Test: compiles
Bug: 111455117

Change-Id: I2b55a411ff4f0da37eefa0996f7316ea53bca41d
2018-12-10 18:41:01 -08:00
Hall Liu
066612a910 Add PhoneAccountSuggestion class
Add parcelable data class for the phone acct suggestion feature.

Test: TBD
Bug: 111455117
Change-Id: I6d5368133abfc076ccb2e6ddfff70de8b6a56e8f
2018-12-06 18:19:48 -08:00